This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Flash Site Design > January 2004 > progress bar GO AWAY!





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author progress bar GO AWAY!
Markooshio webforumsuser@macromedia.com

2004-01-27, 4:30 pm

I'm using the 2004pro component progress bar and i'm using it with the scrollpane inside my movie. it works just fine except for the fact that after it's all loaded, it won't go away........

does anyone know a script to hide the progress bar after it's done loading?

here's the example.....

www.asmatic.ca



Referring URLs
http://www.asmatic.ca




jingo

2004-01-27, 7:29 pm

What usually happens is the preloader goes on frame one of the mc, then the
last thing the preloader does is gotoAndPlay(2);
the 2 being frame 2. So on the layer that contains your preloader, you
insert an empty keyframe on frame 2

"Markooshio" <webforumsuser@macromedia.com> wrote in message
news:bv6epc$acu$1@forums.macromedia.com...
quote:

> I'm using the 2004pro component progress bar and i'm using it with the


scrollpane inside my movie. it works just fine except for the fact that
after it's all loaded, it won't go away........
quote:

>
> does anyone know a script to hide the progress bar after it's done


loading?
quote:

>
> here's the example.....
>
> www.asmatic.ca
>
>
>
> Referring URLs
> http://www.asmatic.ca
>
>
>
>




Markooshio webforumsuser@macromedia.com

2004-01-28, 10:31 pm

well, i think the theory is correct, but this is not a preloader, it's just a progress bar component.....I put it in it's own mc and a blank frame on frame 2 and did not work. what I need is a script that tells my pBar to goto frame 2 when it's 100% load
ed.....


chieffan webforumsuser@macromedia.com

2004-01-30, 3:29 pm

I found some nice tutorials at Ultrashock.com and they had a great tutorial on the progress bar and used a class to load it and an event listener to make it hide.

// create event listener object for the loader
myLoaderListener = new Object();
// click event handler
myLoaderListener.complete = function ( eventObject )
{
myProgressBar._visible = false;
}

// register the event listener
myLoader.addEventListener("complete", myLoaderListener);




Referring URLs
http://www.ultrashock.com/




Markooshio webforumsuser@macromedia.com

2004-01-31, 1:30 pm

you know, you've been very helpful with this problem for me, but i found the answer on my own with a little digging i found this.....

on (complete) {
with (this._parent) {
gotoAndStop(2);
}
}

that little piece of code goes right on the progress bar inside it's own movie.

give myself a pat on the back!

on (complete) {
with (this._parent) {
gotoAndStop(2);
}
}


Markooshio webforumsuser@macromedia.com

2004-01-31, 1:30 pm

you know, you've been very helpful with this problem for me, but i found the answer on my own with a little digging i found this.....

on (complete) {
with (this._parent) {
gotoAndStop(2);
}
}

that little piece of code goes right on the progress bar inside it's own movie.

give myself a pat on the back!


Sponsored Links


Copyright 2003 - 2008 forum4designers.com  Software forum  Computer Hardware reviews