Copy link to clipboard
Copied
As2
How do you go back to a previous labeled frame and have that fame the same as you left it without it resetting that frame.
I really want the x y positions of a MovieClip to stay where I moved the MovieClip to previously so I can go back to it.
These did not work because of resetting.
_root.prevFrame();
_root.gotoAndStop("here");
_root.gotoAndPlay("here");
I could only pick one place and not what I wanted.
_root.mc._x=224.9;
_root.mc._y=124.5;
I been stuck on this for a long time and would really appreciate some help on this.
Copy link to clipboard
Copied
What is in the frame that causes it to revert to some other condition? If you need to have the position of the object retained, then you need to assign it when you enter that frame, otherwise it will return to whatever the timeline condtions defined for it.
Normally to have something not change when you enter a frame you need to implement conditional logic that says if(something) { make it so }
Copy link to clipboard
Copied
Thanks, How do you assign the MovieClip position before entering the frame?
Find more inspiration, events, and resources on the new Adobe Community
Explore Now