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.