Solved

FSCommand...Please Help!!!

Posted on 2004-09-23
4
328 Views
Last Modified: 2006-11-17
Am trying to use the fscommand to launch another flash projector file (.exe) from my main flash projector file...can't seem to get it to work...need help ASAP...got to have out the door for client review in an hour and a half...please Help!

Code as follows:

_root.highQuality.onPress = function(){
      fscommand("exec","HQ/EM_Episode1.exe");
      trace("high");
}
_root.medQuality.onPress = function(){
      fscommand("exec","MQ/EM_Episode1.exe");
      trace("med");
}

Thanks!
0
Comment
Question by:acekz
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 39

Accepted Solution

by:
blue-genie earned 500 total points
ID: 12133723
hi, its obviously a pathing problem, where does this second exe reside?

try giviing it a full path eg.

on (release) {
        fscommand ("exec", "c:/progra~1/winamp/winamp.exe");
}
0
 
LVL 39

Expert Comment

by:blue-genie
ID: 12133759
something from the macromedia site:

exec : Path to application
 Executes an application from within the projector. In Macromedia Flash MX this application must be in a folder named "fscommand" which is a direct subfolder of the projector.
 
0
 
LVL 13

Expert Comment

by:FLAASHER
ID: 12134357
look man
c this file
its work :)
http://www.midoco.com/fs.zip
0
 
LVL 13

Expert Comment

by:FLAASHER
ID: 12134401
you must put the second projector in folder called fscommand
the first projector will be outside this folder
the action script code will be at the buuton in the first projector as folow

on (release)
{
    fscommand("exec", "flaasher2.exe");
}



its so simple :)

test and tell me :)
waiting 4 u
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction This article is primarily concerned with ActionScript 3 and generally specific to AVM2.  Most suggestions would apply to ActionScript 2 as well, and I've noted those tips that differ between AS2 and AS3. With the advent of ActionS…
In my long career of working as an actionscript developer, I had spent sleepless night often working hard to solve some small problems which actually took a lot of my development time; later found out the solutions to be a line or two. Here are s…
The goal of the tutorial is to teach the user how to live broadcast using Flash Media Live Encoder and connecting it to YouTube to broadcast. Log into your Youtube account, choose live stream settings, start live stream from Flash Media Live Enc…
The goal of the tutorial is to teach the user how to set there setting in Adobe Flash Media Live Encoder and YouTube for optimal video and audio quality.

705 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question