Flash MX 2004 Preloader which Masks an image and shows percentage.

Hi Gurus!

I'm looking for a preloader which actually uses the expanding progress bar component as a mask to gradually expand upwards, changing one image into another as the movie loads, I'd also like this preloader to feature the percentage number.

Can anyone guide me to a tutorial for such a preloader, or advise me how I might go about making one?

Cheers,

Luke
LukasxAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
blue-genieConnect With a Mentor Commented:
so you have a picture underneath and instead of a solid loading bar you want an image to show through right?
that's why i'm saying if you simply put that preloader bar in a mask layer, it should do the trick.

0
 
blue-genieCommented:
the image you're wanting changing, what's that?

I've not used the component in question, but i suspect it will be much easier to build your own preloader, simply put the usual loading bar into a mask layer.

the percentage feature is a little bit of simple maths.
if you're using getBytesTotal, and getBytesLoaded,

simply divide the loaded by the total, multiply by 100 and that will give you a percentage.

blu.
0
 
LukasxAuthor Commented:
Cheers for the reply!

I'm using the percentage value to dynamically scale the preloader bar, but I want to use the bar as a transition mask layer that makes the forst layer transparent, and gradually peels away the first image to reveal the second.
0
 
LukasxAuthor Commented:
Cheers for the tip Blue-genie!!!

0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.