Hi,
I've managed to call functions on my flash movie exported by
ExternalInterface. I use "swfContainer0" to find the embed element,
added allowScriptAccess:"always" to the opt_params in embedGadget(),
call Security.allowDomain("*") in my flash movie init.
Calling flash functions now works, but no matter what my flash
function returns I always get "undefined" as return value in
javascript.
I can call the same flash function from the my flash movie from my own
web page and I get valid javascript objects as return values. I've
also tried my web page inside of an <iframe> and that works correctly
as well.
Anybody have a suggestion on how to get the return values to work? Is
this a bug in the gadgets.flash library?
Some extra api in the gadgets.flash to call flash functions would be
nice as well, or at least a documented way to get the embed element.
Having to depend on a "swfContainer0" element is not very robust.
Thanks,
Gijsbert
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"iGoogle Developer Forum" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/Google-Gadgets-API?hl=en
-~----------~----~----~----~------~----~------~--~---