|
Tutorial: Using VB to launch files from the Flash projector
(Step 2)
First
of all, download this project and
open it in Visual Basic. Second, open up the form and double click
to get into the code. Third, replace the "insert file name
here" with the name and location of your file. You can use
relational directories (..\dir) if, for instance, you're placing
this on a CD and don't know the drive letter, or you can hard code
the directory structure. Either way works.
Remember: This will be the file's proximity to the file it is
launching, not the proximity to the movie. For example, if your
movie is in the root and all of your other files are in a directory
called "Files," then you would only need to add "file.tag,"
(e.g., preso.ppt)not the entire directory structure (e.g., \files\preso.ppt).
And, with the security settings that prevent Flash from running
malicious code, you're going to have to place the executable in
a folder called fscommand that is a subdirectory directly below
the Flash projector.
Previous
| Next
<1...2...3...4>
|