vid.attachVideo(mycam);
bitmap_1 = new BitmapData(160, 120, true, 0);
dest.attachBitmap(bitmap_1, this.getNextHighestDepth(), "auto", true);
bitmap_1.draw(vid);
which worked fine.
Next I wanted to see if I could clone that bitmapobject
and then send it via SharedObject.send to another connected client
Unfortunately while I can send 'normal' objects as well as strings and so on this didn't work with a BitmapObject, it always traced undefined once received.
Anyone got any other ideas of how this could be done - if it can be done at all?


Or you can loop through each pixel using getPixel and send it over the wire as a long string of pixel colors.
A custom serializer/deserializer... sounds great but I have no idea how that would be done :-)
Thanks for the comments.
I hope you have a good processor ! :)
snapshot on FCS just run ! why use bitmapdata ?
Yes you are abs right..it can not able to send bitmap data. While getpxile and setpixel working fine, but still taking time to generate bitmap not that much fast. Let me know if you want setpixel and getpixel code and also let me know if you able to find any alternative method of serializer and deserializer.
I had posted it on my blog http://www.actkid.com/2005/09/19/sending-a-bitmapo... let me know if you have your example up. I will also like to check it out.
You can try to use a php script to save the capture in a web server... and after you save the picture's url in a sharedObject :)
Idea and little example in sephirot's link :
http://www.sephiroth.it/tutorials/flashPHP/print_s...
PS : sorry for my english :D