Hey,
Somebody have an answer to this?
Is it possible for flash take a screenshot of a users desktop and display it from within the swf? Or does this break a few privacy laws?
Thanks
Hurley
Hey,
Somebody have an answer to this?
Is it possible for flash take a screenshot of a users desktop and display it from within the swf? Or does this break a few privacy laws?
Thanks
Hurley
yes, with some work
It is a slow and painful process, but doable.
{CWoT - Riddle } {Freelance Copywriter} {Learn to Write}
Follow Me on Twitter: @InkingHubris
PHP Code:$result = mysql_query("SELECT finger FROM hand WHERE id=3");
echo $result;
Another option would be to use BitmapData class. although this is very very slow it will do what you need to as well.
I can tell you what it should do, but if it doesn't I can't fix it for you, I don't use it...
It should go pixel by pixel in the mc stated and get the information, then in turn changing it to a bitmap file then you can do what you need to with it. It works but is SUPER slow. The idea being you are selecting a certain MC, if you want the whole stage make a holderMC and do the whole stage inside the blank MC. Code the BitmapData to the holderMC and viola a stage screen shotCode:import flash.Display.BitmapData bm=new flash.Display.BitmapData(mc._width,mc._height,false); bm.draw(mc); pixelData=''; for(x=0;x<mc._width;x++){ for(y=0;y<mc._height;y++){ pixelData+=bm.getPixel(x,y).toString(16)+','; } }![]()
{CWoT - Riddle } {Freelance Copywriter} {Learn to Write}
Follow Me on Twitter: @InkingHubris
PHP Code:$result = mysql_query("SELECT finger FROM hand WHERE id=3");
echo $result;
Bookmarks