Thanks a lot, Geoff.
I was testing locally and it was incredibly annoying. I uploaded to
a local testing server and got it to work, thanks in some part to
your example on the blog.
I'll be posting my foray into this soon.
-a-
On Aug 18, 2005, at 5:23 PM, Geoff Stearns wrote:
are you testing locally?
if you are you'll have to add the swf (or the folder the swf is in)
to your 'trusted' areas in the new security manager thing.
it's really annoying.
or you can set 'allowscriptaccess' to 'always' and it will work.
or you can upload it to a webserver and it will work.
if this isn't your problem, post your examples, or you can compare
to my example here (i can't post the fla yet, but the code you need
is in the blog post):
http://blog.deconcept.com/2005/08/16/external-interface/
Aaron Silvers wrote:
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
[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
http://www.mrchompers.net <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
---------------------------------------------------------------------
---
_______________________________________________
osflash mailing list
[email protected]
http://osflash.org/mailman/listinfo/osflash_osflash.org
_______________________________________________
osflash mailing list
[email protected]
http://osflash.org/mailman/listinfo/osflash_osflash.org
_______________________________________________
osflash mailing list
[email protected]
http://osflash.org/mailman/listinfo/osflash_osflash.org