Solved

FSCommand...Please Help!!!

Posted on 2004-09-23
4
319 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
  • 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

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…
While working over numerous projects I often had the requirement for doing a screen capture in AS3.0. Unfortunately I found no "ready made" solutions in google search that suited my requirements. But I did come across some great resources which help…
In this tutorial viewers will learn how to create a basic motion tween animation in Flash Open a new document in Flash: Draw/import an image: Press CTRL + F8 to convert it into a graphic symbol: Select a frame (how long you want the tween to last): …
The goal of the tutorial is to teach the user how to how to load their YouTube profile onto Flash Media Live Encoder.

867 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now