rotation of DisplayObject
♥0 |
Line 14 |
Modified 2010-07-21 12:15:28 |
MIT License
archived:2017-03-20 13:37:34
ActionScript3 source code
/**
* Copyright 9re ( http://wonderfl.net/user/9re )
* MIT License ( http://www.opensource.org/licenses/mit-license.php )
* Downloaded from: http://wonderfl.net/c/26bH
*/
package {
import flash.display.Shape;
import flash.text.TextField;
import flash.display.Sprite;
public class FlashTest extends Sprite {
public function FlashTest() {
var sp:Sprite = new Sprite;
var tf:TextField = new TextField;
sp.rotation = 220;
tf.text = sp.rotation.toString();
addChild(tf);
}
}
}