[osflash] Working Examples of External Interface...
Aaron Silvers
aaron.silvers at gmail.com
Thu Aug 18 14:18:28 PDT 2005
Hi kids,
So I'm trying to implement the External Interface, and I'm using the code
base located here:
http://osflash.org/doku.php?id=flashcoders:undocumented:flash8
But I can't seem to get it to do anything. No JavaScript error, no Flash
problems. Nothing.
Here's the AS code, frame 1 of my test do-mon-jobber;
import flash.external.ExternalInterface;
start_btn.onPress=function(){
ExternalInterface.call("apiCall", "initialize");
}
stop_btn.onPress=function(){
ExternalInterface.call("apiCall", "terminate");
}
to which I have mapped a JS file with the appropriate methods.
Am I missing something (I am using the Flash 8 beta)
--
-a-
Aaron E. Silvers
aaron.silvers at gmail.com
http://www.mrchompers.net
------------------------------------------
"when the five senses and the mind are still, and reason itself rests
in silence, then begins the Path supreme." - neodämmerung
-------------- next part --------------
An HTML attachment was scrubbed...
URL: /pipermail/osflash_osflash.org/attachments/20050818/0e918fcf/attachment.htm
More information about the osflash
mailing list