Hi Athi, Try to google how to convert a UIComponent to BitmpaData... And then google again to Encode with PNGEncoders. I will try to get that for you as I don't have Flex Builder on my laptop..
But sure if it doesn't help you, I will make a small app for you. But before this you give a try. Thanks and Regards, Jitendra Jain On Fri, Nov 26, 2010 at 4:55 PM, athi murugan <[email protected]> wrote: > hi > can u give that program. > Because i can't understand. > i am entry level developer in flex 4 > regards > athi > > On 26 November 2010 16:37, Jitendra Jain <[email protected]>wrote: > >> Take the bitmap data and use PNG/JPEG encoders in flex and then assign >> this bytearray to image control. If you want to open in different window >> then you have to send this bytearray after applying Base64Encoder and on >> receiving the data again decode with base64Decoder and use that bytearray >> >> >> On Fri, Nov 26, 2010 at 2:30 PM, athi <[email protected]> wrote: >> >>> hi >>> >>> I have build the greeting card and differnt layouts using flex4. >>> >>> if i press the button i want to convert that greeting card into jpeg >>> and open a new window that jpeg file should display. >>> >>> >>> But i don't know is it possible in flex or not. >>> >>> pls suggest me >>> >>> regards >>> >>> athi >>> >>> -- >>> You received this message because you are subscribed to the Google Groups >>> "Flex India Community" group. >>> To post to this group, send email to [email protected]. >>> To unsubscribe from this group, send email to >>> [email protected]<flex_india%[email protected]> >>> . >>> For more options, visit this group at >>> http://groups.google.com/group/flex_india?hl=en. >>> >>> >> >> >> -- >> Thanks and Regards, >> JJain, >> >> If you have knowledge, let others light their candles in it --Margaret >> Fuller: >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Flex India Community" group. >> To post to this group, send email to [email protected]. >> To unsubscribe from this group, send email to >> [email protected]<flex_india%[email protected]> >> . >> For more options, visit this group at >> http://groups.google.com/group/flex_india?hl=en. >> > > -- > You received this message because you are subscribed to the Google Groups > "Flex India Community" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]<flex_india%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/flex_india?hl=en. > -- Thanks and Regards, JJain, If you have knowledge, let others light their candles in it --Margaret Fuller: -- You received this message because you are subscribed to the Google Groups "Flex India Community" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/flex_india?hl=en.

