View Full Version : ExternalInterface API

04-06-2008, 10:10 AM

I'm using the ExternalInterface to try to talk to javascript. But I'm able to do this only if I write actionScript and call the js functions from the main timeline. If I try using the ExternalInterface API from within actionScript classes I have written, it fails. The javascript function does not get executed.

Whats going on??

Is there some special way of using the ExternalInterface from within actionScript classes? Also, my javascript code has got plenty of namespaces.. Will calling something like namespace.jsfunction cause any problems?

Thanks in advance!

04-13-2008, 03:37 PM
how bout just simply using a getURL function like getURL("javascript:yourJSFunction")