At 11/27/08 03:12 PM, sickstick wrote:
Nope. Isn't the animation thats not working...
Didn't notice this, you have the actions placed on the actual movieclip. Try going into your preloader mc, make a new layer, and on the first frame add this code:
bytes_total = Math.round(_root.getBytesTotal());
onEnterFrame = function() {
bytes_loaded = Math.round(_root.getBytesLoaded());
percent_loaded = bytes_loaded/bytes_total;
gotoAndStop(Math.round(percent_loaded*100)); // this should send your mc to the correct frame
if (bytes_loaded == bytes_total) {
_root.play(); // or whatever you want to happen once the movie is loaded
}
}
stop();
Same as before. Make sure the mask is tweened fully up, and try it out. The first frame of your main timeline should also have a stop action on it if it doesn't already.