|
|||
|
Hi. i'm new to Swf kit. i'm working on CD presentation. On CD there is many of .pdf or .cad files. I want to save pdf from CD on Hard Disk.
I know what is the path to the file on CD. Do i Have to open this file and then call Save as. (with some Handler)? |
|
|||
|
Please use the File object to copy pdf files directly, you don't need to open them at first.
Code:
var src = "e:\myfiles\file1.pdf"; var dest = "c:\file1.pdf"; var f = new File(src); f.copy(dest); |
![]() |
Was this information helpful? Yes No
| Thread Tools | |
| Display Modes | |
|
|