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


Similar Posts:


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

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

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 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

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 3.0 :: Fullscreen Doesn't Work - Fscommand Works Only When Debug Fla

Aug 23, 2011

I prepared a footer for a website and have the following issue:There are two buttons on footer bar that interests us. One is fullscreen - clicked activates fscommand function. But fscommand works only when I debug my fla. Otherwise, nothing happens. There's an additional variable that shows if fullscreen is active - nothing happens.There's also a "coder" info. I wanted to use navigateToURL function for "mailto:..." adress, but nothing happens, even if if changed it to [URL] adress. Also debugger doesn't activate it.I tested it in browser, completely nothing happens. There's the code, works without any "addons":

[Code]...

View 7 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

Professional :: Video Path Doesn't Work?

Feb 1, 2011

I have a flv that is loading from a subdirectory off my flash swf.Everything works fine when I load the video from [url].....However, when i start the video from mysite.com, the video is not located.What can i do to remedy this?  I'm not using an absolute url in the component parameter inspector.For example
 
myVidDirectory/myvideo.flv
 
should I use a different path?

View 3 Replies

ActionScript 2.0 :: Function Doesn't Work According To Path

Jun 10, 2008

I'm programming a dinamic flash/xml website. up until now I've kept the info for the menus and the one for the gallery (the site has a gallery that displays both text and images) in separate xml files. but I'm trying to make all of it work out of a single xml file. I've managed to make the menus and the gallery all go get the info correctly to the xml (text and images), but then I came up with a problem that jeopardizes the whole show: a path inside the xml's onLoad function refuses to work! the code that bears the function has to be placed into the same clip as the clips that contain the text fields to wich info will be passed or it won't do a thing.

supose this is my actionscript code:

Code:
var contentSubMenu = new XML();
contentSubMenu.ignoreWhite = true;
contentSubMenu.load("example.xml");

[code]....

no information is passed to that clip. If the path targets that clip one should expect it to, right? even if all this code is placed on _root, right? well, it doesn't happen...I tried tracing for info that comes from the xml, but nothing is displayed in the output window.

