A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: PPS not opening

  1. #1
    Member
    Join Date
    Jan 2004
    Posts
    42

    PPS not opening

    I am using this code on my button:
    ------------------------------
    on (release) {
    fscommand ("exec", "launcher.bat");
    }
    ------------------------------

    The bat file is running fine but it's not opening when I click on the button. I am using flash cs6 and AS 2.0

    Any ideas what the issue might be?

  2. #2
    . fruitbeard's Avatar
    Join Date
    Oct 2011
    Posts
    1,780
    Hi,

    you need to publish the fla as a win projector file (.exe file), you need to have the *.bat file in the folder called fscommand and your *.pps file in the fscommand folder too (unless you target it elsewhere from the *.bat file)

    simple bat
    @echo off
    start myfile.pps

    targeted bat

    @echo off
    start C:\Users\Fruity\Desktop\ggg\myfile.pps

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