I have a main content swf inside my movie, which is kinda large. So when i try to navigate it, sometimes you have to wait a minute before the buttons will do anything.
I tried to use a preloader on the main timeline for the external swf “contents.swf”. The code i used is:
st()
_root.contents.loadMovie(“contents.swf”);
if(_root.contents._framesloaded >= _root.contents._totalframes) {
gotoAndPlay (2);
} else {
gotoAndPlay (1);
}
and then it goes on and preloads a different swf. Everything seems to work, but it still takes a couple seconds before you can click on anything, plus the contents.swf is 1.7MB and it only takes about 2 seconds to “preload”… so i know something isnt working right.
Is there something wrong with my code?