flash on 2010-7-13
♥0 |
Line 17 |
Modified 2010-07-14 09:18:46 |
MIT License
archived:2017-03-20 07:59:32
ActionScript3 source code
/**
* Copyright environmental ( http://wonderfl.net/user/environmental )
* MIT License ( http://www.opensource.org/licenses/mit-license.php )
* Downloaded from: http://wonderfl.net/c/fBfy
*/
package {
import flash.text.TextField;
import flash.display.Sprite;
public class FlashTest extends Sprite {
public function FlashTest() {
// write as3 code here..
for ( var i:uint = 0 ; i < 20 ; i++ )
{
var sp:Sprite = new Sprite();
sp.graphics.beginFill( 0xff000 );
sp.graphics.drawRect( i*1 , i*1 , 100 , 100 );
sp.graphics.endFill();
sp.rotationY = i*180;
addChild( sp );
}
}
}
}