flash 8 tutorials HOME flash 8 tutorials FLASH TUTORIALS flash 8 tutorials ARTICLES flash 8 tutorials SEARCH

 

Paintshop tutorials
 
  flash preloader Flash Pre-loader

 

  • Now select the "background" layer and click on its 100th frame and press F5.
  • Likewise create 100 frames by pressing F5 for ‘box’ and ‘loader’ layers also.
  • On the ‘slider’ layer select 100th frame and then press F6.
  • Now select the 1st frame of the ‘slider’ layer and get move the rectangle shape towards left side .The result should fully disclose the small rectangle which is at the ‘loader’ layer[see fig(e)].

 

Make $1,000/Day PT/FT Limited Positions, Time Sensitive.

make $1000/day


d
         
e                                     f

 

  • Get select the first frame of ‘slider’ layer, right click and click create tween.
  • Then select the ‘loader’ layer, then right click and click mask.
  • Create a new layer and make an empty dynamic text just under the big rectangle shape as shown in fig(f) and at the properties window give the var name as "text".
  • Now get back to main scene and get select the movie clip. By selecting the movie clip, Open the actions window and paste the
    following code.

                 
 onClipEvent(load){
 total = _root.getBytesTotal();
 }
 onClipEvent (enterFrame){
 loaded = _root.getBytesLoaded();
 percent = int(loaded/total*100);
 text = "LOADING"+percent+"%";
 gotoAndStop(percent);
 if (loaded == total){
 _root.gotoAndPlay(2);
 }
 }
  • Create a new layer at the main scene and name it as “action”.
  • Select the first frame, Open the actions window and write the code
    stop();
Ok. Now the preloader gets created. When all the bytes gets loaded only after the code transfer the executer to the next frame of your main scene.
      So when you make any objects at the second frame or at later frames, that objects will shown up only after all bytes gets loaded. Whenever you make a movie, create this movie clip at the first frame of the main scene and then start your makings after this frame.
   
 
Spyware Protection

Make Upto $3,500 and More Weekly with Google & Clickbank Using a Simple System Which I Will Perform for You For $7 Only

 
  flash 8 tutorials BACK
[ 1 2 ]
Print Page

Home | Contact Us | Recommended Links

© 2007 EYESITES MEDIA