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


Similar Posts:


ActionScript 2.0 :: How To Load Movie From Subdirectory

Apr 5, 2006

[Code]...

i'll explain you about each file wawa.swf --> is the file to play the movie.flv file, MojaveOverNoVol.swf --> is flash video playback template to play movie.flv inside the wawa.swf and it works perfectly.. but the problem is, i want to make an swf files wich caled tes.swf located on the upper directory so that file could play the wawa.swf with its flv movie inside and the flash video playback template also inside it..

[Code]...

View 3 Replies

Media Server :: Cannot Play MP4 From VOD Subfolder / Subdirectory

Sep 19, 2011

I've spent like the past 5 days trying to get this to work as a client has given me 100GB of videos that are in subfolders. For some reason I'm unable to play media from any subdirectory in vod.

All of the media & subfolders are here:
C:Program Files (x86)AdobeFlash Media Server 3.5applicationsvodmedia

This works:
C:Program Files (x86)AdobeFlash Media Server 3.5applicationsvodmediasample.mp4

Server: rtmp://localhost/vod/_definst_
Stream: mp4:sample.mp4

This doesn't work:
C:Program Files (x86)AdobeFlash Media Server 3.5applicationsvodmediasubfoldermovie.mp4

Server: rtmp://localhost/vod/_definst_/subfolder/
Stream: mp4:movie.mp4

I've also tried as the server rtmp://localhost/vod/subfolder/ but it does not work.
I've also tried in the stream "mp4:subfolder/movie.mp4" that doesn't work either.

View 1 Replies

ActionScript 3.0 :: Flash Master Policy File In Subdirectory?

Nov 9, 2010

Anyone know if it is possible to keep a MASTER crossdomain policy file in a subdirectory of the domain?url...I know you can do it with a meta policy file, but I want to do it with the MASTER because without a master the meta's are ignored.I've googled this for hours and read through the official spec several times and come up with nothing. With the server I want to do this on its possible to deploy in any subdirectory except the domain root - thats just the constraints I'm under.

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

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 :: Stop Further Items Being Dragged Onto A Target When The Target Box Is Full?

Sep 29, 2003

On the attached exercise, is it possible to stop further items being dragged onto a target when the target box is full?

View 1 Replies

Flex4 :: Difference Between Target And Current Target

Nov 28, 2011

What is the difference between target and currenttarget in flex?What is the difference between Target and Current Target in Flex especially in mouse events.

View 2 Replies

ActionScript 3.0 :: Target Movieclip With E.target?

Aug 30, 2010

qi have a movieclip which is added to the stage:

var profileholder:profileHolder=new profileHolder ;

inside of profileholder is another movieclip(infoBtn) that acts as a button.when the mouse is over profileholder i want to do something with infoBtn like:

//profOver is the over state of profileholder
function profOver(e:Event) {
e.target.infoBtn.alpha=1;
}

this doesn't work and brings up this error:ReferenceError: Error #1069: Property infoBtn not found on flash.display.Loader and there is no default value.
at main_fla::MainTimeline/profOver()

i also tried:
function profOver(e:Event) {
var item:profileHolder=e.target as profileHolder;
item.infoBtn.alpha=1;
}

and get this error:TypeError: Error #1009: Cannot access a property or method of a null object reference.

View 1 Replies

ActionScript 2.0 :: Error - Target Not Found: Target="whoweare" Base="_level0.instance20.instance48.instance49"

Mar 14, 2005

i don't know why this isn't working.i got a button. and when it's pressed, i need it to go and play a frame in a movie clip. i'll test it and then when i click on it, i get this:

Target not found: Target="whoweare" Base="_level0.instance20.instance48.instance49"

this is the code that i am using:

on (press) {
tellTarget ("whoweare") {
gotoAndPlay (51);
}
}

View 14 Replies

ActionScript 2.0 :: Target Not Found: Target="_root.icon01" Base="_level0"

Feb 16, 2005

so, i'm making an animated rollover, and i get an output error that says this:

Target not found: Target="_root.icon01" Base="_level0"

i have no idea what the base="_level0" means.

View 1 Replies

AS2 - Target An AttachMovie Mc?

May 14, 2009

Through attachMovie I have loaded an mc from the library onto the stage into "holder_mc".

myButton.onRelease = function () {
if (currentWork != "holder_mc.myWork1_mc") {
holder_mc.attachMovie("myWork_mc","myWork1_mc", getNextHighestDepth());
currentWork = "holder_mc.myWork1_mc";
}
}

This works.

However, there are a couple of buttons (mc) inside "myWork1_mc" which skips through a few slides in the myWork1_mc clip that I cannot target. I thought using:

holder_mc.myWork1_mc.buttonName_mc.onRelease = function () {
trace("MC_pressed");
}

