Hi, Macromedia Flash Player doesn't have byte[] or its equivalent data type to store the binary data within AS. But you can load JPEG/SWF files using Loader/Image Flex classes or loadMovie(..) Flash Player API. If I am right, you want to load a JPG image in Flex app right?
You can do that using Loader or Image tag.... <mx:Image source="http://server.com/myservlet?imagename=logo" /> Image/Loader can load non-progressive JPG and SWF files. -abdul -----Original Message----- From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of mummertm Sent: Tuesday, June 21, 2005 2:12 PM To: [email protected] Subject: [flexcoders] JPG delivery via Java-App Hi there, I searched a lot of time for a solution of my problem in other forums, documentations an so on. But I didn't find any hint so far, thus you are my last hope. The problem is as follows: I have a Java-Servlet or a Java-Class, which retrieves an image (JPG) from a database. As customary this Blob is stored in a byte array (byte []). The Flex-Application connects to the Java application to request the image. My problem is now to find a suitable datatype, which can store binary data in ActionScript. This means, I need a corresponding data type in ActionScript, which fits to byte[] in Java. Or does possibly anyone know a completely different solution for my problem? Thanks for answers Markus Yahoo! Groups Links Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/

