[flexcoders] Re: May I save BitmapAsset instance to database?

2008-11-19 Thread markflex2007
Hi Michael, Thanks. Would you please give me an idea how to save Video or Audio data to database like saving image with ByteArray. Thanks Mark --- In flexcoders@yahoogroups.com, Michael VanDaniker [EMAIL PROTECTED] wrote: Your question is a bit vague, but I'll try and be of some help. You

RE: [flexcoders] Re: May I save BitmapAsset instance to database?

2008-11-19 Thread Jim Hayes
@yahoogroups.com on behalf of markflex2007 Sent: Wed 19/11/2008 21:50 To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: May I save BitmapAsset instance to database? Hi Michael, Thanks. Would you please give me an idea how to save Video or Audio data to database like saving image with ByteArray

[flexcoders] Re: May I save BitmapAsset instance to database?

2008-11-19 Thread Michael VanDaniker
I've never tried to extract and save the contents of an audio or video file to a database, so I'm not sure what the procedure would be. When I had to do something like this in the past I just saved the file to the server and stored the URL in the database. Like Jim suggested, Peter Elst's blog

[flexcoders] Re: May I save BitmapAsset instance to database?

2008-11-18 Thread Michael VanDaniker
Your question is a bit vague, but I'll try and be of some help. You can use the ImageSnapshot class to get the ByteArray the backs your image. Then you can store those bytes in a database and pull them up later. If you're building an AIR application and saving the image to a local database