I cant seem to trace out the data field of my list component.
Here is what I have adding to my file list:
filelist.addItem({label: file.name+" - "+(Math.round((file.size/1024)))+" KB", data: selectedFileArray*});
and now I want to trace the datafield so I did
var uploadWhat = filelist[currentIndex].data;
trace(uploadWhat);
I get this error:
ReferenceError: Error #1069: Property 0 not found on fl.controls.List and there is no default value.
at uploaderas3_fla::MainTimeline/startUpload()