> Hello Flashcoders > > I am trying to rotate a cube which i made in the flash > authoring environment. However it is not a real cube but I > don't want to use API to make a cube first and then rotate > it. I want that a cube which have a specific design then it > is rotate in the 3d environment using flash Actionscript. > > Please help me I don't find any solution and now i think that > might be it is not possible to rotate such type of cube.
If you made your cube as a perspective object in Flash, you're right, you can't rotate it automatically (how would Flash know what the rest of it looked like?!) There's no way to do what you're trying without using some actionscript (and a fair amount of maths). However, there are a fair number of 3d tutorials out there - a Google on 'rotate cube actionscript' brought up this one as a first hit: http://www.kirupa.com/developer/actionscript/rotation_center.htm Danny _______________________________________________ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com