I have a project that needs to be a projector and when we play it back it is choppy in parts near the end. Can I preload this prior to play back? I have it set up now with 2 scenes, a preloader and a main.
This is the code in the loaderMC in frame 1 of the preloader scene:
stop()
onEnterFrame = function() {
framesLoaded = (Math.ceil((_parent.getBytesLoaded()/_parent.getBytesTotal())* 100));
gotoAndStop(framesLoaded);
info_txt.text = framesLoaded + ''%'';
if (framesLoaded%26gt;=99){
_parent.play();
}
}
with a stop command on frame 1 on the preloader scene.
main scene has all the content, sound, images, MC's...
when I test it it looks like the loader runs it's 100 frame course, but doesn't?preload anything, then moves to the main scene, and is still slow towards the end.
help please.
thanks
Preloading in a projector?a preloader won't help unless you're loading something via an internet connection (which is unlikely in a projector project).?you most likely have a performance problem because of the number of display objects being tracked by flash.
Preloading in a projector?is there a way to trouble shoot that or compress the final swf? I have utilized the compression in flash for my images (to 50%, and with smoothing) is there any thing else I can immediately do?
thanks for the help.
there's often a lot that can be done to improve performance but you'd need help from someone experienced in this.?the single most effective thing that can often be done is to enable the cacheAsBitmap property of those movieclips for which that would be appropriate.?ie, those that have unchanging bitmap.
No comments:
Post a Comment