A Flash Developer Resource Site

Results 1 to 20 of 154

Thread: Northcode's Runtime.exe verses Proxy.exe

Hybrid View

  1. #1
    Member
    Join Date
    Sep 2003
    Location
    Long Island, NY
    Posts
    33

    2desktop question for you

    It's me again -

    Northcode, you just turned "2desktop" into a MAJOR utility for copying files from a CD-ROM (projector) to the PC users desktop!!!!

    This is how I set it up:

    I used "proxy.exe" and changed the name to "getfile01.exe"

    I created a .bat file and I named it "getfile01.bat"

    (this procedure avoids the DOS screen from popping up)


    .bat file has this text on it:
    ===================
    2desktop myfile01.jpeg message / myfile has been saved to your desktop / My CD-ROM File Manager


    In Flash, the button has this code:
    ==========================
    {on (release) {
    fscommand("exec","getfile01.exe");
    }


    I published the Flash projector. When the button is pressed, a message window popped up to announce that the designated file was saved to the desktop!

    PERFECT!!!!
    ==========

    Thank you Northcode! You are my HERO!!!!!
    ==================================
    nycomet

  2. #2
    Member
    Join Date
    Feb 2004
    Location
    St. Louis, MO
    Posts
    65

    So very helpful

    This was the most helpful thread I read about this topic by a long shot. Everyone else only seems to know a little about it. But with your instruction and description, this was great.

    I am making a dual platform CD with a flash projector on it that will allow the user to download word .docs to their computer. I have the pc side done, and have followed a number of tutotials including this one for the mac, and though everything looks good, i cant get the button to launch the doc!

    All in flash 8

    here is my fscommand script:
    on (release) {
    fscommand("exec", "launcher.scpt");
    }
    on (release) {
    fscommand("exec", "1doc.bat");
    }

    here is my applescript:
    tell application "Finder"
    activate
    select file "1.doc" of disk "Turnarond Solutions 5W's Method"
    open selection
    end tell

    Save as/Application
    Checked: Startup Screen
    Not Checked: Run Only, Stay Open

  3. #3
    Junior Member
    Join Date
    Oct 2002
    Location
    Sibiu, Romania
    Posts
    14
    I read all the 6 pages of this thread and I did not see if it is possible to do this :

    PROJECTOR FILE:
    ===========
    on (release)
    {
    cmd = "printrez.exe" add chr(9) add "/f Design.jpg" add chr(9) add "/m Copy success";
    fscommand("exec", cmd);
    }
    ================


    BAT FILE ( printrez.bat ):
    ============
    copy2 %1 %2 %3
    ===========

    It does not work and I'm not sure if it is possible or what I'm doing wrong

    I have to make ~ 20 butons which have to copy some files from CD on HDD and I dn't want to create for every file another 2 (bat & exe ) .. can you please guide me ?

    10x in advance
    Check this to see some nice 360° panormaic images from Sibiu. [ Quick Time required ! ] , visit Sibiu website to find out what's happening in Sibiu, or visit our forum
    Supercar News - Your Daily Supercar News Resource
    Luxury Gadgets - The finest expression of luxury

  4. #4
    Lifetime Friend of Site Staff Northcode's Avatar
    Join Date
    Dec 2000
    Location
    Whitehorse YT
    Posts
    3,764
    The trick you're trying to use (passing arguments from Flash to an external EXE/BAT file) will only work with Flash 5. Macromedia made changes in versions of Flash after that to close security holes in the standalone player.

    Unless you use a third party swf2exe tool (see list below), the only solution is to create 2 files for each file you want to print using your utility -- (1) a BAT file that opens the file you want and (2) a copy of PROXY.EXE renamed to the same as the BAT file to launch the BAT file and hide the DOS box.

    It's a bit of a pain, but the price is right

    Finally, here's a list of third party ($) tools that you might want to check out...

    Some third party swf2exe tools...

    SWF Studio http://www.northcode.com (this one's mine)
    Zinc http://www.multidmedia.com
    mProjector http://www.screentime.com
    Jugglor http://www.jugglor.com

  5. #5
    Junior Member
    Join Date
    Apr 2008
    Posts
    5

    Video file doesn't open

    Hi, Im using proxy.exe to open some video files in a cd-rom and everything works amazing; but when I open it in Windows Vista the files don't open, only opens the application...

    the .bat file (conferencia1.bat) has this line:
    start conferencia1.wmv

    the proxy file was renamed to conferencia1.exe

    the code in the button is:
    on(release){
    fscommand("exec","conferencia1.exe");
    }
    All the .bat, .exe, and .wmv files are inside the fscommand folder. Can anyone help me?

    Thank's

    What's wrong????

  6. #6
    Member
    Join Date
    Feb 2004
    Location
    St. Louis, MO
    Posts
    65
    That's a problem. If they really pull XP off the shelf in June, then I have alot of CD-ROM's that need some files updated.

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