That is exactly how we have done it.  Writing a Servlet to return the
stream of the image is dead simple and then as you said you set it as
the source URL.

Its also very handy when you want one static URL in the MXML but
variable images based on some setting or environment.

-- 
Dave Wolf
Cynergy Systems, Inc.
Adobe Flex Alliance Partner
http://www.cynergysystems.com
http://www.cynergysystems.com/blogs

Email:  [EMAIL PROTECTED]
Office: 866-CYNERGY


--- In flexcoders@yahoogroups.com, The Irrelevant Elephant
<[EMAIL PROTECTED]> wrote:
>
> tinywhistles wrote:
> > I am storing images in Oracle Database using Oracle Intermedia. I need
> > to display the images directly on the UI without storing them into the
> > server filesystem. This I have achieved using JSP by embedding
> > scriplets.
> > 
> > Now I'm trying to render the same images using Flex and AMF. Could
> > anyone pls share his thoughts on how to do this ?
> 
> How about serving the images on an URL that the Flash Player can
access. 
>   E.g. http://www.foo.bar/getimage.jsp?image=someid - then you only
need 
> use the appropriate 'source' in any components that display an image. 
> Whichever way you do it, the JSP will need to be responsible for 
> retrieving the image from the database.
> 
> HTH
> 
> - IE
>






--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
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/
 



Reply via email to