Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsGeneralPHPASPPerlColdFusionFlashHTML, CSS, ScriptsBrowsers

Webmaster Forum / Flash / Flash Site Design / January 2004



Tip: Looking for answers? Try searching our database.

progress bar GO AWAY!

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Markooshio - 27 Jan 2004 19:39 GMT
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 - 27 Jan 2004 23:10 GMT
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

> 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?
>
[quoted text clipped - 4 lines]
> Referring URLs
> http://www.asmatic.ca
Markooshio - 29 Jan 2004 01:56 GMT
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% loaded.....
chieffan - 30 Jan 2004 19:17 GMT
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 - 31 Jan 2004 16:49 GMT
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 - 31 Jan 2004 16:51 GMT
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!
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.