I'm having a thorny Flash problem and I was wondering if you've seen
anything like it before. In the tool I am building, you can place an object
on the stage and do a free transform kind of operation on it; you can scale
X, scale Y, and rotate it around its center. So far, I can:

* rotate
* scale X and scale Y from zero rotation

My problem is when I rotate first and then scale. My resize handles change
the _width and _height of the target object, but when I rotate the object
and THEN scale it, it goes all fubar. When I set the _width on an object
that has been rotated, it seems to set the width of the bounding box rather
than the clip itself, so that visually, I am dragging, say, the width
handle, but the item scales a little bit on both axes.

What I need to be able to do is set the width and height of an object,
independent of each other, at any rotation, at runtime. I had something
working where I was changing the _xscale and _yscale, but it didn't look
right; it needs to be the _width and _height.

Thanks for any help you can offer,

OK
DAH



_______________________________________________
[email protected]
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

Reply via email to