1 person found this helpful
For displaying the Image Record Deatil in a modal window create a popup and pass the "modal" argument as true:
That example uses TitleWindow, but you could use Form, etc. instead.
As far as the images go, you can embed using the Embed directive, or have network paths to the images on the server like http://www.myCompany.com/flex/myapp/images/myImage1.png
If this post answers your question or helps, please mark it as such.
Hi Greg, thanks for the pop-up answer. I should have marked it as "Answered" but I clicked the "Helpful" instead. If you respond to this message I'll be sure to mark it answered. So, I should have mentioned that the images are in no way for public consumption. They must be shown only to people logged into the site. Using Http:// addresses would mean (I think) that the images could be accessed by FB4, but also, anyone on the Internet, if they were to purposely or accidentally point their browser URL to the image folder or an actual image file. Is that correct?
I need a way to keep all images private and secure, yet show them only to logged in users. How do I do that?
Oh ya, there will be at a minimum, 135,000 of them, so I'm thinking that embedding them is probably not the answer as I'm assuming that means that they would become part of my .swf. (Is that true?)
Thanks in advance Greg.
I guess what would go a long way to answering my question about loading/displaying images in FB4 using CF9 as an intermediary is...
Is there a CF Function that I can "hand" an image location to, and have it "hand back" the image data, that Flash Builder 4 can then render on screen. I'd need code snipets of both the CF Function and tha ActionScript function ... and perhaps the FlashBuilder 4 object/class that I should be using to show the image. I imagine it would look something like...
<argument name="fileName" type="string">
private LoadImage (imageobject, MyCF9DataSource, ImagefilePathAndName)
Of course this is just my own crude imaginings. I need help to shoe me the real code that does this.
I can find examples about CF9 and image handling, but I can't find an example of FB4 retrieving an image from CF9 and loading it into an image component for display.