Hi,
This is possibly due to rounding errors.
If you want the components to remain the same size, you should set
the size of one using the size of the other...
selectedImage.width *= 1.1;
imgWidthVar = selectedImage.width;
etc.
Glen
SJM - Flash wrote:
Hi Guys
Im writing
the correct
information.
SJM
- Original Message -
From: Glen Pike
To: Flash Coders List
Sent: Thursday, May 01, 2008 1:53 PM
Subject: Re: [Flashcoders] Random incriments [AS3]
Hi,
This is possibly due to rounding errors.
If you want the components to remain the same
is rotated
selectedImage will be wider than imageWidth and will not output the correct
information.
SJM
- Original Message -
From: Glen Pike
To: Flash Coders List
Sent: Thursday, May 01, 2008 1:53 PM
Subject: Re: [Flashcoders] Random incriments [AS3]
Hi
Subject: Re: [Flashcoders] Random incriments [AS3]
Hi,
I am a bit confused as to what you want to do...
If you rotate the image, I think it will return the width and height
of it's bounding box, but I think you are saying you want to shrink the
bounding box so it matches
agin for your help!
SJM
- Original Message -
From: Glen Pike
To: Flash Coders List
Sent: Thursday, May 01, 2008 3:02 PM
Subject: Re: [Flashcoders] Random incriments [AS3]
Hi,
I am a bit confused as to what you want to do...
If you rotate the image, I think
5 matches
Mail list logo