|
-
Flash and binary image
I have searched the Internet and the Flash Kit Forum and from all of the posts I have found concerning the ability of Flash to retrieve/display a binary image - there basically weren't any answers.
SO... using ASP, I can retrieve and display a binary image that is stored in SQL server.
QUESTION: Can I pass this information on to Flash to display the image?
If so, how do I do this?
Thank you,
Julia
-
No!
you could write the image to a temporary path (as you would when displaying it through ASP) then pass the path to Flash and load it like any other image.
For instance, create an ASP file that shows the image and use that URL to load the image in Flash. You'll have to change the header content type to the filetype of the image (ie, JPEG).
http://www.w3schools.com/asp/prop_contenttype.asp
-
flash makes no distinction between binary images and any other image (nor does any other common api afaik). if it's a bmp, you'll need to convert it to jpeg or png before loading it.
-
Dear yasunobu13,
THANK YOU THANK YOU! THANK YOU!
I already had the asp file to load the image. I just used loadmovie in Flash and pointed to that asp file on the website and Voila - there was the image.
THANK YOU!
Julia
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|