Added: 1 year ago
From: da1bu89
Views: 10,713
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:

All Comments (42)

Sign In or Sign Up now to post a comment!
  • 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.

  • how can i set the gray background to an image... need your urgent response. THANK YOU IN ADVANCE

  • I am using

    "stop();

    stage.addEventListener(Event.E­NTER_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(Even­t.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 PS--I took out the text line on purpose; even with it in, it still skips stop(); script

  • I dont have dynamic text. How do you get it?

  • @mwrig7 Select your text field, and in the properties Panel change the textfield type from static to dynamic at the top.

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

  • worked well for me, thanks for that mate. you got yourself a subscriber :)

  • awesome, thank you.

  • thanks buddy

    

  • How to make Preloader in flash cs5? with action script 3.0?

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

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

    I was using CS5.

  • Thanks! This worked perfectly! Awesome!!!

  • the text percentage does not show ?? help

  • Hmm, everything works for me except the text that's supposed to display the percentage loaded. Not sure why!

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

  • really good tutorial

    to bad it doesnt work on my cs5 as 2

    D;

  • what does MC stand for?

  • @WithLoveFromKay

    Movie Clip

  • @MegaGrenade

    ahaha that was a stupid question :P

  • I just get a white screen instead of a loading bar when I preview it. No errors, just a blank screen.

  • @beep41 I got the exact same problem! I don't know what to do! :(

  • @beep41

    view, stimulate download

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

  • @S2kFederation press f9

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

  • doesnt work in cs5. "Access of undefined property totalBytes"

  • very nice !!!

  • Mine loads in literally a millisecond and shows way to fast in repeat - what did i do wrong?

  • it actually worked!!! wahooooo!!!! why is it, every new version of flash that comes out, I have to relearn everything? total hassle.

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

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

  • doesn't work!!!!!!!! in cs5 ...

  • this did not work at all

  • Comment removed

  • Great tutorial. Great Explaining, I think even total newbie could do a preloader after watching this with paying attention. gj

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

Loading...
Alert icon
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