I'm trying to make a movie clip loop. I imprted a .swf and converted it to a clip, then I dragged it onto the stage. What's happening is that it doesn't play until the end of the movie. I want it to play from the beginning, any ideas?
Nope.. The main movie is scene 1. I imported the swf to scene two, converted it to a movie clip, then dragged the clip from the library onto a new layer in scene 1, at frame 1. The original swf lasted 99 frames, so that's how long I made the scene 1 movie. what it happening, is that the movie plays for the 99 frames, then the clip plays afterwards. I want the clip to play from frame one.
Ok, I deleted scene 2. Now I just have one scene lasting 99 frames. Layer one just has a symbol on it ( a coloured square covering the whole area). Layer 2 has the clip on it (a flame) When I go to test movie now, I see the square, I see the flamne, but it's not animated.
No stop action in the mc, I hope? But hope you have a looping one though! Anyways you should at least see it playing once!
One other question: when you double-click the mc in the library, can you play it? Is it animated? Or just a fixed graphic?
well, it does play once, but only at the end. It doesn't seem to want to animate from the library. I just tried one of the stock movie clips in my movie, and it works... must be something to do with the one I created..
Well I guess so!
When you double-click the mc in the library, it does appear up there on the timeline right?
Does it play normally when hit enter?
Make sure you add another layer and name it actions
Select the last frame of this new layer(probably frame 99) and press F6 to insert a keyframe. Now double click this keyframe you've just inserted and double-click the goto action in the left actions' list box.
You should have:
gotoAndPlay(1);
Close that window. You've just instructed the movie clip to return to the beginning when it reaches the end. A loop!
Now, try this:
In scene 1, scrap that layer where you have this mc. And insert a new layer, it should be as long as your other layer, and on top of it.
Now make sure you select the first frame in that new layer and re-drag your flame mc from the library to the stage, and position it.
Test your movie!
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.