# Totally confused is ActionScript case sensitive

**URL:** <https://forum.kirupa.com/t/totally-confused-is-actionscript-case-sensitive/169612>\
**Category:** Uncategorized\
**Created:** [November 17, 2005, 6:19pm UTC](https://forum.kirupa.com/t/totally-confused-is-actionscript-case-sensitive/169612 "2005-11-17T18:19:17Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![msa969](https://avatars.discourse-cdn.com/v4/letter/m/e480ec/32.png) [@msa969](https://forum.kirupa.com/u/msa969)\
**Post date:** [November 17, 2005, 6:19pm UTC](https://forum.kirupa.com/t/totally-confused-is-actionscript-case-sensitive/169612/1 "2005-11-17T18:19:17Z")

</div>

I am looking at code for a simple preloader

I have three frames in scene 1, frame 2 simply says: this.gotoAndPlay(1);, frame 3 says stop(); and here is the code for frame 1:

bytes\_loaded=Math.round(this.getBytesLoaded());  
bytes\_total=Math.round(this.getBytesTotal());  
getPercent=bytes\_loaded/bytes\_total;  
this.loadbar.\_width=getPercent_400;  
this.Loadtext=Math.round(getpercent_100)+"%";  
if(bytes\_loaded==bytes\_total){  
this.gotoAndPlay(3);  
}

loadbar - when I look in library it is called LoadBar and it is a movie clip  
when I click on the movie clip and look under at properties panel it is called LoadBar?  
If I double click on the LoadBar instance - inside the movie clip time line it says LoadBar?

confused :- (

If I change the code from

this.loadbar.\_width=getPercent\*400

to --\>

this.LoadBar.\_width = getPercent\*400 (it works)

if I change the code to:

this.loadBar.\_width = getPercent\*400 (it works)

if I change the code to:

this.loadbar.\_width = getPercent\*400 (it works)

Similarly if I call it LOADBAR, or LOadBar, or LOadBAR or LOadBar etc it all works as expected

however if I call it loadb, or loady it does not work

I am very confused please, please help  
How can this be case sensitive???
