How can you fix the problems of bandwidth?

I created a file in Flash CS4 and all runs smoothly when I test the movie in Flash. However, now that I downloaded the html test on our Web site, it works and gets stuck in some places very long and ends by spread. I used the bandwidth Profiler and see there are a few images that exceed beyond the red line, causing a delay. What should I do to enter and fix the problem so that the gray bar falls below the red line? I'm relatively new to Flash so any advice would be greatly appreciated!

Add the following code to frame 1:

var tl:MovieClip =;

TL. Stop();

{tl.onEnterFrame = function ()}

{if (this.getBytesLoaded () > = This.getBytesTotal ())}

delete this.onEnterFrame;

TL. Play();

}

}

Tags: Adobe Animate

Similar Questions

Maybe you are looking for