upload an m4a file in flex, saving it as a blob in oracle, and retrieving metadata info from it
Posted
by Angus
on Stack Overflow
See other posts from Stack Overflow
or by Angus
Published on 2010-04-20T05:55:27Z
Indexed on
2010/04/20
6:03 UTC
Read the original article
Hit count: 261
Hi,
I currently have a FileUpload.mxml component that uploads a .m4a to an oracle database, retrieves metadata from the file and saves the metadata info in the database.
to acheive this I use FileReference() and set up, amoung others, the dispatcher.addEventListener(DataEvent.UPLOAD_COMPLETE_DATA, completeHandler);
So the file is posted to a php file which saves it as a blob. Once the blob is saved, the script sends a message back to flex to dispatch the upload_complete_data event.
In the complete handler, the metadata is then retreived by reading the value back from the database into a custom made meta data reader. The metadata info is then saved via flex.
This seems a little long winded. Has anyone else successfully achieved this using a different way?
© Stack Overflow or respective owner