The JavaScript and DOM implementations of current web browsers don't really have good mechanisms for doing this sort of thing Your best bet is to have your AS3 return a DATA protocol URI with a base64-encoded version of the image. Modern browsers (IE8+, FF2+, etc) will accept a DATA URI as the SRC of an IMG tag and will render the image contained therein http://en.wikipedia.org/wiki/Data_URI_scheme You'll have to have a AS3 expert explain how to turn an byte-array into a base64-encoded string, but it cannot be that hard.
The JavaScript and DOM implementations of current web browsers don't really have good mechanisms for doing this sort of thing. Your best bet is to have your AS3 return a DATA protocol URI with a base64-encoded version of the image. Modern browsers (IE8+, FF2+, etc) will accept a DATA URI as the SRC of an IMG tag and will render the image contained therein.
http://en.wikipedia.org/wiki/Data_URI_scheme You'll have to have a AS3 expert explain how to turn an byte-array into a base64-encoded string, but it cannot be that hard.
Not worked in Draw(mySprite);), convert that to a PNG using adobe's AS3CoreLib (myByteArray = PNGEncoder. Encode(myBitmapData);), convert that to Base64 using Flex's Base64Encoder (myBase64Encoder. EncodeBytes(myByteArray);), then export that to some Javascript function using ExternalInterface.
– Ender Jan 18 at 19:45.
Not sure how applicable this answer is to the original question, but it helped me. Thanks! – A.
Levy Mar 16 at 5:13.
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.