Template Categories

templates categories Automobiles
templates categories Business
templates categories CSS Templates
templates categories E-Commerce
templates categories Education
templates categories Fashion
templates categories Greeting Cards
templates categories Hotels
templates categories Jewelry
templates categories kids
templates categories Models
templates categories Music - Films
templates categories Night Club
templates categories Real Estate
templates categories Restaurant
templates categories Software
templates categories Sports
templates categories Travel
templates categories Web-design
templates categories Wedding

Tutorial Categories

tutorial categories AJAX
tutorial categories CSS
tutorial categories Dreamweaver
tutorial categories Flash
tutorial categories FTP - File Transfer
tutorial categories HTML Emails
tutorial categories Javascript
tutorial categories Microsoft Excel
tutorial categories Microsoft Windows
tutorial categories Microsoft Word
tutorial categories MySql
tutorial categories Photoshop
tutorial categories Php
tutorial categories Windows Movie Maker
tutorial categories Xhtml / Html

Flash - Create a simple preloader

BELOW IS THE EXAMPLE OF WHAT WE ARE GOING TO CREATE.

In this tutorial I will show you a very easy way to create preloader with few lines of actionscript.

A very basic flash preloader. This type does not require advanced knowledge of actionscript. Just 3 lines of code with explanation. The only objective here is to show some basic animation till the actual movie loads.

Open an existing movie OR create a new one. Add a new scene by going to Insert >> Scene. Rename this newly added scene to "loader" or any name you fancy. Change the order the scenes by click - dragging the loader scene above scene 1. This can be done via the panels window ( Windows >> Other Panels >> Scene ).

In frame 1 of loader scene press F9 and add the following actionscript.

ifFrameLoaded ("Scene 1", 1){
gotoAndPlay ("Scene 1", 1);
}

Add text "Loading ..." using the text tool. Convert this into a movie clip. ( Select the text >>modify >> convert to symbol >> movie clip ). On frame 5 of the same layer insert a keyframe. Right click anywhere between frame 1 and frame 5 and create a motion tween. Now is the tricky part. For every alternate frame delete the text. For example your sequence should be text >> blank >> text >> blank and finally text. In frame 5 add the follwing actionscript.

gotoAndPlay ("loader", 1);

flash simple preloader
Here is the Explanation.
flash digital clock

The Explanation.

ifFrameLoaded ("Scene 1", 1) .... 1 stands for the number of frames the actual movie is utilising. This can vary from movie to movie. In my case it is one big image on a single frame.Now, we have to loop this animation over and over till the main movie ( Scene 1 is full loaded ). This is done by the the following actionscript

gotoAndPlay ("loader", 1);

Finally when the movie is fully loaded, start and play from frame 1 , Scene 1 [ gotoAndPlay ("Scene 1, 1); ].

 
Hope you enjoyed this small tutorial on how create a simple preloader in FLASH.
travel to india - kerala travel to india - Goa forums gatewa2internet ... myspace & home page gatewa2internet ... myspace & home page