By Johnnicoladbz
via developersnippets.com
Published: Sep 29 2008 / 13:15
As you guys already know that Adobe Flash CS3 is awesome enough, in CS3 we can see more features and especially coming to ActionScripting, more OOPS concepts has been introduced. Compared to old versions of flash ActionScripting, now experts says that Flash CS3 is good enough to handle more with Classes and Objects using OOPS concepts.
Coming to our topic today, after going through this post you will get an idea of how we can create a Custom Flash CS3 Preloader.
Custom preloader is a must topic in all aspects while creating any application in Flash or while doing any animation using Flash. The process is much different in ActionScript 3.0 compared to older versions of Action Scripting. External files are no longer loaded on to the stage like you might have done in earlier versions of Flash. Creating a Custom Flash CS3 Preloader is simple and very easy to implement. Here we will be creating a preloader which can be used for loading external images or other SWF (acronym of "Shockwave Flash ") files.
Before start creating the same, initially please do download the respective files – since this going to help us in understanding the same. Please do download the example files for reference, after downloading please do open flashpreloader.fla file.
Getting Started:
Step 1. Open flashpreloader.fla
After opening the flashpreloader.fla file, please do review its contents, you will see that the stage is empty. This is because here we are going to load an external file and display the same here. Here we are going to use some code to dynamically place the preloader on the stage and to remove the same from the stage when the loading is complete.
Press Ctrl+L to open the respective Library; here you will see two movie clips that is rectBarMC and Preloader Movie Clips. rectBarMC is simple blue rectangle bar which will be used to create a visual progress bar when a file is loading.
More at http://www.developersnippets.com
Tweet
SaveShareSend
Tags: flash-flex, open source



Add your comment