Why Object doesn' t support this property or method in Javascript?

Source: Internet
Author: User

Recently, I developed the web camera application using Flex 3.

But, a bug from IE browser's cache wasted me about 4 hours. the short description of bug are:

 

I have developed the swf application embeded in my page of SamplePage. aspx. then I updated swf file in the web server directory.

When those job done, I reopen SamplePage. aspx and access swf property using Javascript code. there is exception popup"Object doesn' t support this property or method".

 

To fixed the problem, I make correct, recompile, check syntax both in ActionScript and Javascript, bla... Bla... Bla ..... The exception still exist.

What's happened?

An idea be came up with after I had went home, it may be caused by browser's cache.

Yes, I deleted the browser's cache, then all thing go right.

 

In the case, I sumarize the following check list.

1, Check spelling.

2, Clean the browser's cache before you testing a page.

2. Relax yourself when you have no idea on a bug.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.