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
Similar Posts:
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
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
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
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
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
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
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
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
Nov 29, 2005
I know, I can send fscommand but can i take in fscommand and process it?
View 6 Replies
Dec 26, 2009
My sample templates are missing, all that shows now are Cateregory: Advertising and different size banners. I searched my harddrive and found the rood folder where they are stored but only the folder for Advertising exist. I haven't deleted anything, so could it have been a glitch at installation, I had startup problems with Flash constantly crashing at the splash screen and finally had to uninstall and reinstall.
Running WinXP SP3.
[Code]....
View 2 Replies
Jul 23, 2010
I'm designing a drawing board with flash (as3). I want to add the posibility to take a sample of color from the canvas.
View 1 Replies
Jan 4, 2011
I am new to flash and was working with the Kirupa tutorial that showed the letters of Kirupa being moved and fading, all done within 30 frames. The example that was posted is so smooth and slow in its transition. I followed the directions but mine is quick and jerky.
View 1 Replies
Mar 27, 2010
I have movieclip in my php page. I have button in that clip. What code should I use for change all page to an other one because when I use
on (release){getURL("[URL]");}
It opens that page at swf file's spot but I don't want it. I tried
on (release){ getURL("[URL]", "_blank");}
But it opens in new tab. I want to open new page in same tab. Is there any way to do that?
View 3 Replies
Nov 9, 2010
where is the source code for the multicastplayer sample that is located in <installed directory>AdobeFlash Media Server 4 oolsmulticastmulticastplayer directory? The StrobeMediaPlayer does not use the same html code and does not playback a rtmfp multicast stream.This is the code used in the multicast sample player to pass the manifest.f4m file into the player to playback a Multicast Stream which is not used in the StrobeMedia player sample.
var flashvars = {}; <!-- Add manifest file location e.g. flashvars.manifest = "manifest.f4m"; --> flashvars.manifest = "manifest.f4m"; <!-- Enable debugging --> <!-- flashvars.debug = "true"; --> <!-- Adjust buffer time  - default is 4 seconds --> <!-- flashvars.bufferTime = "10.0";
View 4 Replies
Jan 29, 2011
I am trying to download some graphics swf file for applying skinning to my FLex components .But i cant find any free graphics swf files .Could anyboody please tell me where could i find sample graphics swf files ??
View 5 Replies
Jun 20, 2011
I'm working the last two weeks on a module which uses computeSpecturm() to analyze FFT data from a mic. I'm currnetly trying to figure out a way to detect the pitch on each 'sample' of this sound. Does any one know how to find the fundamental frequencty or how to use auto-correclation on the FFT to get the pitch?
View 4 Replies
Jan 11, 2011
Can some only indicate a small piece of FLEX/AS code which plays mp3 and with play button only,the objective is to play a sample sound for around 5 to 10 seconds.And the compiled swf should have the mp3 embeded in it
View 1 Replies
Feb 8, 2011
The reference doc ( here ) tells us to download the sample application: Included in the project distribution is a collection of samples called the Spring BlazeDS Integration Test Drive. This samples project is set up to be built with Maven and then imported into Eclipse for running the application via WTP.
The samples in question, must either be spring-flex-testdrive-spring3.zip which is linked to in the document or spring-flex-testdrive-spring3.zip based on the notion that this is release 1.5.0.M1 (docs and samples).After I configure maven as described with the proper environment variable:
MAVEN_OPTS="-Xms256m -Xmx512m -XX:PermSize=128m -XX:MaxPermSize=256m"
I then execute (per instruction) the command to install: mvn clean install from the extracted samples directory (in my case C:spring-flex-testdrive ), I receive the following error:
C:spring-flex-testdrive>mvn clean install
[INFO] Scanning for projects...
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[code]....
I have managed to get a "Spring BlazeDS" application working (with Flex), but now I'm at the point where I need to implement security, and if the samples would compile and run correctly.
View 3 Replies
Sep 14, 2011
I have a swf file (little animation) created in swish and I want to put it in my windows form app like a header, I was reviewing the below link but it doesn't say too much, could someone give an example of how to do this?
Embedding Flash in a Windows Forms .NET app
View 1 Replies
Apr 22, 2009
i attached my fla file and the sample activity image.so before i create like this activity i try basics of this activity.so i got proplem.there are lot of line drawing
View 1 Replies
Jun 26, 2009
we use all the time loader class with its loader.contentLoaderInfo and all listeners.Two question :1/ Is there a soft to make as3 class diagrams for soft design.2/ I would like to encapsulate loader class, the things which are not constant are urlmessages when load is complete objects to update when load is in progress (loadbar or textfield
View 3 Replies
Jun 13, 2003
could some one please tell me why the hell my fscommands don't work???[AS]fscommand("allowscale" , "false");
fscommand("showmenu", "false");[/AS]
these are the two I am using but the showmenu does not seem to work. could some some body help me with this?
I am attaching ta sample fla and the html file.
View 6 Replies
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
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
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
Jul 5, 2011
I've placed some of my videos flv and f4v in the vod/media and webroot/vod folders with sample files provided. My files were checked with flvcheck and passed. When I load the embed code into a Dreamweaver HTML file and save the page to the webroot folder as instructed, the provided sample files play in my Firefox browser. However, when I edit the code to insert my files in strict accordance with the instructions concerning codecID and extension, I get the following message on the Browser "We are unable to connect to the content you've requested." My videos are less than 30 minutes in length and were encoded H.264 using Adobe Media Encoder and as I said passed the flvcheck.
View 1 Replies
Sep 7, 2009
where can i get a sample user details form and validation?
View 1 Replies
Feb 24, 2010
I bought a ready to use mp3 player /shop solution ( Paypal ).Buyer gets the link to the loaded ( player ) mp3 file after successfull payment by email.Need to feed the player with only a part of the mp3 file, but taken from the full length mp3.
I cant simply load a pre-cut mp3 into the player, as the buyer will get the link to the file which loads into the player after buying.how to call just like the desired seconds to play from the track ?
View 0 Replies
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