Home | Help Forums | Web Design Tutorials | Free Swishmax Downloads | All Downloads

 

 

Company

Home

Nework Details

Tutorials

SWiSH 2

SWiSHMax

Flash MX

PHP & MySQL

HTML / JScript

Adobe Photoshop

Corel Draw

Gimp

Miscellaneous

Downloads

Templates

Plugins

Fonts

Wallpapers

Free Images

Scripts and Codes

Products

E-Books

SWiSH BB

SWiSH Templates

SWiSH-DB Newsletter
Subscribe to our newsletter : GO
  Partners / Affiliates

   Swish Templates
   SWiSH Climax
   GimpTalk
   Idea Designs
   Sposatoettore
   Try Acai Berry Diet
   Download Free Ringtones
   Swishzone

Manage your site with Flax Article Content Management System
Flash simple preloader
Category : Flash | Level : Beginner | Language : English
Ask Question | Read Comments | Post tutorial | Previous | Next

Web www.swish-db.com

This will be a preloader that shows the percent loading.

1.Create a dynamic text box in the first frame,choose font,color font etc...
2.select it and give like instance a name to it dynam
3.Right click on the first frame and click actions

In the actions,
paste this code
CODE
percent = Math.floor(getBytesLoaded()/getBytesTotal()*100);
dynam.text = percent+"% is loaded";


4.Right click on te 2nd frame and choose the insert blank keyframe
5. right click on the 2nd frame and click actions

in the actions box paste this code
CODE
if (percent == 100) {
   gotoAndPlay(3);
} else {
   gotoAndPlay(1);
}


6. right click on the 3rd frame and choose insert blank keyframe
7. right click on the 3rd frame and click actions

Paste this code in the actions box

CODE
gotoAndStop("Scene 2", 1);


I'll post an example soon,sorry for not posting right away.

I got some weird problems with FLASH MX 2004 sad.gif and cannot open it now(catastrophic failure blink.gif )
untill i fix it...


Anyway hope this helps someone.


All rights reserved - swish-db.com