I've attached a zip file that contains a fla file, an xml file, a txt file with the full chunk of actionscript code and the fonts you'll be needing should you decide to take a look (they're only two).

The fla file has been built in the following manner:

_on the right side, the clips that hold the text fields to wich the contentSubMenu.onLoad function will pass info to are directly placed upon _root (so, following the code example from above, it would be like having var buttonList = _root;)

_on the left side, the clips that hold the text fields are down into buttonListSlide_mc and the contentSubMenu.onLoad function is there as well, only commented so it doesn't display anything.

View 1 Replies

ActionScript 2.0 :: Draw With Path Class Doesn't Always Work

Mar 29, 2009

So, I'm using this Path Class to make a path and then draw it. I'm having a problem where there are some positions that I draw the path, the entire line does not draw.You can see an example of this here as the dot moves. The line flashes at a few coordinates. Just a small concept example I made. The path is there, it's just not being drawn.

The code :

Code:
import com.senocular.drawing.Path;
// create a path instance that draws in _root
var myPath:Path = new Path();

[code].....

View 2 Replies

ActionScript 3.0 :: Application Doesn't Connect To The Localhost Path At All?

Dec 26, 2010

I am a weird problem when an swf file is communicating with the localhost server. the application runs perfectly well through the flash player of the compiler. however, when I try to execute it through the browser - it seems as if the application doesn't connect to the localhost path at all.

View 2 Replies

ActionScript 2.0 :: Targeting Attached Movieclip - Variable It Doesn't Recognize Its Path

May 6, 2004

i have a problem adressing or targetting a attached mc when i target de mc directly it works fine but when i try it trough a variable it doesnt recognise its path anymore??? hopefully a part of the code is gonna explain the situation a litle better... this piece works fine:

[Code]...

View 3 Replies

ActionScript 2.0 :: Targeting Attached Movieclip - Variable Doesn't Recognise Its Path Anymore

May 6, 2004

i have a problem adressing or targetting a attached mc when i target de mc directly it works fine but when i try it trough a variable it doesnt recognise its path anymore???

[Code]...

View 3 Replies

ActionScript 3.0 :: Path Movement - Mc To Follow The Path Drawn Out By The Player's Mouse And When The Player Clicks Again, It Erases All Of The Path?

Jul 18, 2010

So I've created a script where a mc is clicked on and the player can draw a path using the mouse. I'm trying to figure out how I can get the mc to follow the path drawn out by the player's mouse and when the player clicks again, it erases all of the path.my code is below

Code:
import flash.display.Sprite;
import flash.events.MouseEvent;[code].....

View 14 Replies

ActionScript 2.0 :: How To Use Load() With Path File

Mar 11, 2011

I have a code like this...

Code:
var _fileSelect:String = "";
OpenFile.onRelease = function(){
var fileRef:FileReference = new FileReference();

[Code]......

View 0 Replies

ActionScript 2.0 :: LoadVariablesNum(url,target) Load From Another Path?

Mar 12, 2003

I've got a question about the path of the txt fileI can easily load a txt file in a movie if the txt is in the same folder as de .swf, but when i try to load a txt file from a different levelfor Example projects/com/1.txt i dīn't see any txtthe code is:loadVariablesNum(projects/com/1.txt,0) i know the code is wrong, but can somebody tell me what i have to do to get a txt form a different level.

View 1 Replies

ActionScript 2.0 :: Load Images From File Path Rather Than URL?

Sep 17, 2010

how to load images from file path rather than URL

[URL]

which after a lot of looking ticked all my boxes for a gallery tutorial, the only problem is that is not finding my images when I change the url location in the tut xml to the root location of my images.

eg " <pic>
<image>http://www.kirupa.com/developer/mx2004/pg/stata.jpg</image>" works fine,
" <image>file://cropped files/made/bronze-dress.jpg</image>" doesn't : (

I need to adjust the action script to load a from a root folder?

View 1 Replies

Data Integration :: Set The Path And To Autoload But The Jpg But Files Won't Load

Oct 27, 2006

I have a website im making in which jpgs are loaded through the loader component (using flash pro 2004) and I set the path and to autoload but the jpg. files won't load; something to note I have many instances of one loader but with different paths for different pictures.

View 1 Replies

ActionScript 2.0 :: Load Image From Disk With An Absolute Path?

Jan 19, 2012

I first hope this is not a duplicated thread. I saw several related ones but none that match exactly my case.

I try to dynamically load an image from the disk into a clip. It works well when I use relative paths but doesn't whith absolute paths. [code]...

View 1 Replies

ActionScript 2.0 :: Load Images Using Text File (to Specify Path)?

Oct 16, 2004

if i have a text field which is loading text from an external txt file and is HTML enabled, can I use <img> tags to load an image?

View 3 Replies

ActionScript 2.0 :: Load Images Using Text File (to Specify Path)

Oct 16, 2004

if i have a text field which is loading text from an external txt file and is HTML enabled, can I use <img> tags to load an image? If not, is there an equivalent?

View 3 Replies

Flash :: Mxmlc Compiler - Source-path Preferred Over Library-path?

Nov 9, 2011

the same class is passed to the mxmlc compiler in SWF library as a symbol linkage class and again in a source-path. But the compiler uses the definition from the source-path so creating new instance of that class won't create new instance of the library symbol. How do I tell the compiler to prefer the definition linked to the symbol (the one dfrom SWC)?

I have my design assets in an FLA file and they are linked to classes (e.g. [URL]. Then I export those assets to a SWC library and pass it to the compiler. Now when I create an instance of the class (new MyAsset();) it will be a new instance of the library object.

But there are other classes too in the source folder (e.g. "com.myproject.model.*" so I need to pass the source folder to the compiler too. And that is the problem, now the compiler will use the MyAsset.as definition from the source path, not from the SWC where it is assigned to the library object so if I create new instance of MyAsset now it won't duplicate the library object.

View 1 Replies

ActionScript 2.0 :: String To _level (path) - Hide A MC Depending On The Path Variable?

Nov 24, 2004

Here's what i'm trying to do: Hide a MC depending on the path variable as:

[Code]...

Well that doesn't work, for some reason, i can't use a string as a multiple level path..

View 5 Replies

ActionScript 3.0 :: Senocular's Path Class - Take Line Paths - Drawn And Convert Them Into A Path Object?

Feb 15, 2010

I was wondering if it possible to write up some AS that will take line paths that you have drawn and convert them into a Path object? For example say you drew a jagged line from left to write, would there be a way to have AS convert that into a Path object.

View 11 Replies

ActionScript 3.0 :: Draw A Curved Path In Flash - Use Path Data

Aug 31, 2011

Is it possible to draw out a path in the flash editor, set its visibility to hidden, and use this path data to animate objects in AS3?

View 1 Replies

ActionScript 2.0 :: Root. - Use Parameters To Define A Path Inside A Path?

Aug 27, 2004

i have a quick question what is the syntax if u want to use parametrs to define a path inside a path? i mean:

[CODE]...

does anyone know.... it's very important!

View 6 Replies







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