Flash CS4: Setup a basic preloader

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
2,950
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Dec 22, 2009

* I recommend watching this video in full screen, & HD.

Creating a simple preloader for a visual effect when loading the larger Flash file.
If there are any questions about the video be sure to leave a comment or send me a message.

**********
PRELOADER ACTIONSCRIPT:
loaded = Math.round(_root.getBytesLoaded());
total = Math.round(_root.getBytesTotal());
percent = loaded/total;
this.loadBar._width = percent*300;
this.loadText = Math.round(percent*100) + "%";
if (loaded == total) {
gotoAndStop("content")
}

**********

the shots diaries

  • likes, 3 dislikes

Link to this comment:

Share to:

Uploader Comments (flash276)

  • the actionscript isn't very clear, could you type it here again because it won't work over here and I think I typed something wrong in my actions.

  • @bloodybastia6 Argh, YouTube!!!

    Yeah they've done something, and now the video quality of the video is bad. The video used to be clear before YouTube went through this recent update. I'll add the actionscript to the description until I can sort something further. Sorry for the bad quality. Also try watching in HD and full screen. Will help.

Video Responses

This video is a response to Creating a simple button in Flash CS3
see all

All Comments (7)

Sign In or Sign Up now to post a comment!
  • Hey, I'm sorry but my Flash CS4 tells me that "_root" isn't used anymore in AS 3.0, and the closes one would be "Stage" but in any case it does not recongise the "get Bytes***" preperty, what can I do?

  • thanks mate ;)

  • good video..gay OS lolz

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