Re: [Flashcoders] Transform tool help - without the matrix

2007-01-03 Thread Glen Pike

Hi,

   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@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


[Flashcoders] Transform tool help - without the matrix

2007-01-03 Thread Rick Schmitty

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


Reason I ask (and perhaps theres another solution) using the transform
matrix with anything in text will actually transform the text to be
larger (probably as expected for most) but I'd like for when a user
expands an object the text area inside it grows keeping the original
font size.

Any ideas?

TIA
___
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