[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 246
  • Last Modified:

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
0
Lukasx
Asked:
Lukasx
  • 2
  • 2
1 Solution
 
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
 
blue-genieCommented:
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
 
LukasxAuthor Commented:
Cheers for the tip Blue-genie!!!

0

Featured Post

Learn to develop an Android App

Want to increase your earning potential in 2018? Pad your resume with app building experience. Learn how with this hands-on course.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now