https://github.com/4d47/as3-alien
ExternalInterface like it's alien
https://github.com/4d47/as3-alien
Last synced: about 1 month ago
JSON representation
ExternalInterface like it's alien
- Host: GitHub
- URL: https://github.com/4d47/as3-alien
- Owner: 4d47
- License: mit
- Created: 2012-04-21T11:15:09.000Z (about 13 years ago)
- Default Branch: master
- Last Pushed: 2013-08-11T11:26:59.000Z (over 11 years ago)
- Last Synced: 2025-02-04T13:49:09.429Z (3 months ago)
- Language: ActionScript
- Homepage:
- Size: 324 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
as3-alien
=========
" 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][FB] from ActionScript.var FB:FBProxy = new FBProxy();
FB.api('me', function(data:Object):void {
// ...
});[FB]: http://developers.facebook.com/docs/reference/javascript/