YOu can delete "this.loadBar._width = getPercent*200;" If you dont whant the loading text. and replace "gotoAndStop(3)" whit "gotoAndPlay(3)" if you whant it to play an animation
mine wasn't working either, until I noticed that I named my loadbar and loadtext in all lowercase letters so I changed that in the script and presto! It worked! THANK YOU SOOOO MUCH!!!!!
mine wasn't working either, until I noticed that I named my loadbar and loadtext in all lowercase letters so I changed that in the script and presto! It worked! THANK YOU SOOOO MUCH!!!!!
mine wasn't working either, until I noticed that I named my loadbar and loadtext in all lowercase letters so I changed that in the script and presto! It worked! THANK YOU SOOOO MUCH!!!!!
mine wasn't working either, until I noticed that I named my loadbar and loadtext in all lowercase letters so I changed that in the script and presto! It worked! THANK YOU SOOOO MUCH!!!!!
hey can you show me how to now all about action script i wanna create games and i have flash macromedia 8 i learn from other video some basic script like cuadrado._alpha -= 50 but i wanna create game i wanna now how to make the actions of the character i now there are other video that show you but they dont explain what they do i can copy paste but i wanna now the definition of each thing can u help me plzz
is there a way to use this preloader, so its not a preloader-- instead, you can navigate through my swf file while it is loading, and watch the load bar so you know when the entire site has been loaded? does that make sense?
I copied and pasted the action script code into my flash project but somehow incurred an error in line one and line five. (It put a '-' at the end of the line). This was only due to the copy and paste and not the code itself, which worked after I checked the code with the video.
A small problem. My preloader doesn't show up how it loads. It simulates the download but i can't see how the bar is filling, not even the percent loader. I cannot find what is the problem ! need help :D
I have a question! What if I have finished the animation on the scene, but I need a preloader! How is that possible to do? I made a new scene and called her Scene 2, and now I'm working preloader in scene 2, or? or I have to start from the very beginning?
@winmiks insert two frames at the beginning of each layer in your project. These will be the preloader frames. Make sure to clear the frames of content if there is any there.
@Gevreet45 check to see if there is a minus sign '-' at the end of the line. It shouldn't be there. It happens if you copy and paste the code. It also appears in line five.
This video is very helpful. I do have a question for anyone that may be able to help me. I have put an image behind my fill, and I want my fill to shrink instead of grow, so it looks like the image behind the fill is actually the load bar. Does anyone know how I can change his code to make the fill do the opposite of what he made it do? Thanks.
This preloader is exactly what I needed. Thank you very much for the tutorial. It's simple and can be easily customized to suit a variety of uses and loading animations. I'm not a coding genius, but found the instructions easy to follow. And now I've implemented this into a client project with an interactive menu and Flash video.
The only modification I had to make to the code was on the last line, where I changed it to: gotoAndPlay(3)
@Trygve12345678987654 Press ctrl + enter, click view, click simulate download. You can also set how fast it downloads by clicking view and then download settings.
first tutorial that actually got me to be able to make a damn preloader finally. Awesome tutorial. Can you make one for having a linked .flv file play and after it plays go to the next frame? having a really hard time with that. Thanks for this great tutorial though!!
thank man . . . you rock
amodesagar 2 weeks ago
This worked! YES!!! :,D
YOu can delete "this.loadBar._width = getPercent*200;" If you dont whant the loading text. and replace "gotoAndStop(3)" whit "gotoAndPlay(3)" if you whant it to play an animation
simidud 1 month ago
Really nice video...simple easy to follow...very cool....thanks a million and wish you a merry Xmas...:P
karankaran128 1 month ago
thank you!
Gundeman 3 months ago
Perfect, just what I needed... thank you!
41sniper 4 months ago
Thank you very much for posting this video, great tutorial.
alexjmold 4 months ago
This has been flagged as spam show
mine wasn't working either, until I noticed that I named my loadbar and loadtext in all lowercase letters so I changed that in the script and presto! It worked! THANK YOU SOOOO MUCH!!!!!
designrox17 4 months ago
This has been flagged as spam show
mine wasn't working either, until I noticed that I named my loadbar and loadtext in all lowercase letters so I changed that in the script and presto! It worked! THANK YOU SOOOO MUCH!!!!!
designrox17 4 months ago
mine wasn't working either, until I noticed that I named my loadbar and loadtext in all lowercase letters so I changed that in the script and presto! It worked! THANK YOU SOOOO MUCH!!!!!
designrox17 4 months ago
mine wasn't working either, until I noticed that I named my loadbar and loadtext in all lowercase letters so I changed that in the script and presto! It worked! THANK YOU SOOOO MUCH!!!!!
designrox17 4 months ago
nice thank you for the tutorial
rhodhellie0510 6 months ago
Dude, you're CLEARLY an expert on this stuff- and Im encountering some problems so...
Im in the process of makin a preloader- only its not a bar- its like a bar of choclate tipping diagonally upward...
When I put code in it it registered the percentage- so that works; only the stupid fill sticks to the side and is thinner than its supposed to be ¬_¬
PLEASE help asap- iv only just got the trial version of CS5.5 and I really need to get this project done- thanks :)
HyperFalco 6 months ago
USING CS5 but still using AS2...
I get a "location" through my computer routing to a certain folder but it says that Math conflicts with another class that was laoded as Math
that being Math.round (is what i believe its saying) is conflicting with Math.as (which stands for Actionscript if i had to guess)
NostalgiaInOAB 6 months ago
hey can you show me how to now all about action script i wanna create games and i have flash macromedia 8 i learn from other video some basic script like cuadrado._alpha -= 50 but i wanna create game i wanna now how to make the actions of the character i now there are other video that show you but they dont explain what they do i can copy paste but i wanna now the definition of each thing can u help me plzz
MegamanIIX 7 months ago
thanks mate it worked^^
NZebT 9 months ago
thanks mate it worked
NZebT 9 months ago
For me the code worked with gotoAndPlay(3) and not with gotoAndStop(3)
Mr27221 11 months ago
chris00365 and everyone copying the script: Don't for the ";" after the last action script
Thanks so much
ouvresa 11 months ago
@ouvresa It depends what type of action it is and where it is.
Bladestorm687 11 months ago
I am try this preloaded but this does not work please every thing is correct please can i help me
forsaini37 1 year ago
Every thing works fine ( no errors ), but whenever I ctrl+enter
the images loads but I can't see the progress bar neither the progressing numbers,
I only see the frame of the bar.
(I pasted a 500kb image at the 3rd frame)
what should I do?
KareemGraphic 1 year ago
@KareemGraphic Upload ur file on Server, u'll see preeloader
naeemdal 1 year ago
thanks, your help me a lot! it works!
ciberfaustodmx007 1 year ago
is there a way to use this preloader, so its not a preloader-- instead, you can navigate through my swf file while it is loading, and watch the load bar so you know when the entire site has been loaded? does that make sense?
fss106 1 year ago
i mean... can i add a line of code to this preloader that makes the bar visible WHILE my movie is playing/loading
fss106 1 year ago
I copied and pasted the action script code into my flash project but somehow incurred an error in line one and line five. (It put a '-' at the end of the line). This was only due to the copy and paste and not the code itself, which worked after I checked the code with the video.
seeble 1 year ago
fuck it didnt work.. everytime i try i get an error report total bullshit
KylePNHicks 1 year ago
Thanks so much for the tutorial!!! It helped a lot!!
poulama21 1 year ago
Comment removed
0jincho0pez0 1 year ago
thanks a lot :D!!!!!
0jincho0pez0 1 year ago
A small problem. My preloader doesn't show up how it loads. It simulates the download but i can't see how the bar is filling, not even the percent loader. I cannot find what is the problem ! need help :D
St1nkyz0r 1 year ago
Comment removed
St1nkyz0r 1 year ago
I have a question! What if I have finished the animation on the scene, but I need a preloader! How is that possible to do? I made a new scene and called her Scene 2, and now I'm working preloader in scene 2, or? or I have to start from the very beginning?
winmiks 1 year ago
@winmiks insert two frames at the beginning of each layer in your project. These will be the preloader frames. Make sure to clear the frames of content if there is any there.
seeble 1 year ago
Very nice! I appreciate your quick presentation without doddling around :-) I learned a lot as a beginner from this video so THANK YOU!
Love!
GentleIslam . com
FreeSpeech.isgreat . org
GentleIslam 1 year ago
syntax error in line one, doesn't work
Gevreet45 1 year ago
@Gevreet45 check to see if there is a minus sign '-' at the end of the line. It shouldn't be there. It happens if you copy and paste the code. It also appears in line five.
seeble 1 year ago
@Gevreet45 change the , or . at the end of the line by a ;
monimoni0147 8 months ago
This video is very helpful. I do have a question for anyone that may be able to help me. I have put an image behind my fill, and I want my fill to shrink instead of grow, so it looks like the image behind the fill is actually the load bar. Does anyone know how I can change his code to make the fill do the opposite of what he made it do? Thanks.
allowedtolive 1 year ago
This has been flagged as spam show
I get this error...
Operator '=' must be followed by an operand
From this one line.
bytes_loaded = Math.round(this.getBytesLoaded());
TxIvan102xT 1 year ago
Nice of you posting this tutorial. This really helps.......
ferdzen 1 year ago
Very very good tutorial if i can edit a little bit and maybe it looks like a little bit cooler
add this script to the frame 1
so after the
...
gotoAndStop(3)
this.bytesAll =Math.round(bytes_loaded) + "/" + (bytes_total) + "bytes"
add this and make a dynamic text box where on the stage and name it bytesAll
this will make a text what shows how many bytes loaded of the all bytes
MegaBest93 1 year ago
Hey guys I need help. I want an intro like this but not a preloader, but I wanna add songs in it and stuff. I need help!
DiscoShtick 1 year ago
Thanks alot for the great tutorial, very helpful!
SubzSaiyajin 1 year ago
GREAT TUTORIALLL
djluis1984 1 year ago
gotta love it when it WORKS!
Thanks
bioskooop 1 year ago
@bioskooop
yes you can
MegaBest93 1 year ago
Great, Now I'll have to learn how to do a loading screen on some of my flash videos!
MatthewSeldon017 1 year ago
Thank you. Very useful and easy
t3tuning 1 year ago
"On the Turd frame" haha. But seriously, man, awesome lesson. Thanks a lot!
kazuyasd 1 year ago
GRande ENRICO!!! 0ottimo tutorial!
NONJO 1 year ago
This preloader is exactly what I needed. Thank you very much for the tutorial. It's simple and can be easily customized to suit a variety of uses and loading animations. I'm not a coding genius, but found the instructions easy to follow. And now I've implemented this into a client project with an interactive menu and Flash video.
The only modification I had to make to the code was on the last line, where I changed it to: gotoAndPlay(3)
Thanks again!
ChrisYuen1978 2 years ago
that's work fine
thx bro
psyamin 2 years ago
This is a very good tutorial, it works fantastically. Here is the action script for people to copy. Remember to change the frame it links to:
bytes_loaded = Math.round(this.getBytesLoaded());
bytes_total = Math.round (this.getBytesTotal());
getPercent = bytes_loaded/bytes_total;
this.loadBar._width = getPercent*200;
this.loadText = Math.round(getPercent*100)+"%";
if (bytes_loaded == bytes_total){
gotoAndStop(3)
}
chris00365 2 years ago 30
@chris00365
Hey chris, is it possible to change the font of the loading percentage?
bioskooop 1 year ago
@chris00365 Though on the last line, change:
this.loadText = Math.round(getPercent*100)+"%";
to:
loadText.text = Math.round(getPercent*100)+"%";
It'll make the "60% etc" text work, also type it in yourself or
it comes up with an error.
MX86Pongo1002 1 year ago
@chris00365 HELP! It says that in the line
bytes_loaded = Math.round(this.getBytesLoaded());
It expects a '(' or a ','.
Also, I can not find where to simulate download, I use cs4
Trygve12345678987654 1 year ago
@Trygve12345678987654 Press ctrl + enter, click view, click simulate download. You can also set how fast it downloads by clicking view and then download settings.
DestinyCode 11 months ago
lock and load mon lol
nice voice
fatlurd2992 2 years ago
Thanks this is great. You helped a bunch!
StrictGamingVideos 2 years ago
Thank you a VERY lot.
I've been thrying a many others, and nothing worked.
You just brilliant.
Wish you a Merry Xmas.
pruljnij 2 years ago 6
Nice everything works except for the text. It kept giving 'NAN'. Can you PM me how to fix this?
OrinChannel 2 years ago
first tutorial that actually got me to be able to make a damn preloader finally. Awesome tutorial. Can you make one for having a linked .flv file play and after it plays go to the next frame? having a really hard time with that. Thanks for this great tutorial though!!
BobbyRaio 2 years ago
actions is faster to open if you press F9
RNGbladestudios 2 years ago
hi men i got a question its codes just works in mac? thanks for answer me
williamzeus 2 years ago
hi i got a question it codes just works in mac?
thanks for answer me
williamzeus 2 years ago
great job, thank you so much, it helped a lot!
Januss150 2 years ago
Hi. Super tutorial, but doesn't work with movieclips. Can you help me?
If i have a MC after preloader (in frame 3) doesn't play the entire MC, only the first frame and it freezes there.
nervOptik 2 years ago
instead of gotoAndStop try gotoAndPlay
thunt180 2 years ago
great tutorial.... BIG BIG HELP... thank you!
rednivog50 2 years ago
Thanks man! Helped a lot!
ThehPivoteer 2 years ago
i don't have simulate download. what should I do?
Weirdpman 2 years ago
didn't work.. fuck flash , this is the 20th time trying to make a preloader and I always can't get it done
jimbolooo 2 years ago
Did you try pressing simulate download?
ThehPivoteer 2 years ago
thx helped a lot!
TheDarkGhoul 2 years ago
Is it possible to make it go to the other scene instead of another frame??
stephanieflower 2 years ago
Comment removed
stephanieflower 2 years ago
thanks it work
Pyroo0 2 years ago
how can i make this work for a flash animation?
TTheFuckk 2 years ago
hey what to do if i dont have that option "simulate download" ?????
mazaisvilijs 2 years ago
I use Adobe Flash CS3 and its not in the main window. You have to click TEST MOVIE then, in that movie go to view > Simulate download.
MichaelOretta7784 2 years ago
use CTRL+ENTER for PC
jaymoragne 2 years ago
Thanks for the great tutorial, I got mine to work just fine now!!
freedumb4all 2 years ago
thank you so much. very useful and to the point
MoreDentsPlease 2 years ago