Does Flash MX offer any kind of in box Pre-Loader component? It seems to me it should, that'd make a lot of sense...
Printable View
Does Flash MX offer any kind of in box Pre-Loader component? It seems to me it should, that'd make a lot of sense...
Download the Flash UI Components 2 from Flash Exchange on Macromedia's site.
there is a new extension manager to install the mx components available from MM
how do you actually use the built in preloader component?
i think its better off using you own code, its easier to me.
You guys should read the reference panel once you've got your hands on the ProgressBar. It's pretty easy. Here's some code, assuming you're preloading on the _root and you've got a progressBar named, oh, let's say, progressBar.
You can use the changeHandler to drive any kind of progress indication you want. It's definitely less work than using getBytesLoaded / total.Code:progressBar.setChangeHandler("onProgress");
progressBar.setLoadTarget(_root);
stop();
function onProgress()
{
if (progressBar.getPercentComplete()>=60) {
play();
}
}
nig
[email protected]