... would work. My curser doesn't even change to the hand symbol. How do I target an dymanically loaded MC from the library which is inside an empty holder MC on the stage via attachMovie? What am i missing? Believe me, I have spent hours trying to google it.

Note: at this stage there is no other script on "holder_mc", but there will be at a later date, but I'll cross that bridge when I get to it. Also, the buttons work when I place the MC onto the stage and not use attachMovie.

View 6 Replies

CS3 Get URL Window Target

Jun 17, 2009

I have a simple button that goes to a URL when clicked, but it's opening a new window. I want it to target "_self"-- but I'm getting errors. How do I properly target the same window?

[Code]..

View 1 Replies

Add A Target To This AS3 URL Script?

Jun 14, 2010

Seems like AS3 is more about writing code than AS2.I would normally write the code on the button:

Code:

on(release){
getURL("http://sample.com". "_blank");
}

Instead in AS3 I have to do this for a button action:

Code:

myButton.addEventListener(MouseEvent.CLICK, myButtonFunction);
function myButtonFunction(event: MouseEvent) {
var request:URLRequest = new URLRequest("http://www.sample.com");
navigateToURL(request);
}

How do I add the _blank target function to this AS3 code. I am still trying to get use to this AS3 concept.

View 1 Replies

ActionScript 3.0 :: How To Target Mc

Jan 10, 2010

I used to use an old school method in AS2 to talk to a movieclip to go to different states like on rollover but how do I do this in AS3 now?

Code:
on (rollOver) {
with (myclip) {
gotoAndStop("on");
}
}

I know that with went out a long time ago but it worked!I know in AS3 to handle a click you have to do this:

Code:
mybtn.addEventListener(MouseEvent.MOUSE_DOWN, mouseDownHandler);
function mouseDownHandler(event:MouseEvent):void {
gotoAndStop(1);
}

what I want to do with targeting a rollover with a button.

View 3 Replies

ActionScript 2.0 :: Target A MC In Another SWF?

Oct 10, 2005

I need to have a button to target a movie clip in a separate swf placed in a separate window.

//
on(release){
getURL(theotherswf.html+nameof_mc);
}

View 1 Replies

LightBox - How To Target SWF

Jul 30, 2007

I have a flash template that I added a flash and xml driven component to. The component is a carousel menu with a lightbox that displays images. The lightbox part of it keeps loading behind my flash page, no matter what I set the z-index to on the lightbox.css. Is there a way to control the z-index of the flash file in the website's style.css? I tried adding it to the Body of the css but that doesn't work. How do I target the swf? I've never used css before. How to get it to load the lightbox above the flash.

View 2 Replies

ActionScript 3.0 :: Get Value From Target Value?

Feb 3, 2012

does anyone know how i can matching random value. what kind algorithm that i need to use? the value is no always close to the first value. ex : array 6 x 6. location first value is in 1.1 and the second value is in 3.4. the question is what algorithm i have to use to get value from target value?

View 4 Replies

ActionScript 3.0 :: Shooting A Target?

Apr 24, 2009

I have a monster_mc that shoots a bullet_mc at a target_mc.When I click the Keyboard.RIGHT the bullet jumps once then hesitates or pauses then continues -=25 pixels, instead of shooting smoothly.Am I missing something here?, can I make it perform better?

stage.addEventListener(KeyboardEvent.KEY_DOWN, keyPressed);
target_mc.stop();
function keyPressed(event:KeyboardEvent):void[code].....

View 1 Replies

ActionScript 3.0 :: Can't Use The As XML Instead Of XML(e.target.data)?

Jun 28, 2009

I want to know why I can't use this code PHP Code:

[Code]...

I know the problem is Code: xml=e.target.data as XML; but I want to know why I can't use the as XML instead of XML(e.target.data)?

View 2 Replies

ActionScript 3.0 :: Target Flash From PHP?

Jun 17, 2010

I am using AS3 and PHP. I have created a flash animation and and it put in a index.php file. Its a web site, some pages are in flash and some pages are (like shopping cart) not in flash. My problem is when i am in pure php page (cart page) when i click the link about us, it should go a particular frame or particular content in the flash, instead of running from the beginning.

View 1 Replies

ActionScript 3.0 :: Evt.target.name Only Works Once?

Jul 8, 2010

I have a simple event listener which calls a functions which first uses a switch case statement to determine what evt.target was pressed by name so I can assign info there--presently I just have trace statements--the problem is that it only works once and then I just get instance29 and the switch case evaluates to the default.

Code:
lifering1.addEventListener(MouseEvent.MOUSE_OVER, playSplash,false,0,true);
function playSplash(evt:MouseEvent):void
{

[Code].....

View 21 Replies







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