| |||||||||||||||||||||||||||||||
|
I had something I was working on that I was aiming to use to resize, move and rotate text boxes, but only partly finished it. It's not as nice as Senocular's code and is AS2, but you nearly have most of tool to drag, rotate and resize movie clips. To get it to work with a Text Field, I hacked it to resize one inside the "target" movieclip. Unfortunately the editor is currently centred on 0,0 and the target is at w/2, h/2. This was the tricky bit - rotating it nicely around 0,0 and keeping the editor at 0,0 too - why there is so much commenting out. You are welcome to the code and FLA, which I have posted here http://glenpike.co.uk/misc/text_resizer.zip No guarantees or warranty with the code and feel free to do with it what you like, but don't complain if I finish it one day and post my own version. If you do have an epiphany with the maths and get it working beautifully, I would love to see what you did. Glen Rick Schmitty wrote: > Is there a tool that lets you strectch and rotate movie clip objects? > (not skew, I believe that requires the transform matrix math) > > Similar to this guy, but only using width height and rotation > modifications > > http://senocular.com/flash/actionscript.php?file=ActionScript_3.0/com/senocular/ display/TransformTool.as > > _______________________________________________ Flashcoders 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
| ||||||||||||||||||||||||||||||
© 2004-2008 readlist.com