Simple Flash AS2 Preloader Tutorial
Uploader Comments (projectfinale)
All Comments (35)
-
thanks!
-
@projectfinale I AM USING AS2! >:O
-
@RyuRanXII On the frame where the loading bar is... click the 'T' to add text to the frame. Then under the properties of the text you just created, change it from "Static Text" to "Dynamic Text". Then make the instance name something like "perctext".
The code would go something like this (put the code in the same {} block where the bar is being updated):
perctext.text = Math.round(amount*100) + "%";
-
@RyuRanXII On the frame where the loading bar is... click the 'T' to add text to the frame. Then under the properties of the text you just created, change it from "Static Text" to "Dynamic Text". Then make the instance name something like "perctext".
The code would go something like this (put the code in the same {} block where the bar is being updated):
perctext.text = Math.round(amount*100) + "%";
1 error = line 1 = must be onClipEvent = how im gonna fix that
gabyartizada1 3 months ago
@gabyartizada1 Either you are using AS3 which then it will not work, or you forgot to select the movie clip before entering the code. The code is not for the entire file, it is only for the movieclip you created. So click the movie clip first, then click actions, then add the code.
If that is not the problem, just download the source code (link in the description), and it should work just fine.
projectfinale 3 months ago
dude u are a life saver. short, simple, straight to the DAMN point!!!
upload 4 months ago
@upload Thank you, and I like your name... that's a rare one for sure!!!
projectfinale 4 months ago
@projectfinale
Thank you! It's working!
RyuRanXII 5 months ago
@RyuRanXII No problem!!! If you need help with anything else just let me know or send me a message!!!
projectfinale 5 months ago