A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: To load an flash projector from a flash projector

  1. #1
    Junior Member
    Join Date
    Jul 2002
    Posts
    1

    To load an flash projector from a flash projector

    Hi,
    Hope some one can help me. I have 2 exe files in a folder. By clicking a button from the first exe, I need to load the second exe. Is this possyble?

    A big thank you to all who can help me.
    Bye
    Rasara
    russ

  2. #2
    Banned By GMF Wannabe Gambini's Avatar
    Join Date
    Oct 2000
    Posts
    976
    You can use the EXEC FSCommand to launch another application but the projector you want launch must be in a folder called "fscommand"

    Alternatively, download a copy of Flash Studio PRO and you can launch any application from anywhere on your system! Sample code:
    Code:
    myApp = "Projector2.exe";
    fscommand ("flashstudio.exec","myApp"):
    I hope this helps!

  3. #3
    Lifetime Friend of Site Staff Northcode's Avatar
    Join Date
    Dec 2000
    Location
    Whitehorse YT
    Posts
    3,766
    All of these third party tools provide improved EXEC commands...

    SWF Studio http://www.northcode.com
    Jugglor http://www.***********.com
    FlashAnts http://www.flashants.com
    Flash 'N Pack http://www.flashnpack.com
    SWFKit http://www.swfkit.com
    LPFlashEX http://www.logicplus.com.hk

    In some you can use the same EXEC command that Flash uses with extensions that allow you to pass paths to the EXE file and command line arguments. For example, in SWF Studio you can do this:

    fscommand("exec", "Projector2.exe");

    And Projector2.exe is assumed to be in the same directory as the projector that is launching it, getting around the need to put the EXE file in the FSCommand directory.

    You can find out more about changes to EXEC and FSCommands in Flash MX and MX'04 (vs. Flash 5) at www.beyondflash.com and www.extendingflash.com

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