views:

27

answers:

0

Hi

Has anyone handled a file upload within the cairngorm framework? Native Flex file upload is usually this way -

var fileRef:FileReference = FileReference(fileList[0]);

//fileList is an array obtained from FileReferenceList

and then one does a fileRef.upload(new URLRequest("http://somedomain.com/upload")); to start off the upload. In a cairngorm scenario, I'd like to do this activity in the delegate area and not in the view area. Any ideas? has anyone handled this before?