var obj:Sprite = new Sprite(); obj.graphics.beginFill(0xff0000); obj.graphics.drawRect(0,0,20,20); obj.graphics.endFill();
function init():void{ addEventListener(Event.ENTER_FRAME, rotate, false,0,true); } function rotate(e:Event):void{ obj.rotation +=5; } //start the show init(); regards Cor -----Original Message----- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of a...@yonearth.com Sent: maandag 25 april 2011 8:45 To: Flash Coders List Subject: [Flashcoders] 360 degree rotation Hi all, any one have an idea how to create a 360 degree(spin,rotation) views of a object. in as3.0 . thanks, a _______________________________________________ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders _______________________________________________ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders