-
Notifications
You must be signed in to change notification settings - Fork 1
Object bridge from ActionScript 3.0 to JavaScript
tkmr/as2js
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
as2js by Tatsuya Takamura == DESCRIPTION: You can call JavaScript function or object from ActionScript by this libraly Please confirm demo page http://blog.tkmr.org/as2js-test.html?twitter=tkmr&ustream=tkmr == SAMPLE CODE: (in the ActionScript) //Alert from ActionScript var window:AS2JS = AS2JS.register("window"); window.alert("Alert from ActionScript!!"); //Change a DOM var document:AS2JS = AS2JS.register("document"); document.getElementById("title1").innerHTML="Hello World from ActionScript normal"; //With prototype.js var element:AS2JS = AS2JS.register("Element"); var title2:AS2JS = window.$("title2"); element.update(title2, "Hello World from ActionScript with prototype.js");
About
Object bridge from ActionScript 3.0 to JavaScript
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published