4 Replies Latest reply on Oct 12, 2006 5:36 AM by tristram23

    Flash application launcher

    tristram23
      I have a set of fully interactive flash applications which include external images & flv's (launched from a folder called 'media' and pdf files (launched from the 'fscommand' folder).

      These are separated into project folders.

      I would like to create a new interface with a set of buttons to launch each application. I've started the coding using

      on (release) {
      fscommand ("exec", "filename.exe");
      }

      but I guess this means that all the application files and associated folders have to be kept in the 'fscommand' folder of the launcher file.

      I'm not sure how to tell actionscript to look in each of the separate project folders for the relevant .exe file.

      Any suggestions would be great, thanks!

      Tristram
        • 1. Re: Flash application launcher
          DazFaz Level 1
          On the face of it, I would imagine if you treat the fscommand folder as your root directory then any calls for applications within sub folders would work something like this:

          fscommand("exec","myFirstDirectory/heyheyItsMe.exe");

          the "myFirstDirectory" being the sub directory inside of the fscommand (root)directory.
          • 2. Re: Flash application launcher
            Level 7
            You can use the

            ..\

            to get out the fscommand directory and into another.

            so

            ..\files

            will goto

            <fscommand>
            <files>
            projector.exe

            Hope this helps.

            Regards
            FlashJester Support Team
            e. - support@flashjester.com
            w. - http://www.flashjester.com

            There is a very fine line between "hobby" and
            "mental illness."


            • 3. Re: Flash application launcher
              DazFaz Level 1
              FlashJester Support Team, I was under the impression that the security issues that have been raised in the past (stupid I know) but the sandbox rules kick in to stop an application developed in Flash drilling downward. Meaning that you cannot jump out of the fscommand directory. You used to be able to do this in earlier versions of Flash but, as far as I know, in Flash 8+ this cannot be done. Well not unless you use a third party app.
              • 4. Re: Flash application launcher
                tristram23 Level 1
                FlashJester Support Team, I'm quite new to actionscript and I'm not sure how to use your suggestion, can I add it to the code that I've got...

                on (release) {
                fscommand ("exec", "filename.exe");
                }

                ...or do I need to structure it differently?

                Thanks for your help