I had looking around on www.flashcomguru.com for some other thing. I had found that stoem posted that sending bitmap object via flashcom don’t working. I also tested out by sending as sharedobject using send method on client side. It is always traced as undefined.
There is an alternative method for it to send the bitmap object to all connected client using the getPixel and setPixel method by using new Bitmap API in Flash 8. This method is relatively slow in case of big image beceause it has to pass the large pixel array with the color information to all client. Client will process the pixel array with color information to generate bitmap on client side.
Here is the direct link of example: Screen Test
(Note: This example will take a snapshot from the webcam if you have connected and send it to all clients connected to server.)
Here is the fla link of example: Download Fla
I am also looking for any other solution or to speed up the processing of color information array. This Bitmap object will be very usefull to take a snap of any movie clip that run in flash screen and able to deliver to all client via flash communication server.

No comments yet
Your Reply
If you wish to trackback to this post please use the following trackback address: http://www.actkid.com/2005/09/19/sending-a-bitmapobject-via-flashcom-with-use-of-getpixel-setpixel-method/trackback/
Spread the word.
Supports RSS (Real Simple Syndication), and Trackbacks from other blogs.
RSS feed for this post Trackback URI