Oh, OK look at Swift3D
-----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of [email protected] Sent: maandag 25 april 2011 9:47 To: Flash Coders List Subject: Re: [Flashcoders] 360 degree rotation thanx Cor But i need like this http://www.somersetdesign.co.uk/3drotator.php regards amol ----- Original Message ----- From: "Cor" <[email protected]> To: "'Flash Coders List'" <[email protected]> Sent: Monday, April 25, 2011 12:26 PM Subject: RE: [Flashcoders] 360 degree rotation > Oops, forgot to put it on stage: > > var obj:Sprite = new Sprite(); > obj.graphics.beginFill(0xff0000); > obj.graphics.drawRect(0,0,20,20); > obj.graphics.endFill(); > obj.x = 50; > obj.y = 50; > addChild(obj); > > 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 > > > _______________________________________________ > Flashcoders mailing list > [email protected] > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders _______________________________________________ Flashcoders mailing list [email protected] http://chattyfig.figleaf.com/mailman/listinfo/flashcoders _______________________________________________ Flashcoders mailing list [email protected] http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

