A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: FS Command for AVI file?

  1. #1
    Junior Member
    Join Date
    Oct 2001
    Posts
    26
    Im trying to call an external avi file. "getURL" will execute the avi, but on some pcs it uses IE or Netscape to play, and just becomes a hassel for the user. Anyone have any luck (sample code) to place in the buton?
    Thanks

  2. #2
    Junior Member
    Join Date
    May 2002
    Posts
    26
    Fs commands will only open applications - .exe on PC, or just the name of the application on Mac. However, if you want to open a specific file, such as your avi, you might try making an applet that launches the avi. Then have your fs command execute that applet, which will then open your avi. For a Mac example:

    on (release) {
    fscommand (exec, "StarterApp");
    }

    Obviously it's "StarterApp.exe" for PC, and the applet itself will be done in the appropriate script for your system. In case you haven't read this a thousand times already, you'll need to put the applet in a subfolder of your projector called "fscommand". The avi should be in the same folder as your projector.

    If you need examples of an Applescript or WinScript, I won't have time to respond to a post until Monday, but in the meantime I'm sure other FlashKit people can help you.
    Hopefully helpful.
    -chelmquist

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