# Load variable within string?

**URL:** <https://forum.kirupa.com/t/load-variable-within-string/216027>\
**Category:** Uncategorized\
**Created:** [February 13, 2007, 3:18am UTC](https://forum.kirupa.com/t/load-variable-within-string/216027 "2007-02-13T03:18:40Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![bdd](https://avatars.discourse-cdn.com/v4/letter/b/51bf81/32.png) [@bdd](https://forum.kirupa.com/u/bdd)\
**Post date:** [February 13, 2007, 3:18am UTC](https://forum.kirupa.com/t/load-variable-within-string/216027/1 "2007-02-13T03:18:40Z")

</div>

Hi i am creating a variable MCount which will increment each time the button is pressed… in turn it will then load the next movie in the folder…  
what is the correct syntax to do this?

var MCount = 0;  
on (release) {  
MCount+1;  
container.loadMovie(“flFile\_“MCount”.swf”);  
}
