You Are Here Home > Calling JavaScript Functions

Calling JavaScript Functions

import flash.external.ExternalInterface;
...
ExternalInterface.call("your_javascript_function()");

Get the return value:

var x:int = ExternalInterface.call("get_x()");
Calling JavaScript Functions
Filed under: Actionscript   Posted by: Codehead

Got a Question?

Get answers here.

No Comments »

No comments yet.

RSS feed for comments on this post. TrackBack URL

Leave a comment