LOADING
Loading
Hi , welcome back.
LogoutLOGOUT
 
  Lost password?  
Hi
 




 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 10-08-2004, 05:03 PM
Sewdn Sewdn is offline
Registered User
 
Join Date: Jul 2004
Location: Belgium
Posts: 27
Rep Power: 0
Sewdn is on a distinguished road
moveTo() doesn't just change _x & _y property??

Hi,

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...

code:
Actionscript:
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?

thanks, Sewdn

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
Reply With Quote
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Similar Threads
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




All times are GMT. The time now is 06:26 AM.