-
Scale makes my mc move... how to avoid this?
Hello everyone,
When i scale my movie clip it moves it down and to the left.
How can i avoid this?
Thanks,
Regards,
Leo.
-
Flash/Flex Developer
Scaling it manually or by code?
Some people are like Slinkies, not really good for anything, but they bring a smile to your face when pushed down the stairs.
-
Hello Samac!
Its by code!
-
Flash/Flex Developer
Yes that does happen. What I do it capture the X and Y position, scale and reapply the X and Y position if the object is on the stage first. If I am just loading the object, then I scale it then apply the X and Y positions before I addChild.
Some people are like Slinkies, not really good for anything, but they bring a smile to your face when pushed down the stairs.
-
Thats the funny thing... i am getting the same x and y of the mc that is moving AFTER and BEFORE I scale it.
-
Flash/Flex Developer
That explains why it is scale down but not left...it should expand to the right.
Some people are like Slinkies, not really good for anything, but they bring a smile to your face when pushed down the stairs.
-
yes... i am wrong, its exactly to the right...
it moves down to the right, i want to avoid it...
would u mind if i send a pvt?
Last edited by Leo75; 06-18-2012 at 10:47 AM.
-
Flash/Flex Developer
Some people are like Slinkies, not really good for anything, but they bring a smile to your face when pushed down the stairs.
-
Thanks Samac, u can check ur pvt msgs.
Cheers.
Leo.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|