flash on 2011-3-9

by esukei
♥0 | Line 10 | Modified 2011-03-09 18:02:34 | MIT License
play

ActionScript3 source code

/**
 * Copyright esukei ( http://wonderfl.net/user/esukei )
 * MIT License ( http://www.opensource.org/licenses/mit-license.php )
 * Downloaded from: http://wonderfl.net/c/bWk5
 */

package {
    import flash.display.Sprite;
    import flash.external.ExternalInterface;
    public class FlashTest extends Sprite {
        public function FlashTest() {
            // write as3 code here..
            ExternalInterface.call('(function(objID){alert(objID);})',ExternalInterface.objectID);
            ExternalInterface.call('(function(){alert(' + ExternalInterface.objectID + ');})');
        }
    }
}