you have a url we can look at?
are you sure you object/embed tags have id's and/or name's? did you use an
operand or space in the file name of the swf, or id/name? all those will
cause ExternalInterface to malfunction.
i had a problem with ExternalInterface and IE for a while that gave me the
same error....but only sometimes. it was driving me crazy for weeks because
it would happen on some projects, but on others, it worked like a charm.
After sitting down and looking for something wrong, i realized that some of
our developers - the ones who write the html and js - were giving (we use
swfobject, by the way) the overwritten div and the object tag(second param
passed to swfobject) the same id's. and since IE uses the object tag with an
id, there were two nodes with the same id on the page. other browsers use
the embed tag, which uses a name attribute, not an id.....so it was only
happening in ie. i havent had a problem with ExternalInterface at all since
then.
On 10/16/06, Clark, Craig <[EMAIL PROTECTED]> wrote:
I am getting an error in Internet Explorer whenever I try to use the
External Interface to call JavaScript from Flash or when I try to call
actionScript from JavaScript. I do not receive an error in other
browsers. It is only in IE. The error I get is a runtime error that says
"Object does not support this property or method." When I open up Just
In Time debugging, it shows there is a problem with this method when I
call JavaScript from Flash.
try {
externalInterfaceTests.SetReturnValue(__flash__toXML(sayHello("browser")
) ); } catch (e) {
externalInterfaceTests.SetReturnValue("<undefined/>"); }
I am not sure what the problem is. I haven't used External Interface
since Flash 8 first came out and it worked fine at that time. I suspect
that recent changes to IE may be the cause.
Has anyone else had similar problems with IE and ExternalInterface?
Thanks
Craig Clark
Instructional Developer
Concurrent Technologies Corporation
------------------------------------------------------------
This message and any files transmitted within are intended
solely for the addressee or its representative and may
contain company sensitive information. If you are
not the intended recipient, notify the sender immediately
and delete this message. Publication, reproduction,
forwarding, or content disclosure is prohibited without the
consent of the original sender and may be unlawful.
Concurrent Technologies Corporation and its Affiliates.
www.ctc.com 1-800-282-4392
------------------------------------------------------------
_______________________________________________
[email protected]
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]
_______________________________________________
[email protected]
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