# Creating preloader and progress bar -Tutorial

**URL:** <https://forum.kirupa.com/t/creating-preloader-and-progress-bar-tutorial/323345>\
**Category:** flash\
**Created:** [June 26, 2011, 8:32pm UTC](https://forum.kirupa.com/t/creating-preloader-and-progress-bar-tutorial/323345 "2011-06-26T20:32:49Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![bharath119](https://avatars.discourse-cdn.com/v4/letter/b/22d042/32.png) [@bharath119](https://forum.kirupa.com/u/bharath119)\
**Post date:** [June 26, 2011, 8:32pm UTC](https://forum.kirupa.com/t/creating-preloader-and-progress-bar-tutorial/323345/1 "2011-06-26T20:32:49Z")

</div>

Hi,

I studied the above mentioned tutorial.  
I used this code.

function SetProgress(value:Number)  
{

progress.width = value\*base.width;

}  
preloader.SetProgress(.5);

When I experimented it, got an error like this.

Access of undefined property base.

I gave all the movieclip names correctly.  
Can anyone tell me what is the problem?
