Skip navigation
Currently Being Moderated

How can you run an executable from AS2 code without using fscommand() or a projector?

Jun 18, 2012 3:16 PM

Tags: #actionscript_2 #2.0 #external_program #external_process

Just using some short .asc files made out of Notepad for some back-end server stuff, but without using fscommand() or projectors, how can you call an executable? There's a C++ program that I want to run from more-or-less the same directory as the .asc files, which handles some logging, and I need to be able to pass it arguments when telling it to run.

 

Please note that I have Googled this with no useful results and that I'm on an assignment that necessitates this question. Also I'm open to the possibility that it can't be done.

 

Thanks!

 
Replies
  • kglad
    62,161 posts
    Jul 21, 2002
    Currently Being Moderated
    Jun 18, 2012 4:26 PM   in reply to Howitzer21

    where are the executables (server, user computer, elsewhere) and where's the swf (server, user computer, elsewhere)?

     
    |
    Mark as:
  • kglad
    62,161 posts
    Jul 21, 2002
    Currently Being Moderated
    Jun 19, 2012 6:31 AM   in reply to Howitzer21

    use loadvars to execute a local (to the swf's server) server-side program that calls your cross-domain server-side program.

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points