A Flash Developer Resource Site

Results 1 to 7 of 7

Thread: command to open a file??

  1. #1
    Junior Member
    Join Date
    Oct 2006
    Posts
    7

    command to open a file??

    hi all
    i have a flash intro contain a btn must open a Powe Point Slide
    and i need the Action command to open the pps file???
    plz help

  2. #2
    foo to you foo2's Avatar
    Join Date
    Nov 2006
    Location
    Germany,Europe
    Posts
    180
    Is your swf online or offline?
    Sorry for my bad english. Feel free to correct my mistakes

  3. #3
    Junior Member
    Join Date
    Oct 2006
    Posts
    7
    offline

  4. #4
    Junior Member
    Join Date
    Oct 2006
    Posts
    7
    i find some thing in the taturial
    Code:
    Launching a PowerPoint Slide Show from Flash 
    
    By utilizing FSCommand exec and a batch (.bat) file (PC), you can launch a PowerPoint slide show from your Flash presentation menu. 
    
    1) In Flash, assign an action script to your link with the following fscommand exec: 
    
           on (release) {
             fscommand ("exec", "launcher.bat");
           }
    
    (in this example FSCommand exec executes a batch file called launcher.bat) 
    
    2) Create a batch file (i.e. launcher.bat) containing a single command:
    
           START presentations/SlideShow_A.pps 
    
    (In this example SlideShow_A.pps resides in a folder called presentations) 
    
    3) You must publish a flash .exe file (or run your .swf file directly since this won't work with an .swf file called by an html document) 
    
    4) Right click on your launcher.bat file and check the "Close on exit" box. 
     (This will create an MSDOS shortcut in the same root as the batch file. 
    This is necessary! Do not change or delete this new file! Note, 
    that you will still call the launcher.bat file with fscommand exec.)
    the red part i dont understand

  5. #5
    Junior Member
    Join Date
    Oct 2006
    Posts
    7
    plz help

  6. #6
    Ryan Thomson EvolveDesigns's Avatar
    Join Date
    Oct 2001
    Location
    British Columbia
    Posts
    3,338
    what happens when you right click the bat file? not sure where your confusion is
    Evolve Designs Interactive Media
    the natural selection

  7. #7
    Junior Member
    Join Date
    Oct 2006
    Posts
    7
    Quote Originally Posted by EvolveDesigns
    what happens when you right click the bat file? not sure where your confusion is
    "file and check the "Close on exit" box."
    i didn't find the check box?!!!

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