Photoshop Tutorials, Flash Tutorials, 3Ds Studio Max Tutorials, Web Design Tutorials


Software Tutorials

Featured Free Templates
View All Templates!
Preview  |  Download
Name: metamorph_flame
Downloads:
Preview  |  Download
Name: metamorph_skyandclouds
Downloads:
View All Templates!
Recommended Hosting:
Host Unlimited Domains on 1 Account
1500GB storage and 15000GB bandwidth for $6.95/mo!
Recommended Hosting:
Host Unlimited Domains on 1 Account
1500GB storage and 15000GB bandwidth for $6.95/mo!
:: Free Website Templates
Preview  |  Download Preview  |  Download Preview  |  Download
Name: metamorph_sunset Name: metamorph_flower Name: metamorph_waterfall
Downloads: Downloads: Downloads:

Do You Like Our Website? Share With Others!
GoogleGoogle slashdotYahooMyWebDiggTechnoratiDelicious
Page: 12345678910111213141516171819202122232425

Welcome To WebDesignTutorials.net Flash Tutorials Area - Creating Animated Professional Looking Preloader Step-by-step in Flash MX 2004

a. Launch Flash MX 2004

b. Create new Flash file. Click File > New…
Screenshot

c. Select Flash Document in a new window
Screenshot

d. You need to create 2 layers in the root of your flash movie. The first layer will serve to contain the preloader and must be consist of one frame, the second one will be used to place the movie content and we need 2 frames in that later. To make thing easier we will name these layers "preloader" and "content"
Screenshot

e. Select "Rectangle Tool"
Screenshot

and draw shape in the first frame of the layer named "preloader"
Screenshot

f. Select the shape and right click on it. In the menu select "Convert to Symbol..."
Screenshot

then select "Movie Clip" option and press OK
Screenshot

g. Now you have included movie in the "preloader" layer. Select the movie you have made and press “F9” to get access to "Action" panel.
Screenshot

It consists of 2 windows. We need to use the right one to continue.
Click on the shape then copy the following code and paste it in the right window:

onClipEvent (load) {
total = _root.getBytesTotal();
}
onClipEvent (enterFrame) {
loaded = _root.getBytesLoaded();
percent = int(loaded/total*100);
text = percent+"%";
gotoAndStop(percent);
if (loaded == total) {
_root.gotoAndPlay(2);
  }
}

Screenshot

h. Select the "preloader" layer (you must see that the code disappear from the right window) and type
stop(); in the right window. If you did everything correctly you should get something like the picture below:
Screenshot

i. Double click the shape to enter the included movie in the "preloader" layer. Now you can see the shape as Flash Object. Select "Rectangle Tool" and draw smaller rectangle with a color different from the white inside the shape (note: the second rectangle must be within the same layer as our shape)
Screenshot

Now delete the second rectangle and its border. Select you shape and you will see that now you have a shape with the rectangle hole inside. That was the purpose of the second rectangle: to make this hole. Through this hole the progress line will be displayed.

j. Create 2 more layers. Lets call the layer with the shape: "Shape" and two new layers we name "Mask1" and "Mask2". (Note: the "Shape" layer must be the first layer in a Timeline panel!)
Screenshot

k. Now we need to create simple mask to show the downloading progress. We need to create some more new frames for 3 layers we have. Select all 3 layers, right click and select "Insert Frame" option. You need to make 15 new frames for each layer similar to the picture below.
Screenshot

l. Select layer named "Mask1", then select "Rectangle Tool", set the background color to black and draw big rectangle under the main shape. Do not worry about its appearance as it will become invisible after we create mask effect. It must cover the hole of the main shape completely but it should be smaller then the main shape.
Screenshot

m. Select layer named "Mask2" and draw one more rectangle. On the example picture we disable the big black rectangle so that you could see how the second rectangle must be made:
Screenshot

n. Select the last frame in the "Mask2" layer, right click and select "Insert Keyframe" to convert last frame to keyframe.
Screenshot

o. Select first frame of the "Mask2" layer and drag the rectangle so that it ended just before the hole starts.
Screenshot

p. Now select all frames of the "Mask2" layer, right click and select "Create Motion Tween" You have created the animation to show the download process.
Screenshot

q. Select layer named "Mask1", right click and select "Mask" option.
Screenshot

Now all set up for preloader. Double click anywhere outside the working area to return to the root of your movie.

r. Select "content" layer, click "File --> Impotr…--> Import To Stage" and insert any picture you like to be in your content movie.

s. Now select the “content” layer (you must see that the code disappear from the right window) and type
stop();
The Timeline must be like this now:
Screenshot

Click “Ctrl+Enter” to see the flash movie. Upload it and when you access it you will see the preloader you just have created first and then the content of your movie! If you followed the instructions carefully you should get something like the example below.



Now when you visitors come to your website they will be able to see how long it will take to downlod flash. You may use the code and change everything you like in design to match your website.

Click here to download source fla file.

About the Author: Oleg Lazarenko
Production manager of
Metamorphosis Website Design Studio -
Custom design, Website Templates,
Web design Articles and Tutorials.

You may reprint this tutorial for free as long as the content, About the Author sections and all links remain unchanged.


Advertisements
Graphic Software, Flash Templates, Free Stock Photos, Web Templates, Web Design, Corporate Web Design, Royalty Free stock Photo, Affordable Website Design, Submit site, Add Url, Stock Photos, Survey Software, Anti Virus Software, E mail software, Computer Software

Premium Partners
  Free Website Templates - Flash templates, Affordable Website Design, Website Templates, Website Redesign, Custom Website Design, Web Design Tutorials, Flash Tutorials, Promotion Tutorials - that is what we do. Metamorphosis Design Studio offers quality, free and low cost web site templates for your business and personal life, we also offer affordable web design and site re-design.
  Vertex Website Tempales - It saves tones of time and money to use pre-made web designs to build your web site. You need a web site but you don't want to pay thousands dollars to professional web design companies? Our web templates is just for you! They are designed to be easilly edited by your favorite html editor, like MS FrontPage
  Photoshop Tutorials - Learn how to build stunning web pages using Adobe Photoshop, Macromedia Flash MX and 3D Studio Max software. The step-by-step approach makes it so easy, that even beginners can produce great web pages. Get started with these tutorials covering everything from page layout to content tips.
Free website templates and paid web templates are great tools to make your websites look perfect! You will save time and money with our flash templates and free website templates Our visitors are satisfied with the quality of our free and paid website templates! Please visit our free website templates and paid website templates sections. We offer free web templates, free web layouts, free web page templates and other stuff for free download. All templates come with the html and external css file so you may easily edit HTML with your favorite HTML editor. Feel free to download our free web templates for your personal websites.

Terms of use depend upon the website template vendor.
Home  |  Submit Tutorial  |  Top Sites  |  Free Templates  |  Website Templates  |  Privacy Policy  |  Contact Us
All Right Reserved by WebDesignTutorials.net