Freaked-out movieclip

I was trying to fix a freaked-out photo gallery done by someone else. The gallery loads different slideshows into the main screen when the user clicks on the buttons. When a second slideshow is clicked on before the first is finished loading, the movie started blinking in and out. I am not quite sure who is the evil, either “loadMovie” or “setInterval” (which was used in the preloader) and I am so tired now to figure it out. I fixed it (well it seems to be now) by changed two places:

1. Use MovieClipLoader to loadclip() instead of using loadMovie();

2. Use onEnterframe instead of setInterval for the preloader.


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: