Re: [Flashcoders] ExternalInterface.call -> javascript error
Also have you checked that the allowScriptAccess parameter on the object tag is set appropriately (i.e., 'sameDomain' or 'always', depending on your case). -- Vishal On 1/23/07, Nick Zotta <[EMAIL PROTECTED]> wrote: Hello flashcoders, Does anyone know the cause of the javascript error: "Object doesn't support this property or method" when using ExternalInterface.call() to comunicate between Flash and Javascript? My javascript function is triggered, but before executing its actions, a javascript error popup appears with the message :"Object doesn't support this property or method". Even if the javascript function is blank (nothing to execute), the javascript error still appears. No javascript error in Firefox or Opera, but only in IE (6 and 7). I get this error both locally and on the webserver. All the tests were made with FlashPlayer 9. Thanks a lot, Nick ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] ExternalInterface.call -> javascript error
Thanks for your observation about the "small capital letters" :) ... my mistake :) but are you programmers? ... I don't think so. Sorry, couldn't resist :P On 1/23/07, Mick G <[EMAIL PROTECTED]> wrote: "My swf filename only contains small capital letters." Yes but how do you get small caps into a filename??? ;) On 1/23/07, Zeh Fernando <[EMAIL PROTECTED]> wrote: > > But they have. There are "capital" glyphs, and "small capital" glyphs > (smallcaps). They're not capital glyphs with a different size, mind you, > as there's change in shape size but not in weight. > > http://en.wikipedia.org/wiki/Smallcaps > > The more you learn... > > > > Zeh > > > > "small capital letters"? I didn't know capital letters had sizes! =P > > Sorry, couldn't resist. Intelligent discussion may now continue. :) > > > > -Andy > > > > On 1/23/07, Nick Zotta <[EMAIL PROTECTED]> wrote: > >> Thanks for the link, I've already seen this bug on the net, but it is > >> not my case. My swf filename only contains small capital letters. > >> > >> > >> > >> > >> On 1/23/07, Mick G <[EMAIL PROTECTED]> wrote: > >> > Try looking into this JS/Flash bug - it's a strange one but gets me > >> once and > >> > a while... > >> > > >> > http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=4b687833 > >> > > >> > > >> > > >> > On 1/23/07, Nick Zotta <[EMAIL PROTECTED]> wrote: > >> > > > >> > > I created my own swfobject kind of javascript class that uses > >> > > document.write() to put my SWF object into web page. IDs and NAMEs > >> are > >> > > unique. > >> > > > >> > > > >> > > > >> > > On 1/23/07, John VanHorn <[EMAIL PROTECTED]> wrote: > >> > > > also, make sure that the id/name of the object/embed tag is > >> unique in > >> > > the > >> > > > dom. id conflicts between two elements will give you this error, > >> too. > >> > > how > >> > > > are you embedding your swf? object/embed tags? swfobject? > >> > > > > >> > > > On 1/23/07, Nick Zotta <[EMAIL PROTECTED]> wrote: > >> > > > > > >> > > > > Hello flashcoders, > >> > > > > > >> > > > > Does anyone know the cause of the javascript error: "Object > >> doesn't > >> > > > > support this property or method" when using > >> ExternalInterface.call() > >> > > > > to comunicate between Flash and Javascript? My javascript > >> function is > >> > > > > triggered, but before executing its actions, a javascript > >> error popup > >> > > > > appears with the message :"Object doesn't support this > >> property or > >> > > > > method". Even if the javascript function is blank (nothing to > >> > > > > execute), the javascript error still appears. > >> > > > > No javascript error in Firefox or Opera, but only in IE (6 and > >> 7). > >> > > > > I get this error both locally and on the webserver. > >> > > > > All the tests were made with FlashPlayer 9. > >> > > > > > >> > > > > Thanks a lot, > >> > > > > > >> > > > > Nick > >> > > > > ___ > >> > > > > Flashcoders@chattyfig.figleaf.com > >> > > > > To change your subscription options or search the archive: > >> > > > > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > >> > > > > > >> > > > > Brought to you by Fig Leaf Software > >> > > > > Premier Authorized Adobe Consulting and Training > >> > > > > http://www.figleaf.com > >> > > > > http://training.figleaf.com > >> > > > > > >> > > > > >> > > > > >> > > > > >> > > > -- > >> > > > John Van Horn > >> > > > [EMAIL PROTECTED] > >> > > > ___ > >> > > > Flashcoders@chattyfig.figleaf.com > >> > > > To change your subscription options or search the archive: > >> > > > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > >> > > > > >> > > > Brought to you by Fig Leaf Software > >> > > > Premier Authorized Adobe Consulting and Training > >> > > > http://www.figleaf.com > >> > > > http://training.figleaf.com > >> > > > > >> > > ___ > >> > > Flashcoders@chattyfig.figleaf.com > >> > > To change your subscription options or search the archive: > >> > > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > >> > > > >> > > Brought to you by Fig Leaf Software > >> > > Premier Authorized Adobe Consulting and Training > >> > > http://www.figleaf.com > >> > > http://training.figleaf.com > >> > > > >> > ___ > >> > Flashcoders@chattyfig.figleaf.com > >> > To change your subscription options or search the archive: > >> > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > >> > > >> > Brought to you by Fig Leaf Software > >> > Premier Authorized Adobe Consulting and Training > >> > http://www.figleaf.com > >> > http://training.figleaf.com > >> > > >> ___ > >> Flashcoders@chattyfig.figleaf.com > >> To change your subscription options or search the archive: > >> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > >> > >> Brought to you by Fig Leaf Software > >> Premier A
Re: [Flashcoders] ExternalInterface.call -> javascript error
"My swf filename only contains small capital letters." Yes but how do you get small caps into a filename??? ;) On 1/23/07, Zeh Fernando <[EMAIL PROTECTED]> wrote: But they have. There are "capital" glyphs, and "small capital" glyphs (smallcaps). They're not capital glyphs with a different size, mind you, as there's change in shape size but not in weight. http://en.wikipedia.org/wiki/Smallcaps The more you learn... Zeh > "small capital letters"? I didn't know capital letters had sizes! =P > Sorry, couldn't resist. Intelligent discussion may now continue. :) > > -Andy > > On 1/23/07, Nick Zotta <[EMAIL PROTECTED]> wrote: >> Thanks for the link, I've already seen this bug on the net, but it is >> not my case. My swf filename only contains small capital letters. >> >> >> >> >> On 1/23/07, Mick G <[EMAIL PROTECTED]> wrote: >> > Try looking into this JS/Flash bug - it's a strange one but gets me >> once and >> > a while... >> > >> > http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=4b687833 >> > >> > >> > >> > On 1/23/07, Nick Zotta <[EMAIL PROTECTED]> wrote: >> > > >> > > I created my own swfobject kind of javascript class that uses >> > > document.write() to put my SWF object into web page. IDs and NAMEs >> are >> > > unique. >> > > >> > > >> > > >> > > On 1/23/07, John VanHorn <[EMAIL PROTECTED]> wrote: >> > > > also, make sure that the id/name of the object/embed tag is >> unique in >> > > the >> > > > dom. id conflicts between two elements will give you this error, >> too. >> > > how >> > > > are you embedding your swf? object/embed tags? swfobject? >> > > > >> > > > On 1/23/07, Nick Zotta <[EMAIL PROTECTED]> wrote: >> > > > > >> > > > > Hello flashcoders, >> > > > > >> > > > > Does anyone know the cause of the javascript error: "Object >> doesn't >> > > > > support this property or method" when using >> ExternalInterface.call() >> > > > > to comunicate between Flash and Javascript? My javascript >> function is >> > > > > triggered, but before executing its actions, a javascript >> error popup >> > > > > appears with the message :"Object doesn't support this >> property or >> > > > > method". Even if the javascript function is blank (nothing to >> > > > > execute), the javascript error still appears. >> > > > > No javascript error in Firefox or Opera, but only in IE (6 and >> 7). >> > > > > I get this error both locally and on the webserver. >> > > > > All the tests were made with FlashPlayer 9. >> > > > > >> > > > > Thanks a lot, >> > > > > >> > > > > Nick >> > > > > ___ >> > > > > Flashcoders@chattyfig.figleaf.com >> > > > > To change your subscription options or search the archive: >> > > > > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders >> > > > > >> > > > > Brought to you by Fig Leaf Software >> > > > > Premier Authorized Adobe Consulting and Training >> > > > > http://www.figleaf.com >> > > > > http://training.figleaf.com >> > > > > >> > > > >> > > > >> > > > >> > > > -- >> > > > John Van Horn >> > > > [EMAIL PROTECTED] >> > > > ___ >> > > > Flashcoders@chattyfig.figleaf.com >> > > > To change your subscription options or search the archive: >> > > > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders >> > > > >> > > > Brought to you by Fig Leaf Software >> > > > Premier Authorized Adobe Consulting and Training >> > > > http://www.figleaf.com >> > > > http://training.figleaf.com >> > > > >> > > ___ >> > > Flashcoders@chattyfig.figleaf.com >> > > To change your subscription options or search the archive: >> > > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders >> > > >> > > Brought to you by Fig Leaf Software >> > > Premier Authorized Adobe Consulting and Training >> > > http://www.figleaf.com >> > > http://training.figleaf.com >> > > >> > ___ >> > Flashcoders@chattyfig.figleaf.com >> > To change your subscription options or search the archive: >> > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders >> > >> > Brought to you by Fig Leaf Software >> > Premier Authorized Adobe Consulting and Training >> > http://www.figleaf.com >> > http://training.figleaf.com >> > >> ___ >> Flashcoders@chattyfig.figleaf.com >> To change your subscription options or search the archive: >> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders >> >> Brought to you by Fig Leaf Software >> Premier Authorized Adobe Consulting and Training >> http://www.figleaf.com >> http://training.figleaf.com >> > ___ > Flashcoders@chattyfig.figleaf.com > To change your subscription options or search the archive: > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > Brought to you by Fig Leaf Software > Premier Authorized Adobe Consulting and Training > http://www.figleaf.com > http://training.figleaf.com >
Re: [Flashcoders] ExternalInterface.call -> javascript error
But they have. There are "capital" glyphs, and "small capital" glyphs (smallcaps). They're not capital glyphs with a different size, mind you, as there's change in shape size but not in weight. http://en.wikipedia.org/wiki/Smallcaps The more you learn... Zeh "small capital letters"? I didn't know capital letters had sizes! =P Sorry, couldn't resist. Intelligent discussion may now continue. :) -Andy On 1/23/07, Nick Zotta <[EMAIL PROTECTED]> wrote: Thanks for the link, I've already seen this bug on the net, but it is not my case. My swf filename only contains small capital letters. On 1/23/07, Mick G <[EMAIL PROTECTED]> wrote: > Try looking into this JS/Flash bug - it's a strange one but gets me once and > a while... > > http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=4b687833 > > > > On 1/23/07, Nick Zotta <[EMAIL PROTECTED]> wrote: > > > > I created my own swfobject kind of javascript class that uses > > document.write() to put my SWF object into web page. IDs and NAMEs are > > unique. > > > > > > > > On 1/23/07, John VanHorn <[EMAIL PROTECTED]> wrote: > > > also, make sure that the id/name of the object/embed tag is unique in > > the > > > dom. id conflicts between two elements will give you this error, too. > > how > > > are you embedding your swf? object/embed tags? swfobject? > > > > > > On 1/23/07, Nick Zotta <[EMAIL PROTECTED]> wrote: > > > > > > > > Hello flashcoders, > > > > > > > > Does anyone know the cause of the javascript error: "Object doesn't > > > > support this property or method" when using ExternalInterface.call() > > > > to comunicate between Flash and Javascript? My javascript function is > > > > triggered, but before executing its actions, a javascript error popup > > > > appears with the message :"Object doesn't support this property or > > > > method". Even if the javascript function is blank (nothing to > > > > execute), the javascript error still appears. > > > > No javascript error in Firefox or Opera, but only in IE (6 and 7). > > > > I get this error both locally and on the webserver. > > > > All the tests were made with FlashPlayer 9. > > > > > > > > Thanks a lot, > > > > > > > > Nick > > > > ___ > > > > Flashcoders@chattyfig.figleaf.com > > > > To change your subscription options or search the archive: > > > > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > > > > > > > Brought to you by Fig Leaf Software > > > > Premier Authorized Adobe Consulting and Training > > > > http://www.figleaf.com > > > > http://training.figleaf.com > > > > > > > > > > > > > > > > -- > > > John Van Horn > > > [EMAIL PROTECTED] > > > ___ > > > Flashcoders@chattyfig.figleaf.com > > > To change your subscription options or search the archive: > > > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > > > > > Brought to you by Fig Leaf Software > > > Premier Authorized Adobe Consulting and Training > > > http://www.figleaf.com > > > http://training.figleaf.com > > > > > ___ > > Flashcoders@chattyfig.figleaf.com > > To change your subscription options or search the archive: > > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > > > Brought to you by Fig Leaf Software > > Premier Authorized Adobe Consulting and Training > > http://www.figleaf.com > > http://training.figleaf.com > > > ___ > Flashcoders@chattyfig.figleaf.com > To change your subscription options or search the archive: > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > Brought to you by Fig Leaf Software > Premier Authorized Adobe Consulting and Training > http://www.figleaf.com > http://training.figleaf.com > ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] ExternalInterface.call -> javascript error
"small capital letters"? I didn't know capital letters had sizes! =P Sorry, couldn't resist. Intelligent discussion may now continue. :) -Andy On 1/23/07, Nick Zotta <[EMAIL PROTECTED]> wrote: Thanks for the link, I've already seen this bug on the net, but it is not my case. My swf filename only contains small capital letters. On 1/23/07, Mick G <[EMAIL PROTECTED]> wrote: > Try looking into this JS/Flash bug - it's a strange one but gets me once and > a while... > > http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=4b687833 > > > > On 1/23/07, Nick Zotta <[EMAIL PROTECTED]> wrote: > > > > I created my own swfobject kind of javascript class that uses > > document.write() to put my SWF object into web page. IDs and NAMEs are > > unique. > > > > > > > > On 1/23/07, John VanHorn <[EMAIL PROTECTED]> wrote: > > > also, make sure that the id/name of the object/embed tag is unique in > > the > > > dom. id conflicts between two elements will give you this error, too. > > how > > > are you embedding your swf? object/embed tags? swfobject? > > > > > > On 1/23/07, Nick Zotta <[EMAIL PROTECTED]> wrote: > > > > > > > > Hello flashcoders, > > > > > > > > Does anyone know the cause of the javascript error: "Object doesn't > > > > support this property or method" when using ExternalInterface.call() > > > > to comunicate between Flash and Javascript? My javascript function is > > > > triggered, but before executing its actions, a javascript error popup > > > > appears with the message :"Object doesn't support this property or > > > > method". Even if the javascript function is blank (nothing to > > > > execute), the javascript error still appears. > > > > No javascript error in Firefox or Opera, but only in IE (6 and 7). > > > > I get this error both locally and on the webserver. > > > > All the tests were made with FlashPlayer 9. > > > > > > > > Thanks a lot, > > > > > > > > Nick > > > > ___ > > > > Flashcoders@chattyfig.figleaf.com > > > > To change your subscription options or search the archive: > > > > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > > > > > > > Brought to you by Fig Leaf Software > > > > Premier Authorized Adobe Consulting and Training > > > > http://www.figleaf.com > > > > http://training.figleaf.com > > > > > > > > > > > > > > > > -- > > > John Van Horn > > > [EMAIL PROTECTED] > > > ___ > > > Flashcoders@chattyfig.figleaf.com > > > To change your subscription options or search the archive: > > > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > > > > > Brought to you by Fig Leaf Software > > > Premier Authorized Adobe Consulting and Training > > > http://www.figleaf.com > > > http://training.figleaf.com > > > > > ___ > > Flashcoders@chattyfig.figleaf.com > > To change your subscription options or search the archive: > > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > > > Brought to you by Fig Leaf Software > > Premier Authorized Adobe Consulting and Training > > http://www.figleaf.com > > http://training.figleaf.com > > > ___ > Flashcoders@chattyfig.figleaf.com > To change your subscription options or search the archive: > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > Brought to you by Fig Leaf Software > Premier Authorized Adobe Consulting and Training > http://www.figleaf.com > http://training.figleaf.com > ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] ExternalInterface.call -> javascript error
Thanks for the link, I've already seen this bug on the net, but it is not my case. My swf filename only contains small capital letters. On 1/23/07, Mick G <[EMAIL PROTECTED]> wrote: Try looking into this JS/Flash bug - it's a strange one but gets me once and a while... http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=4b687833 On 1/23/07, Nick Zotta <[EMAIL PROTECTED]> wrote: > > I created my own swfobject kind of javascript class that uses > document.write() to put my SWF object into web page. IDs and NAMEs are > unique. > > > > On 1/23/07, John VanHorn <[EMAIL PROTECTED]> wrote: > > also, make sure that the id/name of the object/embed tag is unique in > the > > dom. id conflicts between two elements will give you this error, too. > how > > are you embedding your swf? object/embed tags? swfobject? > > > > On 1/23/07, Nick Zotta <[EMAIL PROTECTED]> wrote: > > > > > > Hello flashcoders, > > > > > > Does anyone know the cause of the javascript error: "Object doesn't > > > support this property or method" when using ExternalInterface.call() > > > to comunicate between Flash and Javascript? My javascript function is > > > triggered, but before executing its actions, a javascript error popup > > > appears with the message :"Object doesn't support this property or > > > method". Even if the javascript function is blank (nothing to > > > execute), the javascript error still appears. > > > No javascript error in Firefox or Opera, but only in IE (6 and 7). > > > I get this error both locally and on the webserver. > > > All the tests were made with FlashPlayer 9. > > > > > > Thanks a lot, > > > > > > Nick > > > ___ > > > Flashcoders@chattyfig.figleaf.com > > > To change your subscription options or search the archive: > > > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > > > > > Brought to you by Fig Leaf Software > > > Premier Authorized Adobe Consulting and Training > > > http://www.figleaf.com > > > http://training.figleaf.com > > > > > > > > > > > -- > > John Van Horn > > [EMAIL PROTECTED] > > ___ > > Flashcoders@chattyfig.figleaf.com > > To change your subscription options or search the archive: > > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > > > Brought to you by Fig Leaf Software > > Premier Authorized Adobe Consulting and Training > > http://www.figleaf.com > > http://training.figleaf.com > > > ___ > Flashcoders@chattyfig.figleaf.com > To change your subscription options or search the archive: > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > Brought to you by Fig Leaf Software > Premier Authorized Adobe Consulting and Training > http://www.figleaf.com > http://training.figleaf.com > ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] ExternalInterface.call -> javascript error
Try looking into this JS/Flash bug - it's a strange one but gets me once and a while... http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=4b687833 On 1/23/07, Nick Zotta <[EMAIL PROTECTED]> wrote: I created my own swfobject kind of javascript class that uses document.write() to put my SWF object into web page. IDs and NAMEs are unique. On 1/23/07, John VanHorn <[EMAIL PROTECTED]> wrote: > also, make sure that the id/name of the object/embed tag is unique in the > dom. id conflicts between two elements will give you this error, too. how > are you embedding your swf? object/embed tags? swfobject? > > On 1/23/07, Nick Zotta <[EMAIL PROTECTED]> wrote: > > > > Hello flashcoders, > > > > Does anyone know the cause of the javascript error: "Object doesn't > > support this property or method" when using ExternalInterface.call() > > to comunicate between Flash and Javascript? My javascript function is > > triggered, but before executing its actions, a javascript error popup > > appears with the message :"Object doesn't support this property or > > method". Even if the javascript function is blank (nothing to > > execute), the javascript error still appears. > > No javascript error in Firefox or Opera, but only in IE (6 and 7). > > I get this error both locally and on the webserver. > > All the tests were made with FlashPlayer 9. > > > > Thanks a lot, > > > > Nick > > ___ > > Flashcoders@chattyfig.figleaf.com > > To change your subscription options or search the archive: > > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > > > Brought to you by Fig Leaf Software > > Premier Authorized Adobe Consulting and Training > > http://www.figleaf.com > > http://training.figleaf.com > > > > > > -- > John Van Horn > [EMAIL PROTECTED] > ___ > Flashcoders@chattyfig.figleaf.com > To change your subscription options or search the archive: > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > Brought to you by Fig Leaf Software > Premier Authorized Adobe Consulting and Training > http://www.figleaf.com > http://training.figleaf.com > ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] ExternalInterface.call -> javascript error
I created my own swfobject kind of javascript class that uses document.write() to put my SWF object into web page. IDs and NAMEs are unique. On 1/23/07, John VanHorn <[EMAIL PROTECTED]> wrote: also, make sure that the id/name of the object/embed tag is unique in the dom. id conflicts between two elements will give you this error, too. how are you embedding your swf? object/embed tags? swfobject? On 1/23/07, Nick Zotta <[EMAIL PROTECTED]> wrote: > > Hello flashcoders, > > Does anyone know the cause of the javascript error: "Object doesn't > support this property or method" when using ExternalInterface.call() > to comunicate between Flash and Javascript? My javascript function is > triggered, but before executing its actions, a javascript error popup > appears with the message :"Object doesn't support this property or > method". Even if the javascript function is blank (nothing to > execute), the javascript error still appears. > No javascript error in Firefox or Opera, but only in IE (6 and 7). > I get this error both locally and on the webserver. > All the tests were made with FlashPlayer 9. > > Thanks a lot, > > Nick > ___ > Flashcoders@chattyfig.figleaf.com > To change your subscription options or search the archive: > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > Brought to you by Fig Leaf Software > Premier Authorized Adobe Consulting and Training > http://www.figleaf.com > http://training.figleaf.com > -- John Van Horn [EMAIL PROTECTED] ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] ExternalInterface.call -> javascript error
also, make sure that the id/name of the object/embed tag is unique in the dom. id conflicts between two elements will give you this error, too. how are you embedding your swf? object/embed tags? swfobject? On 1/23/07, Nick Zotta <[EMAIL PROTECTED]> wrote: Hello flashcoders, Does anyone know the cause of the javascript error: "Object doesn't support this property or method" when using ExternalInterface.call() to comunicate between Flash and Javascript? My javascript function is triggered, but before executing its actions, a javascript error popup appears with the message :"Object doesn't support this property or method". Even if the javascript function is blank (nothing to execute), the javascript error still appears. No javascript error in Firefox or Opera, but only in IE (6 and 7). I get this error both locally and on the webserver. All the tests were made with FlashPlayer 9. Thanks a lot, Nick ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com -- John Van Horn [EMAIL PROTECTED] ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
RE: [Flashcoders] ExternalInterface.call -> javascript error
Nick, I get that error whenever my JavaScript references an ActionScript function that isn't specified as a callback function. In other words, if the JavaScript says: myFlashMovie.getFoo(); Then the ActionScript inside myFlashMovie needs to say: ExternalInterface.addCallback("getFoo"); Otherwise, I'll get that JavaScript error. HTH -Jim -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Nick Zotta Sent: Tuesday, January 23, 2007 9:26 AM To: Flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] ExternalInterface.call -> javascript error Hello flashcoders, Does anyone know the cause of the javascript error: "Object doesn't support this property or method" when using ExternalInterface.call() to comunicate between Flash and Javascript? My javascript function is triggered, but before executing its actions, a javascript error popup appears with the message :"Object doesn't support this property or method". Even if the javascript function is blank (nothing to execute), the javascript error still appears. No javascript error in Firefox or Opera, but only in IE (6 and 7). I get this error both locally and on the webserver. All the tests were made with FlashPlayer 9. Thanks a lot, Nick ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com