Projector Scripting

  • Started
  • Last post
  • 0 Responses
  • Jamie

    I am using the following actionscript on a button to open a .pdf from a flash projector exe :

    --------------------------------

    filename = "test.pdf";
    fscommand ("exec", "start " + filename);
    fscommand ("exec", "cmd /c "+filename);

    -----------------------------

    This code opens a command prompt window which then opens a .pdf.

    However, the command prompt window remains open.... does anyone know how I could cange the code to immedaitely shut the command prompt window after the .pdf has been opened?