Glowing Preloader AS3
Project Description

Glowing PreLoader Use:

  • Open the "Glowing PreLoader" folder.
  • Drag the "Glowing PreLoader" movie clip onto the stage.
  • If you will be scaling the preloader, it is best to scale proportianally.
  • Give the preloader an instance name. (example: myPreLoader).
  • In your actionscript (external to the preloader), use:

    var loadPercent:int = //use 1-100 (integers)

    loadBar.growLoadBar(loadPercent);

  • This will send the information to the loader.
  • The preloader has extra animation after 100% is reached. I used a timer to count off 3 seconds after the preloader is finished before I show what I am trying to load.
  • You can also just set the loader to visible = false; after reaching 100%, if you do not want the extra animation. ** If you do this you also need to comment out a section of the code within the preloader:

    function numberTweenListener2(e:TweenEvent):void {

    //TransitionManager.start(this, {type:Squeeze, direction:Transition.OUT, duration:.5, easing:Regular.easeIn, dimension:2});

    }

  • If you do not, the preloader will re-appear briefly.
FlashDen.net