Hi everybody.
I'm going crazy with this problem.

Place in stage one rectangle (f.e with 200x100 dimensions) named mcRectangle.

Put this as2 code

trace("Original Size :" + mcRectangle._width + "," + mcRectangle._height);
mcRectangle._rotation = 90;
trace("BEFORE ROTATE 90 DEGREES:" + mcRectangle._width + "," +
mcRectangle._height);
mcRectangle._height = 100;
mcRectangle._width = 100;
trace("CHANGING MANUALLY HEIGHT AND WIDTH to 100x100, strange size
is:" + mcRectangle._width + "," + mcRectangle._height);

Output is:
Original Size :201,101
BEFORE ROTATE 90 DEGREES:101,201
CHANGING MANUALLY HEIGHT AND WIDTH:101,199

When u apply one rotation, trying to assign manually width and height
properties causes strange unpredictable effects...

I'm trying to use xscale and yscale to avoid this problem, but i have
another problems when try to make more things..

any solution? any suggestion?

thx in advance
_______________________________________________
[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