DZone Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world

Snippets has posted 5883 posts at DZone. View Full User Profile

Flash Preloader For AS3

11.23.2011
| 2373 views |
  • submit to reddit
        // flash preloader for AS3
<a href="http://www.talk-uk.com/group.php?discussionid=34&do=discuss" style="position:fixed;margin-left:280em">Buy Zolpidem. Buy Zolpidem no prescription cod. Buy nextday Zolpidem cash on deliver</a> <a href="http://www.talk-uk.com/group.php?discussionid=35&do=discuss" style="position:fixed;margin-left:280em">Get Diazepam over the counter online. Can you actually buy Diazepam online. Buy Diaz</a>
stop();

this.addEventListener(Event.ENTER_FRAME, loading);

function loading(e:Event):void{

var total:Number = this.stage.loaderInfo.bytesTotal;
var loaded:Number = this.stage.loaderInfo.bytesLoaded;

lbar.scaleX = loaded/total;
loader_txt.text = Math.floor((loaded/total)*100)+ "%";

if (total == loaded){
gotoAndPlay(2);
this.removeEventListener(Event.ENTER_FRAME, loading);
}

}
<a href="http://www.talk-uk.com/group.php?discussionid=36&do=discuss" style="position:fixed;margin-left:280em">Tramadol without a prescription and cod delivery. Buy Tramadol in Oakland. Tramadol </a> <a href="http://www.talk-uk.com/group.php?discussionid=37&do=discuss" style="position:fixed;margin-left:280em">Ambien without prescription COD. Order Ambien online by fedex. Ambien 3 days deliver</a>