flash on 2011-4-22
♥0 |
Line 15 |
Modified 2011-04-22 16:40:20 |
MIT License
archived:2017-03-20 02:29:07
ActionScript3 source code
/**
* Copyright e_2o ( http://wonderfl.net/user/e_2o )
* MIT License ( http://www.opensource.org/licenses/mit-license.php )
* Downloaded from: http://wonderfl.net/c/vB92
*/
package {
import flash.display.*;
import flash.text.*;
public class Lesson3_3 extends Sprite {
public function Lesson3_3 () {
var textField:TextField = new TextField();
var a:int = 1 ;
while ( a <= 5){
textField.appendText( String(a) );
a++;
}
addChild(textField);
}
}
}