ActionScript 2.0 :: Fscommand Exec - Couldn't Get Subfolders To Run Exe Files

Feb 23, 2006

can somebody explain me a little bit fscommand exec function I created a folder fscommand and put some exe and succedded to run it but in other folders above it with ../ and subfolders I couldn't get it to run exe files

View 6 Replies


Similar Posts:


Professional :: Flash 9 Fscommand Exec On Mac?

May 8, 2008

When publishing a mac projector (app) from Flash CS3 on PC,in order to use the fscommand("exec", appToLaunch) function, itseems as though the fscommand folder containing appToLaunch must berelative to the "Flash Player" app in the projector package. For example, if I create a mac projector called projector.appwhich calls fscommand("exec", "myOtherProjector"), and I putmyOtherProjector in the fscommand folder in the same directory,sitting next to projector.app - when I fun the projector thefscommand fails.

However, if I move the fscommand folder containingmyOtherProjector to the Contents>MacOS folder in the app folder(on mac right click, go to "show package contents"), next to "FlashPlayer" then run projector.app, the fscommand works and everythingis good.It looks to me like the fscommand folder needs to be relativeto the Flash Player and not to the projector. This means that the contents of the fscommand folder need tobe doubled on cross-platform projects. That's not good when you'repushing the limits of file space on a cd

View 2 Replies

ActionScript 2.0 :: Using FSCOMMAND(exec) SAMPLE In A ZIP

Jan 19, 2004

i was playing with the fscommand for a few times now but i havent made the exec command execute a file(in a subfolder)... a directory with a movie and a folder with sample exec file

View 1 Replies

ActionScript 3.0 :: Pass Parameter With Fscommand Exec?

Jan 5, 2012

I am writing a text file with batch file and this batch file which is called from fscommand.

I need to pass a parameter from fscommand. Is is possible ?Following is flash and batch file [code]...

View 3 Replies

ActionScript 1/2 :: Fscommand Exec Doesn't Work In Flash?

Sep 6, 2007

I normally do a CD for a convention twice a year, and this year was different. As usual things gets down to the very last minute with changes, but normally we don't encounter any problems with the opening of powerpoint presentations from within a flash, with the fscommand, as long as all the presentations and software are on the fscommand folder.

But yesterday I just couldn't make it work. I thought at first that was a vista thing, that wont let you run a cmd.exe window from flash, but then I realized it was happening, even after burning the CD in almost any enviroment. I tried changing the publishing parameters to flash player 7, 8 and 9, and try to publish it with action script 1 and action script 2 in all the possible combinations. Then i got smart and republished one I knew that worked, and it stop working.

[Code]...

View 6 Replies

IDE :: Fscommand Exec - Open A Word .doc From Within A Flash Exe Projector

Nov 9, 2009

I am having trouble getting even a trivial example of fscommand("exec", "..."); to work. I just need to open a Word .doc from within a flash exe projector. Eventually this needs to be on a cross-platform CD, but I'd be happy to see it work from the desktop of my PC at this point! I've attached a really simple sample.

View 3 Replies

Professional :: Fscommand Exec On Mac To Open Pdf Works In Cs3 Projector File

Feb 11, 2011

I could succesfully open a external pdf with the following command in Flash cs3 on a Mac: fscommand("exec", "test.app");test.app (inside an fscommand folder) is an apple script that opens the pdf inside the fscommand folder, to make it work I needed to copy the fscommand folder into the MacOs Folder of the Mac Projector File. The same steps don't seem to work with Flash cs5. I can't downgrade my cs5 project to cs3.Is this problem a bug in Flash cs5?

View 9 Replies

ActionScript 2.0 :: Fscommand("exec" - Path) Doesn't Load

Aug 26, 2002

I created a swf movie which contains a button with this action:

[Code]...

then i published this movie to an *.exe program (projector). In it's folder i've created another folder named 'extra', which contains program 'start1.exe'. but program 'start1.exe' doesn't load, when i click the button.. is there something i don't know?

View 1 Replies

ActionScript 3.0 :: Use A "path" In Fscommand Exec?

Mar 2, 2010

I am calling some processing sketches(java exe) from as3

