Flash simple preloader - Flash Tutorials
 
  Buy Ebooks, Video Games, DVDs, Electronics and more !
Home | Help Forums | Web Design Tutorials | Free Swishmax Downloads Make Money Online Blog . Free Image and Photo Sharing and Hosting

 

 

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

   Free image hosting
   Web Design Pakistan
   Swish Templates
   SWiSH Climax
   Talkfreelance Community
   Template Desire
   Lite boards
   Script Sector
   GimpTalk
   13dots
   Idea Designs
   PHP Cafe
   Sposatoettore
   Free swishmax templates
   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.


© 2002-2005 Flaxweb Network | Article Manager | Gimp Tutorials Library | RAD C++ Library | Free C/C++ Sourcecode |
Sites of interest : Web Design Blog | Swish Templates | Swishmax Ebook | Photoshop Templates | Gimp Tutorials | Text Forum | Make Money Online