Re: [Flashcoders] how to decode base64 data and display in flash
Hi Matthias, some of my images may very big.So I have solved this problem by sending my base64 data to servlet and it returns the bye array that i can able to display using loadmovie. Regards, santhakumar On 6/12/06, Matthias Dittgen [EMAIL PROTECTED] wrote: Hi Santhakumar, If your image data is not too big in size/resolution (pixel * pixel), you could repaint it after decoding, for example: * Have a class painting a 1*1 pixel sized square and put it to specific coordinates x/y. * Decode your base64 encoded image. * paint your image line by line. This solution is probably not a good idea for big pictures, but should work for a single small thumbnail sized picture. You might combine the painting with nice effects, other than line by line. I am looking forward to your feedback. Regards, Matthias 2006/6/9, Santhakumar K [EMAIL PROTECTED]: Flashcoders, In my application I received image data inform of base64. I have to decode that data and display in flash using actionscript 2.0. I cannot able to do it. I try to to use this class http://ostermiller.org/*Base64.ashttp://ostermiller.org/Base64.as * but it dosent works. Thanks, --Santhakumar K Chennai India http://www22.brinkster.com/zkumar/main.html ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com -- Santhakumar KChennai Indiahttp://www22.brinkster.com/zkumar/main.html ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] how to decode base64 data and display in flash
Hi Santhakumar, If your image data is not too big in size/resolution (pixel * pixel), you could repaint it after decoding, for example: * Have a class painting a 1*1 pixel sized square and put it to specific coordinates x/y. * Decode your base64 encoded image. * paint your image line by line. This solution is probably not a good idea for big pictures, but should work for a single small thumbnail sized picture. You might combine the painting with nice effects, other than line by line. I am looking forward to your feedback. Regards, Matthias 2006/6/9, Santhakumar K [EMAIL PROTECTED]: Flashcoders, In my application I received image data inform of base64. I have to decode that data and display in flash using actionscript 2.0. I cannot able to do it. I try to to use this class http://ostermiller.org/*Base64.ashttp://ostermiller.org/Base64.as * but it dosent works. Thanks, --Santhakumar K Chennai India http://www22.brinkster.com/zkumar/main.html ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] how to decode base64 data and display in flash
Flashcoders, In my application I received image data inform of base64. I have to decode that data and display in flash using actionscript 2.0. I cannot able to do it. I try to to use this class http://ostermiller.org/*Base64.ashttp://ostermiller.org/Base64.as * but it dosent works. Thanks, --Santhakumar K Chennai India http://www22.brinkster.com/zkumar/main.html ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] how to decode base64 data and display in flash
hello :) In AS1 or AS2 ... with flash 8 or ... you can't use directly Base64 picture :) Only with AS3 you can with Binary objects ! If you want transform base64 data ... you must use PHP or other and after load picture with MovieClipLoader.loadClip or MovieClip.loadMovie methods. EKA+ :) 2006/6/9, Santhakumar K [EMAIL PROTECTED]: Flashcoders, In my application I received image data inform of base64. I have to decode that data and display in flash using actionscript 2.0. I cannot able to do it. I try to to use this class http://ostermiller.org/*Base64.ashttp://ostermiller.org/Base64.as * but it dosent works. Thanks, --Santhakumar K Chennai India http://www22.brinkster.com/zkumar/main.html ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com