Groups | Blog | Home
all groups > flash actionscript > february 2004 >

flash actionscript : Images missing when movie clip loads. Why?


T__O____M
2/26/2004 7:17:58 PM
I've got a really simple setup - I've got my main .swf (say it's called
main.swf) loading another .swf (loaded.swf) into a target.

In loaded.swf there is a preloader scene (using getBytesLoaded etc.), and
then, in the main scene of loaded.swf, an image sitting on the stage. The image
gets masked in, for a total of about 5 frames of animation.
That's it.

What I've noticed is sometimes the image doesn't come in when loaded.swf
loads. The preloader does its stuff, correctly calculates the bytes loaded and
so on, but then it gets to the main scene and just doesn't do anything.
HOWEVER, if you click on the button that loads loaded.swf into main.swf, that
image shows up IMMEDIATELY. So it's loading, but not showing up.

If anyone can tell me why you'll be my hero.
T__O____M
2/27/2004 5:03:08 AM
I've noticed this problem occuring not just in Flash MX, but in Flash 5 as
well. I'd really appreciate any help with this, as it's not mission-critical or
anything RIGHT NOW, but I'd like to utilise the same kind of setup in future
projects, and obviously at some point it's going to get used in a commercial
project, wherein this kind of situation can't happen.

So... if anyone knows, thanks a bunch.
AddThis Social Bookmark Button