-
_root. stop(); ???? Please help
Hi,
I want to make a little turtle that walks across the screen. i have achived that part . Now i want to make him dissapear in his shell when you hover over him and come out when you dont. i done that too XD. but i can only have it all in to main timeline and i want it all in a movie clip, but becuase the script is :
on(rollOver){
_root.stop();
gotoAndPlay(2);
}
on(rollOut){
_root.play();
gotoAndPlay(1);
}
the _root. function goes to the 1st timeline.
Is there any way to make the _root. function only go back one place?
Thanks in advance
-
-
create a movieclip and put ur animation in it and give and instance name to ur movieclip.
on(rollOver){
_root.movieclipinstancename.stop();
gotoAndPlay(2);
}
on(rollOut){
_root.movieclipinstancename.play();
gotoAndPlay(1);
}
-
Create a movieclip, put all frames in and change the as to:
Code:
on(rollOver){
_parent.stop();
gotoAndPlay(2);
}
on(rollOut){
_parent.play();
gotoAndPlay(1);
}
You can put your new movieclip inside another (and another and another ... )if you want because you are independent now of _root.
Never accept the first 'impossible' unless it comes from a lady.
-
wowowowowowowwow i love u all XD it worked!!!
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
|