Added: 2 years ago
From: FlashVideoTutorial
Views: 34,136
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:
see all

All Comments (81)

Sign In or Sign Up now to post a comment!
  • thank man . . . you rock

  • 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

  • Really nice video...simple easy to follow...very cool....thanks a million and wish you a merry Xmas...:P

  • thank you!

  • Perfect, just what I needed... thank you!

  • Thank you very much for posting this video, great tutorial.

  • 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!!!!!

  • nice thank you for the tutorial

  • 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 :)

  • 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)

  • 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

  • thanks mate it worked^^

  • thanks mate it worked

  • For me the code worked with gotoAndPlay(3) and not with gotoAndStop(3)

  • chris00365 and everyone copying the script: Don't for the ";" after the last action script

    Thanks so much

  • @ouvresa It depends what type of action it is and where it is.

  • I am try this preloaded but this does not work please every thing is correct please can i help me

  • 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 Upload ur file on Server, u'll see preeloader

  • thanks, your help me a lot! it works!

  • 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 mean... can i add a line of code to this preloader that makes the bar visible WHILE my movie is playing/loading

  • 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.

  • fuck it didnt work.. everytime i try i get an error report total bullshit

  • Thanks so much for the tutorial!!! It helped a lot!!

  • Comment removed

  • thanks a lot :D!!!!!

  • 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

  • Comment removed

  • 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.

  • 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

  • syntax error in line one, doesn't work

  • @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.

  • @Gevreet45 change the , or . at the end of the line by a ;

  • 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.

  • Nice of you posting this tutorial. This really helps.......

  • 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

  • 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!

  • Thanks alot for the great tutorial, very helpful!

  • GREAT TUTORIALLL

  • gotta love it when it WORKS!

    Thanks

  • @bioskooop

    yes you can

  • Great, Now I'll have to learn how to do a loading screen on some of my flash videos!

  • Thank you. Very useful and easy

  • "On the Turd frame" haha. But seriously, man, awesome lesson. Thanks a lot!

  • GRande ENRICO!!! 0ottimo tutorial!

  • 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!

  • that's work fine

    thx bro

  • 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

    Hey chris, is it possible to change the font of the loading percentage?

  • @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.

  • @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 Press ctrl + enter, click view, click simulate download. You can also set how fast it downloads by clicking view and then download settings.

  • lock and load mon lol

    nice voice

  • Thanks this is great. You helped a bunch!

  • Thank you a VERY lot.

    I've been thrying a many others, and nothing worked.

    You just brilliant.

    Wish you a Merry Xmas.

  • Nice everything works except for the text. It kept giving 'NAN'. Can you PM me how to fix this?

  • 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!!

  • actions is faster to open if you press F9

  • hi men i got a question its codes just works in mac? thanks for answer me

  • hi i got a question it codes just works in mac?

    thanks for answer me

  • great job, thank you so much, it helped a lot!

  • 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.

  • instead of gotoAndStop try gotoAndPlay

  • great tutorial.... BIG BIG HELP... thank you!

  • Thanks man! Helped a lot!

  • i don't have simulate download. what should I do?

  • didn't work.. fuck flash , this is the 20th time trying to make a preloader and I always can't get it done

  • Did you try pressing simulate download?

  • thx helped a lot!

  • Is it possible to make it go to the other scene instead of another frame??

  • Comment removed

  • thanks it work

  • how can i make this work for a flash animation?

  • hey what to do if i dont have that option "simulate download"  ?????

  • 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.

  • use  CTRL+ENTER for PC

  • Thanks for the great tutorial, I got mine to work just fine now!!

  • thank you so much. very useful and to the point

Loading...
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more