Flash Animation
In Flash, you can call the following statement to open the file. The method is simple, but there is a big defect. is to open the executable file only:
Flcommand ("exec", "");
Now that you can open an executable file, is it possible to open the file that we want to open by opening an executable A and then using a? Below, we can use the bat file to do this executable file a bar.
1. Write the following statement in ActionScript in Flash:
On (release) {
Fscommand ("exec", "Action.bat")
}
2, the following to write a bat file, open Notepad, enter the following code:
@echo off
Start file name. suffix
Exit
File names can use relative paths and absolute paths, and if you want to open a file called "Delphi.pdf" in the same directory, you can write this:
@echo off
Start Delphi.pdf
Exit
Then save the file as a onen.bat, of course, and flash to put the same directory.