Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

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

Posted on 2004-09-14
4
234 Views
Last Modified: 2006-11-17
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
Comment
Question by:Lukasx
  • 2
  • 2
4 Comments
 
LVL 39

Expert Comment

by:blue-genie
ID: 12072800
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
 

Author Comment

by:Lukasx
ID: 12072862
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
 
LVL 39

Accepted Solution

by:
blue-genie earned 500 total points
ID: 12072882
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
 

Author Comment

by:Lukasx
ID: 12123010
Cheers for the tip Blue-genie!!!

0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I come across a lot of question about how to access things in the document class from a movieclip, or accessing something from a movieclip in the document class. It took me a while to figure this out but once I did it makes life so much easier. …
I have been doing hardcore actionscripting for some time; and needless to say I have faced a lot of problems in just understanding others' code rather than understanding what the code executes. A programmer's life can become hell when there are a lo…
The goal of the tutorial is to teach the user what frame rate is, how to control it and what effect it has on the video.
This Micro Tutorial will teach to how to utilize bit rate in Adobe Flash Media Live Encoder.

861 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question