flash on 2010-4-18

by zahir
♥0 | Line 13 | Modified 2010-04-18 21:18:47 | MIT License
play

ActionScript3 source code

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

package {
	import com.actionscriptbible.Example;
    import flash.display.Sprite;
    import flash.utils.ByteArray;
    public class FlashTest extends Example {
    		private var ba:ByteArray;
        public function FlashTest() {
            // write as3 code here..
            ba = new ByteArray();
            ba.writeUTFBytes("ほげ");
            trace(ba.length);
        }
    }
}