A Flash Developer Resource Site














Internet Commerce

Partners & Affiliates














Developer Channel

internet.com


Featured Flash FLA
Gallery Downloads 11303 Flash Movies | 7 New Flash Movies Added
What's New | Top 100

Featured FLA

» Author: Nitin Tikhe
» Title: Cart
» Description: This Animation Tut is a fun and useful for kids below 15 years. Watch the Flag, Doors, Stick and Horse movements.
» More by Nitin Tikhe


Random FLAs | Add Flash Movie
Featured Flash Site
Gallery Downloads 6008 Flash Sites | 0 New Flash Links
What's New | Top 100 Flash Site

Featured Site

» Posted in the Flash Kit Links section
» Title: Banana Swimwear
» Description: This is a banana swim wear interactive catalog we designed and animated in Flash


Random Links | Add your own Flash Related Links
Flash Tutorials 1255 Tutorials 7 New Tutorials Added!
What's New | Top100

» Make flash video player for broadcasting live streaming video / TV on website
» How to convert the project file of Flash Demo Builder 2.0 into FLV file
» FLV to PSP for Mac - How to convert YouTube video to PSP on mac
» How to Convert FLV to MP4 for Playback on iPod
» how to download and convert youtube video to AVI with Leawo Free FLV converter
» Flash Multi-player Game Tutorial - TicTacToe
» How to make Flash elearning tutorials with screen recorder?
» Fader API:Slideshow with MovieClips on stage
» How to convert MS PPT file into an FLV File
» Unknown Tag: Title10
Random Tutorial | Add Site

Network Design Manager
The Computer Merchant, Ltd
US-VA-Hampton

Justtechjobs.com Post A Job | Post A Resume


Tutorials Home What's New Top Rated Submit myTutes Random!

Search Tutorials


Tutorials Tutorials » Utilities

Categories Yet Another Flash MX Loader
Author: Tim Murray | Website: http://www.gmg.com.au |

 
Page 6
«prev 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 ... next»

Designing the loader movie

The key to any Flash MX development is to know when to code and when to animate. Anything that can be quickly accomplished using the timeline, stage, movies and tweening should probably not be coded. Flash MX is great for this, it optimises well and runs fast, and the visual tools within Flash MX make for a rapid development cycle.

Our approach will be to do the graphic design work first, getting the feeling and style of what we want. Then we will incrementally build the code to support our preloader, so that we can test as we go along.

Start Flash MX and create a new file. Save it and call it something sensible. We picked "loader.fla" for want of a better name.

So, create a movie clip symbol, name it appropriately. We called it "loading" 'cos that's what it's going to say when we're finished. If you don't have the "Advanced" part of the dialog available, click on the "Advanced" button now. We will make sure that we export the movie for runtime sharing (so that we can use our loading movie in other Flash MX files once our primary Flash file, in this case "loader", is loaded), but don't bother with exporting the resource in the first frame (as this will cause an unnecessary delay while our loader is loaded for the first time in our main Flash file).

Now we go into our loading movie and create our loading animation using the design tools within Flash MX.

Our functions layer contains all of the ActionScript functions that our loader will need. We'll get to the scripting shortly.

The file info layer contains our dynamic text object that we will use to display our bytes loaded info. This will be handled from the scripting using a variable named "loadedText". We let Flash know this by typing in the name of the variable that we are going to use in the "Var" field in the Properties window.

The text layer contains the word "LOADING", and the shadows layer contains all of the pale grey squares that act as placeholders for the green boxes that we will be animating in as the file loads.

The remaining layers (creatively named Layer 3 to 15) contain our tweened box shapes. We created a layer, made a box shape, and duplicated the layer the appropriate number of times. Then we dragged the boxes on each layer where we wanted them and created the key frames by multi selecting the frames where we wanted the keys. Selecting all of the first key frames, we set a shape tween for all of our boxes then set the alpha to 0%. Finally we staggered the key frames out so that the boxes animated in one at a time.

Your loader movie may look different at this point (and rightly so), but the key parts that should be the same are the functions layer (where we will put some ActionScript soon) and the Dynamic Text object with the Var field set to loadedText (where we will place the bytes loaded feedback for the user). And of course, for more interest, you could always put extra movies in your loader (say, for a spinning 3D logo, flashing "LOADING" text, or whatever else takes your fancy). Just don't get too carried away!

Save it at this point.

«prev 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 ... next»

» Level Advanced

Added: : 2003-12-08
Rating: 8.44 Votes: 169
Hits: 2530
» Author
Tim is a co-director of the Glasson Murray Group, providing quality graphic design, illustration, 3D visualisation, interactive environments, virtual reality, multimedia and website services.
» Download
Download the files used in this tutorial.
Download (1860 kb)
Get conversion and unzipping tools for PC and Mac here!

» Forums
More help? Search our boards for quick answers!

Please rate this tutorial, 10 is the top rating, you can also click the comments link to read/write a review.
10 9 8 7 6 5 4 3 2 1
Read or Post Comments