This content has been marked as final. Show 4 replies
Did you actually tell the .swf file only to play when onLoadInit is dispatched or when preloader reaches 100% ?
The only job that the preload functions control is the display of your
progress bar. The loadClip() function starts the loading of the new
clip. Your listener pays attention to the progress of the loading, and
fires the appropriate functions to control the progress bar's display.
When you load in the new clip, it will do whatever you told it to do.
The work of myListener is completely superfluous. You could remove all
of the myListener functions and the new clip will load exactly the same way.
You'll need to look at the movieClip that you're loading in to see where
the problems might be.
Adobe Community Expert
i thought that my swf would only load only once the progress bar reaches 100. i followed this preloader code from the preloader section of lynda.com in flash 8's essential training. they made it seem like it's good to go, but i'm learning that it may be more complicated than that.
okay, in looking at other questions in the forum, i was able to fix the 2nd problem that i was encountering. i basically just placed the code below to my "container" movie clip and the problem was fixed. however, i am still having the 1st problem happen. i thought the AS that i applied loads the swf once the progress bar reaches 100%. apparently it's not doing that because it starts playing my swf even though the whole swf is still loading.
this is such a learning experience for me as i am fairly new to flash. so i totally appreciate and am grateful for everyone's answers!!! gracias :)