<cfcontent variable="#data#" type="image/jpeg">
From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Aly Sidi
Sent: jeudi 13 octobre 2005 5:10
To: [email protected]
Subject: Re: [flexcoders] binary data to render...
I was looking more of an in memory image, that way we dont have to deal with clean up on the server. Also, multiple users may be logged on and requesting different photos.
any way to go base64->binary->image in memory in AS2?
-aly
Hi,Instead of returning base64 to client, you can create(from within webservice method on server) an image on server and save it at somewhere on server . You can return the path of generated Image to client(flex app).Once you get the path of image, you can pass it to Image component.//set by web-service result handler.var imagePath:String;<mx:Image source="{imagePath}"/>Other way, as Manish said, invoking a server-side script directly from Image component:<mx:Image source="http://foo.com/getImage?dog"/>Above code would request getImage servlet to return the image of dog or whatever :)-abdul
From: [email protected] [mailto:[email protected]] On Behalf Of Aly Sidi
Sent: Wednesday, October 12, 2005 9:49 AM
To: [email protected]
Subject: Re: [flexcoders] binary data to render...I would like to do the same..can you provide some pseudo code for the mx:Image?
-aly
On 10/12/05, Manish Jethani <[EMAIL PROTECTED]> wrote:On 9/20/05, Raymond Camden <[EMAIL PROTECTED]> wrote:
> If I call a web service that returns a base64 encoded version of a JPG
> file, is there anyway to actually render the image in Flex? Or must I
> call a local WS, pass in the data there, have it save and then load it
> via URL?
I think you should have a servlet or something return the data as a
"image/jpeg" type and then load it in an Image component.
------------------------ Yahoo! Groups Sponsor --------------------~-->
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/nhFolB/TM
--------------------------------------------------------------------~->
--
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/
--
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
- Visit your group "flexcoders" on the web.
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
| Web site design development | Computer software development | Software design and development |
| Macromedia flex | Software development best practice |
YAHOO! GROUPS LINKS
- Visit your group "flexcoders" on the web.
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
------------------------------------------------------------------
**STATEMENT OF CONFIDENTIALITY**
This e-mail and any attached files are confidential and intended solely for the use of the individual to whom it is addressed. If you have received this email in error please send it back to the person that sent it to you. Any views or opinions presented are solely those of author and do not necessarily represent those the Emakina Company. Unauthorized publication, use, dissemination, forwarding, printing or copying of this email and its associated attachments is strictly prohibited.
We also inform you that we have checked that this message does not contain any virus but we decline any responsability in case of any damage caused by an a non detected virus.
------------------------------------------------------------------

