Link to home
Start Free TrialLog in
Avatar of Naterator
Naterator

asked on

Flash MX 04 progress bar

After dragging and dropping a progress bar in the stage, what and how do I add in the actions box in order for it to work? I'm using it with a movie clip which is on a different level. All I need it to do is measure the percent loaded for me.

The Flash help center is terrible! It tells you what components are, but not how to use them.


Thank you!

Nathan Heck
Avatar of negatyve
negatyve

It should be something like this:

listener = {path:this};
listener.complete = function()
{
      trace("MOVIECLIP LOADED")
};
progressbar_instance.mode = "polled";
progressbar_instance.source = your_movieclip;
progressbar_instance.addEventListener("complete", this.listener);
Avatar of Naterator

ASKER

This still doesnt help me. I need to start from the beginning. I am not that familiar with Flash MX's set up,escpecially in dealing with action script. I typically have used Flash 5.

I have a movie clip in scene 2. In scene one I placed the progress bar. Is this correct? I want it to read the movie and adjust its precentage accordingly. I tried adding the action script I was sent in my first answer, however, it keeps telling me I need an event handler.

As I was saying, I'm still getting used to the fact that there is not an option between normal and expert mode in Flash anylonger. Normally, I would just use normal mode which did not require you to write code.

ASKER CERTIFIED SOLUTION
Avatar of negatyve
negatyve

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
How can I jump from one scene to another within a simbol, like a buttons. I'm using flash mx, and can't make the gotoAndPlay ("intro") work.
Sothink Glanda 2004 provides some preloader components. To use it, you just need to drag and drop it, without writing any actions.

http://www.sothink.com/campaigns/glanda.php3.