Skip to main content
Known Participant
June 10, 2007
Question

Change Position

  • June 10, 2007
  • 1 reply
  • 140 views
Some of my photo is in Vertical and some is in horizontal. So, for vertical, I want the moviecliploader to be rotated 90 degree. However, the position of moviecliploader changed. So, I added extra 2 line of code as below to move the moviecliploader to it's original location, but why is it still remain the same as the code is not applied?

this["PhotoLoader"+i].loadMovie("PhotoThumbnail.swf");
this["PhotoLoader"+i]._rotation=90
this["PhotoLoader"+i]._x=this["PhotoLoader"+i]._x+10;
this["PhotoLoader"+i]._y=this["PhotoLoader"+i]._y-10;
This topic has been closed for replies.

1 reply

Yue_HongAuthor
Known Participant
June 11, 2007
Nevermind, I just found it. It is just because the position of (x,y) is very different in coding than you set it manually in Flash property.