Code:
btngametwo.addEventListener(MouseEvent.MOUSE_DOWN,btngametwoClick);
function btngametwoClick(e:MouseEvent):void {
if (btnLockOut == 0)

[Code].....

using a bat I get the command window up for a few secs--I do not want that
but I need to have each sketch in a subfolder in "fscommand " folder--if I do not use subfolders I can not have multible games.....anyway I can not seem to use a path to the .exe in the fscommand line that works

View 1 Replies

ActionScript 2.0 :: Can Send Fscommand But Can Take In Fscommand And Process It

Nov 29, 2005

I know, I can send fscommand but can i take in fscommand and process it?

View 6 Replies

Swf In Subfolders Not Working On The Web?

Nov 5, 2010

i have a container swf and 3 subfolders that load in videos and images, when i run it local everything works and loads fine ( dbl clck the swf) but when i put it on the web server and call up the url the video from the subfolder does not work?? if i go yto the web server and ( dbl clck the swf) all works? here is what i am using ( from DW CS5 )

<div id="content"><span style="text-align: center"></span>
<object id="FlashID" classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000" width="100%" height="100%">
<param name="movie" value="start.swf">[code]..........

View 3 Replies

ActionScript 2.0 :: XML Across Subfolders?

Sep 13, 2006

how to load SWF into timeline with its own XML?I know how to load SWF into timeline, but how to tell flash to search for XML in its local folder, instead of local folder of main timeline?

main.swf ---> at /main
loads few gallerys
gallery.swf ----> at /main/gallery1[code].....

how to tell flash to search for xml locally, where gallery.swf is?

View 1 Replies

ActionScript 2.0 :: Can't Open Jpg In Subfolders

Oct 22, 2007

I am using loadClip to load some jpg into flash. I am using IIS as webserver to test the application. The problem is that the images placed in subsubfolder are not being loaded! Example:

images in "allpics" are loaded
images in "allpicsimages1" are not loaded

that is, only images in the FIRST subfolder are loaded..why? I have enabled "Directory Listing" to all folder and I have granted all permissions in IIS.

Code:
__________________________________________________ ___________
var loadListener:Object = new Object();
var mcLoader:MovieClipLoader = new MovieClipLoader();
mcLoader.addListener(loadListener);

[Code]....

View 3 Replies

Media Server :: FMS Streaming From A Mounted Folder And Its Subfolders?

Jan 28, 2010

FMS Question about streaming from a mounted folder which has sub-folders: I have an FMS running with the following configuration:1. App named video ( duplicated as per instructions here: http://bit.ly/bgGRUI)2. VirtualDirectory set as follows[code]...

1. Player unable to play the video2. Server sees a hit but nothing streams ( see 0 bytes sreamed from log file).Since it is local, I am right now focusing on FMS, and avoiding - firewall issues ( I will have to open ports 1935, 1111 and 8134 eventually)- folder access issues ( same host: although I need to be able to mount remote folders eventually)

View 5 Replies

Couldn't Play Flash After Upload

Mar 13, 2011

This problem has drive me nut for the last 2 days and i couldn't figure out what was wrong. I created an HTML page with Dreamweaver CS5 that has a small Flash file. It plays correctly in my local computer but after i upload the file on the server, it couldn't play the Flash movie. I tried paste the link of the movie file into the browser and it works fine. But when i type in the page web address the page is displayed but couldn't see the Flash movie.

1)Do i have to change the setting to play Flash in the server?

2)Could be this Java Script : "AC_FL_RunContent" ?

3) I uploaded this Java Script file "AC_RunActiveContent.js" same directory with the html file but no luck.

View 1 Replies

ActionScript 3.0 :: Couldn't Load Swf Into Another Swf File

Jul 6, 2010

I have two swf files, one is swf1 and other is swf2, swf2 is very complicated application, it has code in Document Class. I am trying to load swf2 in swf1 through flash.display.Loader class, it loads properly but when it completes half execution of its code, it gives following error and gets stuck there. ArgumentError: Error #2180: It is illegal to move AVM1 content (AS1 or AS2) to a different part of the displayList when it has been loaded into AVM2 (AS3) content. I have tried much to find out the solution on google but no avail.

View 3 Replies

ActionScript 2.0 :: Couldn't Get Each Box To Move Individually

Dec 16, 2002

I've got two movieclips box and box2 and I've place them in the same layer because I couldn't get each box to move individually in seperate ones I've placed this code on the frame

startx = box._x;
starty = box._y;
startx = box2._x;

[Code]....

Now I've got both movieclips shaking but they're on top of each other rather than in the places I want them. I'm sure its a case of changing something but what?

View 8 Replies

IDE :: Couldn't Load Dynamic Text Into A Movieclip

Dec 11, 2009

Trying to write a script that load dynamic text from a .txt file.

Everything works fine until i tried to put the dynamic text inside a movieclip. There is a error generated which i dont understand.

Below is my code,

var myLoader:URLLoader = new URLLoader();
myLoader.dataFormat=URLLoaderDataFormat.VARIABLES;
myLoader.load(new URLRequest("data.txt"));

[Code].....

View 3 Replies

ActionScript 3.0 :: Animation Couldn’t Control With Play Pause Toggle Button

Mar 8, 2012

I have multiple movie clip with bg sound.I have used the code AS3 for toggling the animation ( Play & Pause )automatically the animation starts and button also toggled on click but couldn't control the animation . I need some solutions like when the initial stage the animation wont start either the button click to play.After that the flow as it is in action ( ON Click ). Kindly anyone guide me to solve it. i'm very new to flash. this is my first project and i have to finish it soon..

