# Multiple file Upload

**URL:** <https://forum.kirupa.com/t/multiple-file-upload/279722>\
**Category:** flash\
**Created:** [January 18, 2009, 11:15am UTC](https://forum.kirupa.com/t/multiple-file-upload/279722 "2009-01-18T11:15:02Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![rangelier](https://avatars.discourse-cdn.com/v4/letter/r/73ab20/32.png) [@rangelier](https://forum.kirupa.com/u/rangelier)\
**Post date:** [January 18, 2009, 11:15am UTC](https://forum.kirupa.com/t/multiple-file-upload/279722/1 "2009-01-18T11:15:02Z")

</div>

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]](http://thuis.diamond4it.nl/multiple_upload.html)

```auto

[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!
