# Some AS help?

**URL:** <https://forum.kirupa.com/t/some-as-help/97788>\
**Category:** Uncategorized\
**Created:** [December 29, 2003, 4:16pm UTC](https://forum.kirupa.com/t/some-as-help/97788 "2003-12-29T16:16:16Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![G111](https://avatars.discourse-cdn.com/v4/letter/g/7ea924/32.png) [@G111](https://forum.kirupa.com/u/G111)\
**Post date:** [December 29, 2003, 4:16pm UTC](https://forum.kirupa.com/t/some-as-help/97788/1 "2003-12-29T16:16:16Z")

</div>

I’m using the code from the dynamic transition tutorial on kirupa but I want to know what code do I add (and where?) to make a preloader visible (loadbar)?

this is the code

onClipEvent (enterFrame){  
if(!loaded&&this.\_url!=\_root.\_url){  
if(this.getBytesLoaded() == this.getBytesTotal()){  
loaded=true;  
\_root.transition.gotoAndPlay(“opening”);  
}  
}  
}

What do you add to make a loadbar? please can someone help I’m stumped!

Thanks guys.
