moveTo() doesn't just change _x & _y property??
I made a class file extending the MovieClip class that virtually contains other MovieClips: It manages the position and size of movieClips that were assigned to an object of that class without having to be attached inside the object. This way it is really easy to switch movieClips between 2 instance of this class...
I have only one problem:
when i use moveTo() inside the method that places all its controlled movieClips on the right spot on the screen, i get other results then when I change the _x and _y property individually...
items[_nb].moveTo(xPos,yPos); //items[_nb]._x = xPos; //items[_nb]._y = yPos;
allthough xPos and yPos are the same in both situations the results are different. So moveTo() doesn't do quite the same as changing the Mc's coordinates... or what is the problem?
PS: when you wonder why i just don't change _x and _y instead of wanting to use moveTo(), it is because this method is used in tweening methods i found on http://laco.wz.cz/tween/?page=download
|Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)|
|Thread||Thread Starter||Forum||Replies||Last Post|
|Change Button Titles||thefluffyshrimp||Newbies||1||08-31-2006 05:16 AM|
|change URL property of xml||wwscoper||Flash MX 2004||0||07-08-2005 07:17 PM|
|change property from another frame||x_ray_113||Flash 5 Actionscript||1||03-12-2002 06:01 AM|