A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: Launching other files with fscommand()

  1. #1
    Junior Member
    Join Date
    Nov 2002
    Posts
    4

    Launching other files with fscommand()

    In Flash 5 you could use

    fscommand("exec", "cmd\t\c" + filename.ext);

    or something to that effect. You could also use

    fscommand("SHELLOPEN", "%ORG%\\" + filename.ext);

    Now in FlashMX with all the limitations.. How can I open other files example PDF files without using getURL()?

  2. #2
    Senior Member
    Join Date
    May 2002
    Posts
    248
    You have to put the pdf or whatever file you want to launch inside another folder named "fscommand". This folder must be in the same directory as the flash movie that's calling the fscommand.

    -Dan
    [swf width="300" height="40" background="#000000"]http://walnut.phpwebhosting.com/~jinglehouse/footer.swf[/swf]

  3. #3
    Junior Member
    Join Date
    Nov 2002
    Posts
    4

    Yes but what command to use

    Thanks for your reply Tom. But what command do you use. Have you successfully open another file format withing Flash MX. without using external tools? Placing PDF files in fscommand directory wouldn't help cause flash executes only exe files.

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