# LoadMovie(var +".swf")

**URL:** <https://forum.kirupa.com/t/loadmovie-var-swf/180224>\
**Category:** flash\
**Created:** [February 27, 2006, 2:06am UTC](https://forum.kirupa.com/t/loadmovie-var-swf/180224 "2006-02-27T02:06:50Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jjvalles](https://avatars.discourse-cdn.com/v4/letter/j/f07891/32.png) [@jjvalles](https://forum.kirupa.com/u/jjvalles)\
**Post date:** [February 27, 2006, 2:06am UTC](https://forum.kirupa.com/t/loadmovie-var-swf/180224/1 "2006-02-27T02:06:50Z")

</div>

Hello all. I have question regarding loadMovie and vars. I have a text input with var = “username”. I essentially want a swf to load depending on the text input.

Not sure if this matter but my php has…  
$user=$\_POST[‘user’];

If i want to load the var = “username” into loadmovie… would i just do this by loadMovie(username+".swf"); ? I want the var username to load the test within the var. For instance… if i type “jason” into my input text which has a var “username”, this would load a mc of “jason.swf”. Please let me know if i am doing something wrong. Or if you have any other ways of doing something like this… Thanks you.
