I'd greatly appreciate it if I got some feedback on this. In line 15 I keep getting "syntax error: expecting semicolon before x" and "syntax error: expecting rightbrace before semicolon". I was copying the code directly from the video so I would like to know what I did wrong.
percent_txt.text = Math.floor((loadedBytes / totalBytes) * 100) + "%"; the text_txt didn't go well with the bar....the bar have worked well, but the text bar didn't do anything, have i done something wrong?
hey, i have already made my game, and trying to create a preolader, i'm doing everything that you do but always showing dots and never loaded my game...... plz help
thanks. worked well except that, like the previous comment, there is a about a 5 second delay before anything appears on the screen when simulating download. Also, for some reason I had to add a 2nd curly bracket at the end of the script for it to work. Probably some novice error copying. Using CS5.
Worked rather nicely, however it doesn't appear for a while once I've 'simulated download' and doesn't show text. I wasn't fussy in the beginning about the text part anyway so thank you!
This works when all I'm using is images but when I put in audio, I dont hear it. I hear it from the timeline, but when I press ctl+enter to watch the video all together, I dont hear it. PLEASE HELP!
Thanks! great tutorial. does this work if I want to load my homepage or an image into my site without having the viewer download the actual file. well, at least not permanently downloading it to file. thanks in advance.
Hello! Thanks for making this tutorial. ;D I tried it and it works... But I just wondered why the preloader I made didn't start with a 0% but it started at about 50% and so on... Did I do something wrong with it? >_< Hope you could help. :) Thank you ^^
Hi! Thanx for the tutorial! It has been very helpful. The only problem that I have is that when I insert the swf on an .html document and upload it to my server, I get an error. The bar actually scales to the left side of the outline (completely out of it) and in the dynamic text field I get "Infinity". And the movie just never starts. None of this happens when I test it in my computer. If you could please give me a hand, I would appreciate it a lot. Thanx again!
I'd greatly appreciate it if I got some feedback on this. In line 15 I keep getting "syntax error: expecting semicolon before x" and "syntax error: expecting rightbrace before semicolon". I was copying the code directly from the video so I would like to know what I did wrong.
FR33DOMK1D 4 days ago
how can i set the gray background to an image... need your urgent response. THANK YOU IN ADVANCE
ewankoh27 6 days ago
I am using
"stop();
stage.addEventListener(Event.ENTER_FRAME, update);
function update(e:Event):void { var loadedBytes:Number = stage.loaderInfo.bytesLoaded; var totalBytes:Number = stage.loaderInfo.bytesTotal; progress_mc.scaleX = loadedBytes / totalBytes; if (loadedBytes == totalBytes) { gotoAndStop(2); stage.removeEventListener(Event.ENTER_FRAME, update); } } "
but it ignores the stop(); script for the rest of the video once I test it. does anyone know what i'm doing wrong?
sarydactl 1 week ago
@sarydactl PS--I took out the text line on purpose; even with it in, it still skips stop(); script
sarydactl 1 week ago
I dont have dynamic text. How do you get it?
mwrig7 1 week ago
@mwrig7 Select your text field, and in the properties Panel change the textfield type from static to dynamic at the top.
da1bu89 1 week ago
percent_txt.text = Math.floor((loadedBytes / totalBytes) * 100) + "%"; the text_txt didn't go well with the bar....the bar have worked well, but the text bar didn't do anything, have i done something wrong?
AbdallahElMalak 1 month ago
worked well for me, thanks for that mate. you got yourself a subscriber :)
AbdallahElMalak 1 month ago
awesome, thank you.
replambe 1 month ago
thanks buddy
iamRhythmalism 2 months ago
How to make Preloader in flash cs5? with action script 3.0?
MrMohamedid66 2 months ago
Scene 1, Layer 'Layer 1', Frame 1, Line 4 1119: Access of possibly undefined property bytesLoaded through a reference with static type Class.
What is main???
MrMohamedid66 2 months ago
hey, i have already made my game, and trying to create a preolader, i'm doing everything that you do but always showing dots and never loaded my game...... plz help
pavloskitho 3 months ago
thanks. worked well except that, like the previous comment, there is a about a 5 second delay before anything appears on the screen when simulating download. Also, for some reason I had to add a 2nd curly bracket at the end of the script for it to work. Probably some novice error copying. Using CS5.
uklaughingboy 6 months ago
Worked rather nicely, however it doesn't appear for a while once I've 'simulated download' and doesn't show text. I wasn't fussy in the beginning about the text part anyway so thank you!
I was using CS5.
BayleyDobe 6 months ago
Thanks! This worked perfectly! Awesome!!!
melshabu 9 months ago
the text percentage does not show ?? help
worrysmurf 9 months ago
Hmm, everything works for me except the text that's supposed to display the percentage loaded. Not sure why!
kittentaboo 10 months ago
This works when all I'm using is images but when I put in audio, I dont hear it. I hear it from the timeline, but when I press ctl+enter to watch the video all together, I dont hear it. PLEASE HELP!
sk8rlivy 10 months ago
really good tutorial
to bad it doesnt work on my cs5 as 2
D;
WithLoveFromKay 1 year ago
what does MC stand for?
WithLoveFromKay 1 year ago
@WithLoveFromKay
Movie Clip
MegaGrenade 11 months ago
@MegaGrenade
ahaha that was a stupid question :P
WithLoveFromKay 11 months ago
I just get a white screen instead of a loading bar when I preview it. No errors, just a blank screen.
beep41 1 year ago
@beep41 I got the exact same problem! I don't know what to do! :(
UdonBullets 1 year ago
@beep41
view, stimulate download
WithLoveFromKay 1 year ago
Thanks! great tutorial. does this work if I want to load my homepage or an image into my site without having the viewer download the actual file. well, at least not permanently downloading it to file. thanks in advance.
ruenstern 1 year ago
@S2kFederation press f9
yehoshua2123 1 year ago
It didnt worked for me in flash CS5 gives me two errors
Scene 1, Layer 'actions', Frame 1, Line 8 1084: Syntax error: expecting identifier before var.
Scene 1, Layer 'actions', Frame 1, Line 8 1084: Syntax error: expecting rightbrace before semicolon.
And it's true everytime anew version of flash comes out everything changes !
thanks for the tutorial anyway...
leandrosnow 1 year ago
doesnt work in cs5. "Access of undefined property totalBytes"
HUFF586 1 year ago
very nice !!!
grynien 1 year ago
Mine loads in literally a millisecond and shows way to fast in repeat - what did i do wrong?
Electricspaceodyssey 1 year ago
it actually worked!!! wahooooo!!!! why is it, every new version of flash that comes out, I have to relearn everything? total hassle.
sehaitt 1 year ago
amazing; this kind of speed and flawless one smooth 9 minute preloader comes with hard work and experience
Guys it does work, i tested it out..if it works for me ; it will work for you, just don't make any syntax errors..that's really imp.
zorro30mum 1 year ago
Hello! Thanks for making this tutorial. ;D I tried it and it works... But I just wondered why the preloader I made didn't start with a 0% but it started at about 50% and so on... Did I do something wrong with it? >_< Hope you could help. :) Thank you ^^
silentfire249 1 year ago
doesn't work!!!!!!!! in cs5 ...
evaksanTube 1 year ago
this did not work at all
DaRoachDogg 1 year ago
Comment removed
Samedimai 1 year ago
Great tutorial. Great Explaining, I think even total newbie could do a preloader after watching this with paying attention. gj
Nurgiel18 1 year ago
Hi! Thanx for the tutorial! It has been very helpful. The only problem that I have is that when I insert the swf on an .html document and upload it to my server, I get an error. The bar actually scales to the left side of the outline (completely out of it) and in the dynamic text field I get "Infinity". And the movie just never starts. None of this happens when I test it in my computer. If you could please give me a hand, I would appreciate it a lot. Thanx again!
NANJALEN 1 year ago