Can you please provide more information on the imagesnapshot part of it? Here is my actual problem. I am picking up the URL of the picture from the database and when I assign the source attribute of the image (image.source) with the URL value picked up from DB, it does not get printed, but it works fine if it has to be shown on the screen.
We cannot use Embed here as the image is not available at compile time. Please let me know if you have a solution. R G-3 wrote: > > HI there.. > > I ve solved this one with trick.. > > My requireemnt was a print of combination of two images.. So.. we set > those > two images in a canvas and took a ImageSnapShot (this is a class in > Flex).. > it works. > > Second thing if u wat only a singel image.. make an <mx:Image tag, which > ll > be visible=false and includeinlayout=false... the set the sourse and while > printint try through download or by ImageSnap... > > --Rohan.. > > On Tue, Nov 17, 2009 at 4:56 PM, abanapurmath > <abanapurm...@ciber.com>wrote: > >> >> How do I print the image, if the image is not available at compile time? >> >> >> sam-147 wrote: >> > >> > >> > Thanx a million guys!!! >> > >> > I got it!!! >> > >> > On Jul 8, 4:28 pm, Kalpataru Roy <kalpataru...@gmail.com> wrote: >> >> Use Embed image for image Printing >> >> also set height and width property of the image (best practice) >> >> .. >> >> >> >> <mx:HBox width="34%" horizontalAlign="right"> >> >> <mx:Image source="@Embed ( source = 'images/logo.jpg' )" >> >> height = "XX" width = "XX" /> >> >> </mx:HBox> >> >> >> >> Kalpataru Roy >> >> +919850021354 >> > >> > --~--~---------~--~----~------------~-------~--~----~ >> > You received this message because you are subscribed to the Google >> Groups >> > "Flex India Community" group. >> > To post to this group, send email to flex_india@googlegroups.com >> > To unsubscribe from this group, send email to >> > flex_india-unsubscr...@googlegroups.com >> > For more options, visit this group at >> > http://groups.google.com/group/flex_india?hl=en >> > -~----------~----~----~----~------~----~------~--~--- >> > >> > >> > >> >> -- >> View this message in context: >> http://old.nabble.com/-flex_india%3A11533--Printing-Image-in-Flex-tp18335707p26388332.html >> Sent from the Flex India mailing list archive at Nabble.com. >> >> -- >> >> You received this message because you are subscribed to the Google Groups >> "Flex India Community" group. >> To post to this group, send email to flex_in...@googlegroups.com. >> To unsubscribe from this group, send email to >> flex_india+unsubscr...@googlegroups.com<flex_india%2bunsubscr...@googlegroups.com> >> . >> For more options, visit this group at >> http://groups.google.com/group/flex_india?hl=. >> >> >> > > > -- > Nothing is Illegal Until you get Caught!!!! > > -- > > You received this message because you are subscribed to the Google Groups > "Flex India Community" group. > To post to this group, send email to flex_in...@googlegroups.com. > To unsubscribe from this group, send email to > flex_india+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/flex_india?hl=. > > > > -- View this message in context: http://old.nabble.com/-flex_india%3A11533--Printing-Image-in-Flex-tp18335707p26403770.html Sent from the Flex India mailing list archive at Nabble.com. -- You received this message because you are subscribed to the Google Groups "Flex India Community" group. To post to this group, send email to flex_in...@googlegroups.com. To unsubscribe from this group, send email to flex_india+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/flex_india?hl=.