flash on 2012-9-25
♥1 |
Line 16 |
Modified 2012-09-25 15:28:48 |
MIT License
archived:2017-03-20 06:41:45
ActionScript3 source code
/**
* Copyright bkzen ( http://wonderfl.net/user/bkzen )
* MIT License ( http://www.opensource.org/licenses/mit-license.php )
* Downloaded from: http://wonderfl.net/c/borA
*/
package {
import flash.text.TextField;
import flash.display.Sprite;
public class FlashTest extends Sprite {
public function FlashTest() {
// write as3 code here..
var txt:TextField = new TextField();
txt.autoSize = "left";
addChild(txt);
txt.text = "header : " +
loaderInfo.bytes[0].toString(16) + " " +
loaderInfo.bytes[1].toString(16) + " " +
loaderInfo.bytes[2].toString(16) + " " +
loaderInfo.bytes[3].toString(16);
}
}
}