Confused about preloader 2004-03-04 - By Robert Redpath
Back I am using Jesse Warden's preLoader lite but I am confused on how to get it to show up as soon as the movie starts loading. It shows but only after the movie is 100% loaded. I have it in the first frame of the movie. Should I put it somewhere else?
Here is the code on the preloader. -- ---- ---- --- onClipEvent(load){ this.stop(); _parent._parent.stop(); }
onClipEvent(enterFrame){ this.amount = Math.round((_parent._parent.getBytesLoaded() / _parent._parent.getBytesTotal() * 100)); _parent.preload_txt = this.amount + "%"; this.gotoAndStop(amount); if(this.amount == 100){ _parent._parent.play(); _parent.gotoAndStop("done"); } }
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------ Supported by Fig Leaf Software -- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------ Lower Prices for Certified Training! Check out new lower prices for Certified Macromedia Training from Fig Leaf Software. Expand your skill set with courses in ColdFusion, Flash, Rich Internet Applications and .NET in the new year. Fig Leaf Software provides the highest caliber instruction at our training centers in Washington D.C., Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location.
Get the details at http://training.figleaf.com/ -- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- -- To unsubscribe, e-mail: flashnewbie-unsubscribe@(protected) For additional commands, e-mail: flashnewbie-help@(protected)
|
|