ExternalInterface like it's alien
ActionScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.idea
build @ c48cbe1
lib
src/alien
test
.gitignore
.gitmodules
LICENSE
README.md
build.xml

README.md

as3-alien

An AS3 Monster for going external

" This hack is beyond external, it's alien "

alien.ExternalInterface2 is just like flash.external.ExternalInterface except arguments can be Function that will be called back.

ExternalInterface2.call("window.setInterval", onSetInterval, 3000);

alien.FBProxy, a thin flash.utils.Proxy using ExternalInterface2 that makes you feel like directly using the Facebook JavaScript SDK from ActionScript.

var FB:FBProxy = new FBProxy();

FB.api('me', function(data:Object):void {
    // ...
});