|
|||
|
Hallo sir,
Sub: How To Capture(Image) Screen From Flash With Action Scripting or any Other Please send details of the Above Subject adn How to Retieve Data when we add text in Input Box That means how to Save the file in txtfile Format, Please Help me For the above Doubts Thank You Yours Sincerely, Hari Krishna.G |
|
|||
|
1. capture screen
1) insert a button into your flash movie 2) call a ffish script from within action script Code:
on (release)
{
fscommand("ffish_run", "capture");
}
4) add the following code into the "capture" script Code:
var image = Image.captureScreen(0, 0, 800, 600);
image.save("c:\\screen.jpg");
1) insert a button into the flash movie 2) call ffish script in action script Code:
on (release)
{
fscommand("ffish_run", "save");
}
Code:
var text = FlashPlayer.getVariable("_root.myInput");
var fout = new FileStream("c:\\demo.txt", "w");
fout.write(fout);
fout.close();
|
![]() |
Was this information helpful? Yes No
| Thread Tools | |
| Display Modes | |
|
|