# Variable help?

**URL:** <https://forum.kirupa.com/t/variable-help/223585>\
**Category:** Uncategorized\
**Created:** [April 24, 2007, 3:09am UTC](https://forum.kirupa.com/t/variable-help/223585 "2007-04-24T03:09:19Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Flash\_Man1](https://avatars.discourse-cdn.com/v4/letter/f/8797f3/32.png) [@Flash\_Man1](https://forum.kirupa.com/u/Flash_Man1)\
**Post date:** [April 24, 2007, 3:09am UTC](https://forum.kirupa.com/t/variable-help/223585/1 "2007-04-24T03:09:19Z")

</div>

Hi all,

i have a variable which (hopefully reads) the content of a dynamic textfield and puts it into a string.|

I then want to use this variable as a URL for use with the MovieClipLoader Method:

Here is my Code hopefully someone can help me:  
[AS]import flash.net.FileReference;  
var frToUpload:FileReference = new FileReference();

var oFileListener:Object = new Object();  
oFileListener.onSelect = function(frSelected:FileReference):Void {  
trace(frSelected.name);  
nameSWF\_txt = frSelected.name;  
var i:Object = new Object();  
i = nameSWF\_txt;  
var mlSWFLoader:MovieClipLoader = new MovieClipLoader();  
mlSWFLoader.loadClip(“i”, mcHolder);

};[/AS]

Cheers in advance.
