|
-
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
-
but
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.
Code:
progressBar.setChangeHandler("onProgress");
progressBar.setLoadTarget(_root);
stop();
function onProgress()
{
if (progressBar.getPercentComplete()>=60) {
play();
}
}
You can use the changeHandler to drive any kind of progress indication you want. It's definitely less work than using getBytesLoaded / total.
nig
[email protected]
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|