Language: ChineseGermanSpanishFrenchDutchItalianRussian
123 Flash Chat Forums

Go Back   TOPCMM Community > SWFKit > SWFKit Support

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 10-06-2005, 05:59 AM
Junior Member
 
Join Date: Oct 2005
Posts: 1
Default Screen Capture

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
Reply With Quote
  #2 (permalink)  
Old 10-07-2005, 01:36 PM
Senior Member
 
Join Date: Dec 2002
Posts: 2,015
Default Re:Screen Capture

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");
      }
3) insert a script named "capture" into swfkit
4) add the following code into the "capture" script
Code:
      var image = Image.captureScreen(0, 0, 800, 600);
      image.save("c:\\screen.jpg");
2. save text
1) insert a button into the flash movie
2) call ffish script in action script
Code:
      on (release)
      {
        fscommand("ffish_run", "save");
      }
3) insert a script into swfkit named "save" then add the following code
Code:
      var text = FlashPlayer.getVariable("_root.myInput");
      var fout = new FileStream("c:\\demo.txt", "w");
      fout.write(fout);
      fout.close();
Reply With Quote
Reply

Was this information helpful?    Yes No



Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 01:59 AM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.