
Page 1 of 1
Jesse Stratford
Jesse lives in Melbourne Australia and is the Cofounder and webmaster of http://ActionScript.org. Once a full-time Flash enthusiast, teacher, author, freelancer and speaker Jesse's now leads a double life -- management consultant by day, http://ActionScript.org director by night. He enjoys participating actively in community and the wider Flash scene when he has time.
View all articles by Jesse StratfordTime: 15 minutes
Difficulty Level: Beginner
Requirements: Flash 4 or higher.
Topics Covered: fscommand(), start.exe.
Assumed knowledge: None.
Flash player changes & their impact upon this tutorial:
Before we begin users should note that Macromedia altered the access EXEC has to the system to prevent malicious coders from causing trouble. Executables must now exist within a specific directory. Read this article at Macromedia's help site for information about where to put your executable in order for it to comply with these security restrictions.
These changes nullify the usefulness of the old version of this tutorial somewhat. The "start" executable which this tutorial relied upon resides in the Windows directory and, as such, can't be made to comply with Macromedia's directory structure security requirements. For Windows systems you can however create a batch file (.bat) which invokes the start executable, then put this batch file in the correct directory. For Mac systems you can use Apple Script in the same manner. Both of these are mentioned at the link Macromedia help article above but not discussed in any detail.
This tutorial now provides an example of using a Windows batch file to execute files from locations other than the 'fscommand' directory. Windows users, grab this Flash MX source file and take a look. If someone wants to send me a working Apple Script example via email, I'll post it here too.
The old version of this tutorial (who's methods cannot be applied in any version of the Flash standalone player above Flash 5) has been moved to the Archives area of the Tutorial section; see the Tutorials index for a link to it if you need it.
Spread The Word
Related Articles
3 Responses to "Execute Files from Local Presentations" 
|
said this on 17 Jul 2007 1:37:08 PM CST
Yeah, your example really
Great Tutorial! Thanks! |
|
said this on 31 Oct 2007 6:04:18 AM CST
Yeah, there is another wa
on (press) { } Your browse w |
|
said this on 27 Apr 2008 7:09:38 AM CST
Using FScommand in flash,
1. You can o 2. The external executa 3. Using this you can o 4. Flash MX does Now, if This i on & fscom } Now flash Please note 1. Name the executabl 2. For each docum You can also ch http:// |



Author/Admin)