|
|||
|
I want to build a drawing program in flash and I want to save image like bmp or jpg with SwfKit and I want to use snaphot image and save in swf kit but i cant understund it!!!Can you help me with that!!!
|
|
|||
|
1) in swfkit, add a new script, in this sample we name it "SaveImage"
2) in the script, add the following code Code:
var image = Image.captureMovie(0, 0, 400, 300);
image.save("c:\\my.jpg");
Code:
on (click) {
fscommand("ffish_run", "SaveImage");
}
|
![]() |
Was this information helpful? Yes No
| Thread Tools | |
| Display Modes | |
|
|