flash on 2010-1-13
♥0 |
Line 19 |
Modified 2010-01-13 18:08:58 |
MIT License
archived:2017-03-20 02:04:38
ActionScript3 source code
/**
* Copyright h_sakurai ( http://wonderfl.net/user/h_sakurai )
* MIT License ( http://www.opensource.org/licenses/mit-license.php )
* Downloaded from: http://wonderfl.net/c/sfbv
*/
package {
import flash.display.Sprite;
import flash.text.*
public class FlashTest extends Sprite {
private var d:int = a+2
private var c:int = a+3
private var e:int = d+1
private var a:int = 3+3
private var b:int = a+2
private function add(a:int, b:int):int {
return a+b;
}
public function FlashTest() {
// write as3 code here..
var textField:TextField = new TextField()
addChild(textField)
textField.text = "a="+a+"b="+b+"c="+c+"d="+d+" e="+e
}
}
}