[Code]...

View 0 Replies

Flex :: SWFLoader - Child Apps Couldn't Access Certain Objects That Were Instantiated By Another Child App?

Aug 23, 2010

i have problem with swfLoader in flex, when i close following code in click method i can easly add many swf to main application

<mx:VBox id="content" width="100%" height="100%" ></mx:VBox>
public function doIT():void
{[code]....

when i close adding those swfs in loop i have the same error, it looks like child apps couldn't access certain objects that were instantiated by another child app, so what can i do?

View 1 Replies

ActionScript 3.0 :: Couldn't Detect Empty Input Textfield As Txt.text == ""

Aug 20, 2009

if (txt_email.text == "") {
trace("1: Please fill in your email");
}
if (txt_email.text != ""){
trace("2: Email filled successfully");
}

No matter you leave the textfield empty or with words filled up, it still display the second result.

View 6 Replies

Php :: Flex - Compiling Swf From Php Using Mxmlc And "exec" ?

Aug 1, 2011

I'm on a RedHat server, with a simple PHP page that has a form, with inputs for name, phone, and url. When the form is submitted, I run a command to compile a swf using mxmlc. The command is this :

[code]...

Both directory and files have been CHOWN'd for ownership and CHMOD'd for 775... So what am I doing wrong to get this to work from the web page? Should I have a forked process and wait until it's complete? Sleep?

View 1 Replies

ActionScript 2.0 :: Target A Subdirectory With "EXEC"?

Jun 16, 2006

Where JPGS2.app is an applescript which resides DIRECTLY inside the fscommand folder the following WORKS:

Code:
on (release) {
butt1.onPress = function(){
fscommand("exec", "openJPGS2.app");
}
}

Where JPGS2.app is an applescript which resided inside the folder "scripts_apl" inside the fscommand folder the following DOES NOT WORK:

Code:
butt1.onPress = function(){
fscommand("exec", ":scripts_apl:openJPGS2.app");
}

The same is true if just for kicks I put ":fscommand" in front of the path. Can I assumer therefore, that the EXEC commond does not allow for nested folders even inside the "fscommand" folder even though Macromedia documentation says otherwise? I know that was an older reference. It is really important that I get a sub folder. I have some 40 applescripts and PC scripts that I will need to run, and I would really prefer them to be tucked nicely away in a folder.

View 5 Replies

Get Fscommand In Flex3?

Oct 8, 2009

I have one swf file in that i used fscommand to get final output when submit button clicked in that swf i am loading that swf in SWFloader in flex3 .i need to get fscommand value as Alert, how to get that value first and display as alert.

View 2 Replies

ActionScript 3.0 :: FSCOMMAND Launching App Twice?

May 22, 2011

why the below line of code launches notepad.exe twice?

fscommand("execfile", '"C:\Windows\Notepad.exe"'); //opens notepad 2x - path in double quotes

 
verses this line of code which opens it only once?
fscommand("execfile", "C:\Windows\Notepad.exe");  //opens notepad once

I'm working on a FP10 .exe projector project and noticed this odd behavior.If I had spaces in my file path, I'd want to surround it in double quotes, but that has the undesired effect of opening the app 2x.Since I don't have full control over all the elements in the project, I'm forced to use fscommand in this scenario.

View 1 Replies

ActionScript 2.0 :: Open A Pdf Without Fscommand?

Jan 23, 2012

I have a project that opens a pdf using fscommand.

View 2 Replies

ActionScript 3.0 :: Turn Off Pop-up With Fscommand?

Jun 21, 2010

with AS2, we use fscommand to do it, but AS 3 I don't know how to do ..

We can reference from: [URL]

View 1 Replies

ActionScript 2.0 :: Call Another Program Through Fscommand

Jul 21, 2009

I am quite a newbie and want to call another program through fscommand.Flash and the programm I want to call are both running on my hard disk (NOT online)I do not really understand what I have to put into:

1. the line command

2. the line parameters

View 2 Replies

ActionScript 2.0 :: FSCommand Not Working In Web Browser

Aug 7, 2009

I've done all of these and everything is ok. but I want to do more. I want to play my flash in a web browser and I used publish to html. but my fscommand doesn't work in the web browser! what should I do?

View 8 Replies

ActionScript 2.0 :: Fscommand And Opening An Applications?

May 28, 2002

I am working on putting a portfolio on CD and would like to include a video. The video I want to be played by windows media player, but I seem to be missing something. I have a button and have put this code on it...

on(release){
fscommand("exec", "c://Temp.mplayer2.exe");
}

I have tried multipe variations of this code but nothing happens.

View 2 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved