A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: fscommand - parameters

  1. #1
    Senior Member
    Join Date
    Dec 2006
    Location
    Jax, FL
    Posts
    110

    fscommand - parameters

    Does anyone have the fscommand parameters for scripting to run an exe file.
    I have tried:
    fscommand('exec','c:\dir\program.exe');
    does not work.

    If I also setup the button with an action FS Command - this works fine.

    How does KM call the command??

    Thanks

  2. #2
    KoolMoves Moderator blanius's Avatar
    Join Date
    Jul 2001
    Location
    Atlanta GA
    Posts
    5,244
    In current flash player I'm pretty sure the EXE must be in a specific directory relative to your Flash exe. Also you do realize this only works from a projector?

    From the Online docs
    The exec command can contain only the characters A-Z, a-z, 0-9, period (.), and underscore (_). The exec command runs in the subdirectory fscommand only. In other words, if you use the exec command to call an application, the application must reside in a subdirectory named fscommand. The exec command works only from within a Flash projector file.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center