[Flashcoders] Determining width of rotated MC's imaginary bounding box

2006-03-20 Thread David Stiller
I suspect the answer to this one is purely geometry.  It's trivial
to determine the width or height of a movie clip:  there's the _width and
_height properties, of course, as well as getBounds().  But when the clip is
rotated, the concept of width changes.  I'm looking for a way to determine
the width of an imaginary bounding box that contains the rotated clip.

Tips, tutorials, guidance?


David
[EMAIL PROTECTED]

___
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


Re: [Flashcoders] Determining width of rotated MC's imaginary bounding box

2006-03-20 Thread Adrian Park
Hi David,

Not sure of the exact nature of your setup but it just occured to me that
the simplest way to do this would be if you could enclose the rotated clip
in a wrapper clip - if you get the _width and _height of the wrapper clip
after rotating the enclosed tip you will have the width of imaginery
bounding box.

Does this help?
Adrian P.

On 3/20/06, David Stiller [EMAIL PROTECTED] wrote:

 I suspect the answer to this one is purely geometry.  It's trivial
 to determine the width or height of a movie clip:  there's the _width and
 _height properties, of course, as well as getBounds().  But when the clip
 is
 rotated, the concept of width changes.  I'm looking for a way to
 determine
 the width of an imaginary bounding box that contains the rotated clip.

 Tips, tutorials, guidance?


 David
 [EMAIL PROTECTED]

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