-
Can't get my file to loop
I've got six movie clips (slide1, slide2, etc)... each on a different layer... all on frame 1... at the end of each clip I have the action set:
stop();
_root.slide2.play();
then slide3, etc... on the last clip I have it set for:
stop();
_root.slide1.play();
Which I would assume would essentially loop back to the first slide and start over.
Basically all I need it for this thing to loop. Suggestions?
You can download the file at:
http://www.visbuilder.com/test/timeline.fla
Thanks.
Michelle
-
Senior Member
Hi,
Sorry You got a fundamental problem, you can either each movie clip to attach one by one. For that you got to use attachMovieClip() method. Anyway i don't think you are not doing that way. Given the current scenario, that you got all MCs in a single frame, and in different layers, you have to code like this:
-------------
In Actions Layer change your script to:
-------------------------------
this.onLoad = function() {
_root.slide1.gotoAndPlay(2);
}
---------------------------------------------
IN SLIDE1 MC (First remove the _root.slide2.Play(); from fram no:1 coz, this is not logic)
And in the last Frame:
stop();
_root.slide2.gotoAndPlay(2);
----------------------------------------------------------------
Follow this for all MCs it should work.
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
|