Nov 7, 2009

Pre Loader Tutorial For Flash - Made by: Jordain

free web hosting
Open Discussion & Free Web Hosting > Computers & Tech > How-To's and Tutorials > Graphics and Animation > Flash and Shockwave

Pre Loader Tutorial For Flash - Made by: Jordain

jord2
Simple pre loader tutorial with play button by: Jordain Joyce

First of all open up flash then

Create 4 Layers and in order name them: Actions
Loader outline
Loader Bar
Content

Then create 3 frames for each layer.
Lets start in the actions layer, for the first frame make it blank and the second frame make it blank also. Press F9 to open the actions panel (make sure you are in the 2 frame of the actions layer) and put this in
CODE
myLoaded = Math.round(getBytesLoaded());
myTotal = Math.round(getBytesTotal());
myPercent = myLoaded/myTotal;
myBar._width = myPercent*170;
MyText = Math.round(myPercent*100)+"%";
if (myLoaded == myTotal) {
    gotoAndStop(3);
} else {
    gotoAndPlay(1);
}

Ok so now your done with the action layer now you move on to the Loader outline. Select the rectangle tool and create a box with a width of 170 and a height of 10. (to change the width and height just make any size box and then go to Properties and change it there). Ok so you have a rectangle with a fill inside the border so select the fill inside the border and right click it and cut it. Now you change in the loader bar layer and right click and select paste in place. Now select the fill and press F8 to make it a movie clip. Make sure when you are making it into a movie clip change the registration to the top left square!! Now once it is a movie clip go back to the previous screen with all the layers in it. So you are still in the loader bar layer so click on the rectangle just the filled one and go to properties and change its name myBar (you put the name in right beside where it has the swap button is.

For your loader outline and your loader bar on the third frame make it a blank keyrame.

Now to move on to your content layer, which is your play button. (I am only showing you how to make a play button, in another tutorial I will show you how to make a scene select button) Now make a rectangle or something that will be your button. Once you are done that click on it and press F8 and make it a button (you can make it a MC but for this tutorial I’ll keep it simple) Now once you finish making it a button (your registration is probably still in the top left I would suggest changing it back to the middle) you click on it once and press F9 to go into your action panel and copy and paste this in there

CODE
on (press) {
play();
}

For the frames for the content layer it doesn’t really matter if you leave it all with the button but if you want the button to only appear when it is done loading make the first two frames blank and the last frame you have your button in it. Here a picture to show you what all your layers and frames should look like.
IPB Image
Now to test this movie first create a new scene and import a large picture file. Now drag it on the screen. You do this so your pre loader has something to load. Now test your movie by pressing ctrl+enter twice. Remember twice so if you see your bar going across that means you got it. YAY!!!

If you have any questions just PM me.

Hope you found this tutorial handy this is my first tutorial I made =D

Remember NO stealing I spent time doing this and stealing isn’t cool >=(

Made by: Jordain Joyce

 

 

 


Comment/Reply (w/o sign-up)

OpaQue
Wow! Thanks for the Flash preloader tutorial :-) This is definately going to be handy smile.gif

Comment/Reply (w/o sign-up)

jord2
Ya I am going to be making a couple more tutorials but they probably wont be as long as this one. Iam going to make a scene select button tutorial and how to make a good frame by frame movie. I would like to make a tutorial on how to make a basic game but I only know some gaming AS and the tutorial for it would be filled with mistakes :/

Comment/Reply (w/o sign-up)

techocian
I'll try this out right now. I haven't always been very good with Macromedia Flash and making movies using that program. So i hope i can learn a little more through your tuts. biggrin.gif

Comment/Reply (w/o sign-up)

VexD
Theres a preloader that you can just edit and use for urself hosted at newgrounds.com

http://www.newgrounds.com/flash/NewgroundsPreLoader.fla

Comment/Reply (w/o sign-up)

FeedBacker
how many Loaders can be use on the same page / adding links to external text file
Pre Loader Tutorial For Flash

Well I guess is clear ,,,, I hope ,,,, I am a new user and trying to learn some flash ,,,,, need to know how many Loaders I can use on the same page and if is possible to add to an external text that is been loaded with variables links to the text.Text file
I

-reply by Nano

Comment/Reply (w/o sign-up)

iGuest-shyju
Help needed to create a preloader
Pre Loader Tutorial For Flash

Hi,
Friend, I want to create a preloader which consist of 5 diamonds, as the percentage is loader the diamond should glow. I.E. If the percentage loaded is 20% then 1 diamond should glow. When the percentage loaded is 40% two diamond should glow. I think you got what I mean to create. Can you help me with it. I think masking is not the proper way, since I tried it. It doesn�t work good.Please can you help me?

-question by shyju

Comment/Reply (w/o sign-up)

andreip
Nice tutorial mate. I would like to see it in Action Script 3 too smile.gif.

Comment/Reply (w/o sign-up)


Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

This textarea will convert to Rich-Text automatically (IE, Firefox, Chrome)

Similar Topics

Keywords : pre, loader, tutorial, flash, made, jordain

  1. How To Make A Scene Select Button
    Made by: Jordain joyce (2)
  2. Vaile's Flash Mx 2004 Tutorial!
    For Rollover Music Sigs (5)
    HOW TO MAKE A ROLLOVER MUSIC SIG IN FLASH MX 04 its a n00b job, but for you who cant do it...
    -------------------------------------------------------------------- 1. Firstly, we need to open a
    new document. 2. Now, bearing in mind the sig you want to use, set the size of the flash
    document like so: Note: These are the settings for my sig, you must make the size of your
    document the size of the sig you are using 3. Now, hold "ctrl" and press "r" to open the import
    window. find the sig you want to use and click open. 4. If it hasnt centered automat....
  3. A Button That Senses The Mouse
    FLASH TUTORIAL : MOUSE ROLLOVER EFFECTS (2)
    Creating a button that senses the mouse and then expands. Requirement: Flash MX Step 1: Open a
    new document. In the actions for frame 1 of layer name layer 1 type: menutriggerdist=150;
    menumaxscale=300; menumultiplier=1.5; This control how and when the mouse interacts with button.
    Once you have completed all the steps, change them around and see how each one changes the effect.
    Step 2: Cntl+f8 (Insert --> New Symbol) Click on new movie click, call it Ibutton. In the frist
    frame create your image or whatever you want the mouse to interact with , to make it eas....
  4. Flash Webcam Room
    An easy flash application (8)
    Quick and Easy Webcam Chatroom Required: Flash Communication Server 1.5 Flash Step 1: Create a
    new folder called webchat in the c:\(Where ever you put your server files)\flash communication
    server mx\applications folder. Step 2: Open notepad file. Type: load( "components.asc" ); Save
    file as "main.asc" in the webchat folder. Step 3: Open Flash and save file as "webchat" in the
    webchat folder From the Communications Components side bar: 3.1 Drag a SimpleConnect onto your
    flash page 3.2 Drag a SetBandwidth onto your flash page, in the properties box change the c....
  5. Matching Sound To Animations In Flash
    (2)
    This is something I worked at for a while. I used to play sounds by selecting start on the
    properties tab, and the animation never lined up with the sound waves on timeline. If you switch it
    to stream, it changes the wave and allows animation to be aligned to the sound. Also, a sound can be
    cut short by not extending the frames enough, so beware. Hope I helped again Peace Aaron....
  6. Using Sprites In Flash
    Pictures in a series (2)
    Sprites, as you may or may not know, are pictures in a series used for animations. They are very
    helpful in flash as you can use pre-made/pre-sized pictures and don't have to draw the animation
    yourself. To use a sprite, first open a new window. Make sure the sprites are saved as separate
    files, and then click file->import->import to library and import all the sprites. select the first
    frame, and drag the picture from the library to the stage. Take note of where it is located on the
    stage by looking at the properties tab. click 2-6 frames later(depending on how fast ....
  7. Using Symbol Effects In Flash
    Symbol Effects (0)
    Flash Tutorial 4: Symbol Effects The last thing I will cover with this series of tutorials for
    Flash Macromedia is effects/transitions/transformations which are probably the easiest to use but
    since there are so many things that can be done with them easily - I feel it's worth covering
    and learning for any begining flash designer. 1. 1st open a blank Flash Document 2. create a
    keyframe(select and press F6) on the first frame in the timeline(top of flash window) 3. Use the
    circle tool and draw a circle of desirable size on the canvas. If you have been following ....
  8. Introduction To Mask Layers In Flash
    Mask Layers (0)
    Flash Tutorial 3: Mask Layers Mask Layers are a good way to show content underneath the top layer
    in a flash movie. To get familiar with the effect you really need to do it a few times to
    understand the potential. 1. Start with the bottom layer you have already. Paste something into it
    that takes up most of the canvas ie. jpeg or something. 2. Insert a new layer into the timeline.
    (select the layer 1 and click the button in the lower left corner of the window) 3. Lock 'Layer
    1'. (There is a lock next to the colored box for the layer on the left panel of th....
  9. Shape Tweening In Flash
    Shape Tweening (1)
    Flash Tutorial 2: Shape Tweening Shape Tweening is basicall where you have 2 shapes and you morph
    one into the shape of the 2nd shape. The procedure to do this is quite simple really : 1. 1st open
    a blank Flash Document 2. create a keyframe(select and press F6) on the first frame in the
    timeline(top of flash window) 3. Use the circle tool and draw a circle of desirable size on the
    canvas. 4. Select a subsequent frame on the timeline like frame 24 (sec @ 12frames/sec) press F6 to
    insert a keyframe. Your drawn cirlce should appear again after this step. 5. DO NOT CO....
  10. Motion Tweening In Flash
    Simple Motion Tweening (0)
    As many know - Flash Macromedia is en vogue these days and you can actually do some pretty cool
    stuff with it. I'm going to do a couple of simple tutorials to get those people started using
    flash. Once you start to use it and get some of the basic concepts, you can do some cool simple
    animation for your websites or whatever. Tutorial 1: Simple Motion Tweening Motion tweening is
    basically a quick way to animate something. 1. First you need to draw an object on the screen (you
    can also import a graphic or something too). Make sure you get the graphic or drawing ....

    1. Looking for pre, loader, tutorial, flash, made, jordain

See Also,

*SIMILAR VIDEOS*
Searching Video's for pre, loader, tutorial, flash, made, jordain
advertisement



Pre Loader Tutorial For Flash - Made by: Jordain

Affordable Web Hosting, Low cost Web Hosting - ComputingHost.com