Flash-Revival
Would you like to react to this message? Create an account in a few clicks or log in to continue.


Taking Creativity To A New Level
 
HomePortalInhouse AnimationsDownloadsLatest imagesLog inSearchRegisterLinks

 

 How To Make An Auto-Play Preloader

Go down 
+3
Axle
Sarah
Cory
7 posters
AuthorMessage
Cory
Averagely Active
Averagely Active
Cory


Posts : 77
Join date : 2008-12-12
Age : 32

How To Make An Auto-Play Preloader Empty
PostSubject: How To Make An Auto-Play Preloader   How To Make An Auto-Play Preloader I_icon_minitimeMon Dec 15, 2008 1:59 pm

So ya need a preloader you say?
Well lets get cracking.
**this is for as2 not as3**

First create a new flash document then press f8 to create a new movieclip (MC)

Now create an 100 frame animation exactly of a progressive bar loading or an intro animation or something. Not 99, not 101. 100.

example: How To Make An Auto-Play Preloader Preloadexample1



Yay you made a 100 frame animation, good job. Now make three blank keyframes on the main timeline in the beginning (right click > Insert Blank Keyframe). Highlight the third keyframe and go to Properties. Set the frames name as "start" without the quotations.

How To Make An Auto-Play Preloader Preloaddiy1


Next put your 100 frame animation in the first two frames, make sure they are in the same place in both frames though. Now on both of the 100 frame animations on both frames add this code

Code:
onClipEvent (enterFrame) {
gotoAndPlay(_root.percentDone);
}

Make sure this is on the Movieclip, not the frame or it won't work!

How To Make An Auto-Play Preloader Preloaddiy2


Finally in the actions of the first frame add
Code:
totalBytes = Math.round(getBytesTotal()/1024);
loadedBytes = Math.round(getBytesLoaded()/1024);
percentDone = Math.round((loadedBytes/totalBytes)*100);
if (_root._framesloaded>=_root._totalframes) {
gotoAndPlay("start");
}

and on the second frame's actions add
Code:
gotoAndPlay(1);


Basically:
1. Create an one hundred frame animation in a mc
2. In another mc create 3 blank keyframes
3. Name the third frame "start" without the quotations
4. Put your mc in the first two frames
5. Add the script

tada, now give yourself a pat on the back =3


Last edited by Cory on Wed Dec 17, 2008 4:15 pm; edited 3 times in total
Back to top Go down
Sarah
Epic Poster
Epic Poster
avatar


Posts : 897
Join date : 2008-12-09
Age : 84

How To Make An Auto-Play Preloader Empty
PostSubject: Re: How To Make An Auto-Play Preloader   How To Make An Auto-Play Preloader I_icon_minitimeMon Dec 15, 2008 4:48 pm

Thank you. That was helpful.
Back to top Go down
Cory
Averagely Active
Averagely Active
Cory


Posts : 77
Join date : 2008-12-12
Age : 32

How To Make An Auto-Play Preloader Empty
PostSubject: Re: How To Make An Auto-Play Preloader   How To Make An Auto-Play Preloader I_icon_minitimeMon Dec 15, 2008 6:08 pm

Your Welcome :)
Back to top Go down
Axle
Averagely Active
Averagely Active
Axle


Posts : 43
Join date : 2008-12-07
Age : 29
Location : Internets

How To Make An Auto-Play Preloader Empty
PostSubject: Re: How To Make An Auto-Play Preloader   How To Make An Auto-Play Preloader I_icon_minitimeMon Dec 15, 2008 11:38 pm

Yay, learning.
Back to top Go down
AkLeMo
-
-
AkLeMo


Posts : 1528
Join date : 2008-12-07
Age : 29
Location : India, Bangalore

How To Make An Auto-Play Preloader Empty
PostSubject: Re: How To Make An Auto-Play Preloader   How To Make An Auto-Play Preloader I_icon_minitimeTue Dec 16, 2008 5:37 am

Sticky'd
Back to top Go down
cal
Amazing poster
Amazing poster
cal


Posts : 155
Join date : 2008-12-15
Age : 115
Location : the land before time

How To Make An Auto-Play Preloader Empty
PostSubject: Re: How To Make An Auto-Play Preloader   How To Make An Auto-Play Preloader I_icon_minitimeTue Dec 16, 2008 12:13 pm

yay
Back to top Go down
Cory
Averagely Active
Averagely Active
Cory


Posts : 77
Join date : 2008-12-12
Age : 32

How To Make An Auto-Play Preloader Empty
PostSubject: Re: How To Make An Auto-Play Preloader   How To Make An Auto-Play Preloader I_icon_minitimeTue Dec 16, 2008 12:58 pm

AkLeMo wrote:
Sticky'd

swwwweet, now this is the part where I thank you. =3
Back to top Go down
AkLeMo
-
-
AkLeMo


Posts : 1528
Join date : 2008-12-07
Age : 29
Location : India, Bangalore

How To Make An Auto-Play Preloader Empty
PostSubject: Re: How To Make An Auto-Play Preloader   How To Make An Auto-Play Preloader I_icon_minitimeWed Dec 17, 2008 2:42 am

and this is where I say no problem. :3
Back to top Go down
Zackie
FR Lover
FR Lover
Zackie


Posts : 342
Join date : 2008-12-21
Age : 31
Location : EARTH!!!

How To Make An Auto-Play Preloader Empty
PostSubject: Re: How To Make An Auto-Play Preloader   How To Make An Auto-Play Preloader I_icon_minitimeMon Dec 22, 2008 11:10 pm

hehe, simple and basic
Back to top Go down
http://www.vanflash.com
Beret
Amazing poster
Amazing poster
Beret


Posts : 195
Join date : 2008-12-23
Age : 30
Location : Desk

How To Make An Auto-Play Preloader Empty
PostSubject: Re: How To Make An Auto-Play Preloader   How To Make An Auto-Play Preloader I_icon_minitimeFri Jan 02, 2009 11:57 am

Great tutorial, thank you.
Back to top Go down
https://www.youtube.com/theboxof7
Sponsored content





How To Make An Auto-Play Preloader Empty
PostSubject: Re: How To Make An Auto-Play Preloader   How To Make An Auto-Play Preloader I_icon_minitime

Back to top Go down
 
How To Make An Auto-Play Preloader
Back to top 
Page 1 of 1
 Similar topics
-
» [Comp] Best Preloader
» Flash Revival PreLoader
» How much do Artists for big companies make?
» Make Your Burner 2.0 Irons Count
» specialty shops to make these samples

Permissions in this forum:You cannot reply to topics in this forum
Flash-Revival :: Creativity :: Tutorials-
Jump to: