forked from: writing to the compilation box

by hemingway forked from writing to the compilation box (diff: 2)
♥0 | Line 10 | Modified 2014-05-03 16:13:53 | MIT License
play

ActionScript3 source code

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

// forked from wh0's writing to the compilation box
package {
    import flash.net.LocalConnection;
    import flash.display.Sprite;
    public class FlashTest extends Sprite {
        
        public function FlashTest() {
            Wonderfl.disable_capture();
            new LocalConnection().send('we' + loaderInfo.parameters.ticket, 'onSendMessageToJS', "I'm in your box.\n");
        }
        
    }
}