Multiple file Upload

hey,

I wrote my own file upload app, but i’m having some problems. If you “browse” the first time and you select a file, somehow in the textfield “Selected files” he puts an “Enter” between the first filename.

Does someone know how to fix this?

This is the link to my app: [COLOR=#810081]http://thuis.diamond4it.nl/multiple_upload.html[/COLOR]


[LEFT][COLOR=#000084]function[/COLOR] selectHandler(evt:Event):[COLOR=#000084]void[/COLOR]{ 
    fileArray = fileRef.fileList; 
[COLOR=#000084][COLOR=#000000]    [/COLOR]for[/COLOR]([COLOR=#000084]var[/COLOR] i:[COLOR=#000084]int[/COLOR] = 0; i < fileArray.[COLOR=#000084]length[/COLOR]; i++){ 
        tfFileName.appendText(fileArray*.name + "
"); 
        fileTitle.[COLOR=#000084]push[/COLOR](fileArray*.name); 
} 
   uploadMc.visible = [COLOR=#000084]true[/COLOR];
};[/LEFT]

Thanks!