I’ve posted this on the flash mx forum as well so apologies anyone who’s seen it already! Perhaps someone can help me out here - I have a movie with several scenes and only Kirupa’s cool snowfall effect to show in the first. What do i need to do to stop it playing in subsequent scenes?
Many thanks!
You can remove all the clips with a loop.
Or you could put all the clips in a clip and delete that clip when you change scene.
And several scenes doesn’t necessarily mean a longer loading time. It depends on what is in it, really. After all, scenes don’t really exist as an entity :crazy:
LOL, true about the scenes, but it sounded to me like it was a full site, which usually takes a long time with several scenes. But that was an assumption, and you know what they say when you assume something…lol.
Brian here. Well funnily enough, most of the books, and things I’ve read from the net … most say to stay away from using Scenes (in both Version 5 and MX).
I’m currently using MX, and to this day haven’t used the Scenes panel at all.
I try to look for an ActionScripted way to do things, which cuts down on file overhead.
But, that’s just me. I haven’t heard of too many people using scenes since Version 4 of Flash.
Hope to hear from you all… Happy Holidays to you all!
I know, I know, everyone gets on my case about that, but it makes no difference, and I like using them to keep my preloader seperate from my movie so it is easier for me to edit.
:-\ OK - thanks for the advice. I’m COMPLETELY new to Flash so the advice about scenes is cool too [which if I understand correctly, I’m better off replacing each scene with either a movie clip or standalone swf and call them to the main timeline as and when required?]
As I say - I’m new to this stuff, so how would I go about coding the suggestions for the snow movieclip? For example, the loop to close the snowflake movieclip how would I script that to ensure all instances of the movieclip are unloaded? presumably something along the lines of:
for (k=0; k<50; k++) {
unloadMovieClip(_root.snow, “snow”+k, k);
or am I better off as Lol (I think) mentiond just removing the duplicateMovieClip command from the main timelines, and adding it all into a single movieclip (presumably with the snow duplicateMovieClip command assigned to this) and then ending this when I move to the next … ahem, scene ;¬)