Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Loading... please wait! (how to create that?) 1

Status
Not open for further replies.

GrafixDUDE

Technical User
Apr 11, 2000
1
AU
Im one of those graphics junkies... and because of that, when I work on web page development, i go a bit nutty on the amount of artwork i put in, inturn making it a slow loading page (though worth the wait)<br><br>My question is, how (since i'm spik and span new at using flash) do i make one of those little &quot;Loading&quot; things in realtime, where it shows a graph progress as the images are preloading in the website, then the site initates when its all cached?<br><br>If i havent confused you yet, im shocked, cuz i just lost the plot.&nbsp;&nbsp;is there anyone there that know what im talking about?<br><br>Fanx<br>GrafixDUDE<br>
 
I think I know what you mean, and this is what I'd suggest:<br><br>- Add in some blank frames at the beginning of your movie.<br>- Create a short 'loading' animation in these frames, starting on frame 2.<br>- On the last frame of this animation add in the action &quot;Go to and play frame 2&quot;. This will loop the loading animation.<br>- Then, in the middle of that animation, on another line, create a keyframe with the action &quot;If frame is loaded (200), Go to and Play (10), End frame loaded&quot;. What this does is only start playing my main movie (which starts on frame 10) once frame 200 is loaded up.<br><br>I don't know if this is any help at all, but good luck anyway!<br><br>
 
That works fine as a general &quot;loading&quot; but obviously will not give you the slider bar 0% to 100%.<br><br>If you REALLY need a slider bar, you can do something very similar where you will have 12 frames at the start. You have a 200 frame movie:<br>1 Movie loading - if frame is loaded (20) go to and play (2)<br>2 10% loaded - if frame loaded (40) go to and play (3)<br>3 20% loaded - if frame loaded (6) go to and play (4)<br><br>etc. Don't forget you'll need to stop the movie at each frame...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top