flash on 2013-5-17

by TmskSt
♥0 | Line 12 | Modified 2013-05-17 01:21:22 | MIT License
play

ActionScript3 source code

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

package {
    import flash.display.Sprite;
    import com.actionscriptbible.Example;
    public class FlashTest extends Example {
        public function FlashTest() {
            // write as3 code here..
            const str:String = "ABCD01234567890";
            trace(str.substr(0, 4));
            trace(str.substr(4, 4));
            trace(str.substr(8));
        }
    }
}