flash on 2011-8-23
♥0 |
Line 12 |
Modified 2011-08-23 19:06:19 |
MIT License
archived:2017-03-20 03:25:44
ActionScript3 source code
/**
* Copyright erokare ( http://wonderfl.net/user/erokare )
* MIT License ( http://www.opensource.org/licenses/mit-license.php )
* Downloaded from: http://wonderfl.net/c/iijG
*/
package {
import flash.display.Sprite;
import flash.text.*;
public class FlashTest extends Sprite {
public function FlashTest() {
var str:String = "1";
var txt:TextField = new TextField();
addChild(txt);
txt.text = str.substring(8,16);
}
}
}