Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    Flash








About Fscommand


I've got some problem when using fscommand to communicate with Javascript in the HTML file. What I'm doing is putting
fscommand("xxx" , "yyyy") in myFlash.fla. Then in the javascript I write:

function myFlash_DoFSCommand(command, args) {
if (command=="xxx") {
....
}
}

I think it should work but unfortunately it fails. It's exactly following the instruction of the documentation. I wonder if it is the newest Flash Player 8 security issue (I do it in Flash 8 and publish as Flash Player 8) that makes Flash to communicate with local browser?? Or am I missing sth in the embed tag in the HTML code?




DevShed > Flash Help
Posted on: June 5th, 2006, 11:01 PM


View Complete Forum Thread with Replies

Sponsored Links:

How Do You Get Pdf Fscommand Script Into Fscommand
I'm trying to link to a pdf file. I have viewed others messages about creating a .dat file, but it mentions about making sure this is in the fscommand folder. Please can someone detail how this complete process should be done?

If this wont work on a Mac, then that leaves me with the GetUrl command only. As I want this to be a CD Rom not web page I need to link to the html pages offline (if this is my only option) and I have a projector file, where should these htm files be?

Thank you.

View Replies !    View Related
I Know, I Can Send Fscommand But Can I Take In Fscommand
I know, I can send fscommand but can i take in fscommand and process it?
Is that possible?

View Replies !    View Related
Fscommand
Ok, Im trying to have flash open a program on my HDD. i have tried several atemps but still can't get it to open.
I know that it has to be a .exe file to work. I have got it to save a text file in flash that way.
I guess i just need the command for it, like is it open, Run, Go what ever. If you can add an example that would help me to understand that would be great.
Thanks you,
andrue.
Here is what Im trying now.

on (release) {
fscommand ("open", "c:/windows/notepad.exe");
}

View Replies !    View Related
FSCommand With IE4
Dear community!

I am syncronizing 2 flash4 animations by using FSCommands.
With my browser (IE5.5) it works fine. My customer is using IE4 - the scripts do not work correctly.
Please check if possible: http://www.kaheba.com

Do you have any info concerning problems with IE4?

Thank you,
Gerfried Ranner

View Replies !    View Related
Help In FSCommand
Is there a way to accept or pass variables to a flash file when it is opened in a browser.
e.g. I need to change the state of my flash file depending on user input.

View Replies !    View Related
FSCommand
I've heard rumors about how the FSCommand would allow a user to do some serious damage from notepad -- Is this true? Any corrections?
[Edited by cmw on 08-30-2001 at 12:41 PM]

View Replies !    View Related
FSCommand HELP
I've had success using the FSCommand to launch .EXE's on my hard drive....until now.

Apparently, Flash doesn't like Folders with spaces in the names. Here is my example:

on (release) {
fscommand ("exec", "C:/Progra~1/Golden~1/Cdrwin~1/Cdrwin.exe");
}

As you can see, I've tried using short names. I've also tried using long ones. Flash won't budge.

Can someone please tell me what I'm doing wrong?

View Replies !    View Related
FSCommand
Does this command get inserted on the first frame of your movie, also what does it mean? As I want the full screen effect to happen on load up! Thanks for any help

View Replies !    View Related
Fscommand
I don't understand fscommand, can I use it to make my flash site full screen in a web browser or not? That's what I hope to accomplish, if someone could help me out I would be much appreciated.

View Replies !    View Related
Fscommand Help
I'm creating a flash exe file which is a product demo to be placed on a CD and handed out.

In this flash exe file I have a button to run another flash exe file displaying a case study in a separate window so the user can select from other buttons if they want to.

I've used the FSCOMMAND to do this, but I haven't figured out how the FSCOMMAND can find the file since the users CD-ROM may not always be the standard D:/ drive location.

Is there a way to set up the FSCOMMAND to find the exe file on the CD if the users drive letter varies?

Any help on this would be greatly appreciated!

Thanks.

View Replies !    View Related
Fscommand ?
I set up FScommand to trigger a script on the web page. How do I pass a flash variable to this script. Also, the FScommand is failing in Netscape. The swLiveConnect=true and name tag are both set. Still fails, any ideas?
The code is below.



<!-- URL's used in the movie--><A HREF=FSCommand:Go></A> <A HREF=FSCommand:Close></A> <A HREF=FSCommand:Backward></A> <A HREF=FSCommand:Forward></A> <A HREF=FSCommand:Stop></A> <A HREF=FSCommand:Webs></A> <A HREF=FSCommand:Focus></A> <!-- text used in the movie-->
<!--http:// GO Reset Close <<< >>> STOP Webs Focus --><OBJECT classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0"
ID=interface WIDTH=532 HEIGHT=20>
<param name="_cx" value="14076">
<param name="_cy" value="529">
<param name="Movie" value="interface.swf">
<param name="Src" value="interface.swf">
<param name="WMode" value="Window">
<param name="Play" value="0">
<param name="Loop" value="-1">
<param name="Quality" value="High">
<param name="SAlign" value>
<param name="Menu" value="-1">
<param name="Base" value>
<param name="Scale" value="ShowAll">
<param name="DeviceFont" value="0">
<param name="EmbedMovie" value="0">
<param name="BGColor" value="FFFFFF">
<param name="SWRemote" value>
<param name="Stacking" value="below"><embed src="interface.swf" quality="high" bgcolor="#FFFFFF" WIDTH="532" HEIGHT="20" swLiveConnect="true" NAME="interface" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash">
</OBJECT>

View Replies !    View Related
Fscommand Help Plz..
Ive got 2 questions..

1. I'm using fscommand to trigger a script on the web page. How do I pass a Actionscript variable to this script?


2. The fscommand is failing in NS. The swLiveConnect=true, no table is being used and emb name tag is being used.

You can view test page at http://dapop.com/test.htm

When viewing the page source in netscape, you'll see a problem occurs in the Fscommand script at the line

document.write('</SCRIPT>
');

On and after this line, netscape misreads the code.

View Replies !    View Related
Fscommand
Dear Allofyoos,

I am making an interface to open up videos on a cd.
I use the fscommand in a stand alone player to open the Windows Media Player but it will not open the application.
I used "Open URL" which works fine on Windows98 but any system above that opens IE and plays the video really small in the bottom left corner AAAARRRGGG!
I think my fscommand to open media player is wrong:
C:/program_files/windows_media%player/mplayer2.exe
HELP!!!
Thanks again.

Andy

View Replies !    View Related
Fscommand(
Hey,I'm having a little problem, I have my new site all set and ready for it's big launch.

I have one fustrating problem!!

I cannot figure the window problem

If you go here > http://www.noinc.net/ You see the window expands from a few pixels big to 1/8 of the screen.

How can this be done, I refuse to launch my site without this effect! I have written DHTML.js file and I've used basic javascript to set the window size, I just can't figure how to make it interact with FLASH, It's really getting fustrating as I'm so close!

As he shouts * I WILL OVER COME THIS CHALLANGE, ARRGHH* lol

If anyone could help me where situated, it would be highly appreciated.

Thank you

View Replies !    View Related
FSCommand Pan
Hi!
I have a flic that has a scaleable height depend on
XML input date, but the absolute size of the objects inside the flic must stay constantly. So, I scale the
<object> by getURL("javascript:WinResize(X)");
(WinResize it's my function in Javascript in HTML)
But now I have to move my flic to the top.
I know that there is such a FSCommand "Pan", but how to
use it? And is it exist really? May be there is anouther
solution for this problem.
Thanks

View Replies !    View Related
FSCommand
Does anyone know if there's more than the 6 arguments for the Stand-alone player command in FSCommand???

In case, does anyone have a list???

View Replies !    View Related
Fscommand
Hi , my question :

I want to use html script ( or other script can help )
to tell the flash movie to gotoandplay frame 2 .How to do it ?

In the flash movie , I use this script

fscommand ("play")

And the html I put the flash movie


function play ()
???????
[


What I have to write for the function ?

Please help , thank .

View Replies !    View Related
Fscommand ?
Hi,
I can use the fscommand in Flash 5 fine. Works great on the main timeline, but how can I use this command in a button inside a MC? I use a clean function to pull the variables from the MC to _root, it reads the variable names
in the text file, but does not read the actual variables(input text),they remain blank.
Any ideas???

Thx in advance
~GD~

View Replies !    View Related
Please Help With Fscommand
Hello all:
Has anyone been able to get the fscommand to work in an MX projector? I tried with no success. here is how I have it set up, A button with this AS:

Code:
on (release) {
fscommand ("exec", "car.txt");
}
in this instance I have a folder named fscommand in the same folder as the projector. In the fscommand folder I have the car.txt file. This doesn't work.

I even have tried using the flash tools ftoolapp.exe. Here is how I set that up, A button in flash with this AS:

Code:
on (release) {
fscommand ("exec", "ftoolapp.exe" add Chr(9) add "car.txt");
}
in the same folder the projector is in I have a folder named fscommand. In that folder I have the ftoolapp.exe and the car.txt file. this seems like it should work, but no dice.

This is killing me. I need to be able to open several kinds of files this way. The wierd thing is If I use the first method, I can open a Flash exe all day but when I change to a doc or a txt file it doesn't work. Nothing like a tech problem in the face of a deadline! Any help would be appreciated.
[Edited by felix_man on 05-07-2002 at 08:47 AM]

View Replies !    View Related
FsCommand
I made a flash movie. I want the movie to execute a .exe program by fsCommand "exec". But when I open the swf with flash player 6 the program did not run. Could you please tell me how to do so? Does flash player have bug?

View Replies !    View Related
FScommand
Hi there

I am trying to do a simple FS command in flash 5 where allowscale & resize = false. Can't get this o work. What is the correct way to do this?

Cheers,
A.

View Replies !    View Related
FsCommand HELP
I am using the fscommand for fullscreen, which is working in two seperate movie files. HOWEVER, when I load one movie into the other, the second movie (which replaces the original one) shows up at its original size and not as a fullscreen...even though the fullscreen command is in the first frame of that movie. Any advice? Thanks in advance

View Replies !    View Related
Fscommand
I have created my application using flashmx. I have used the fscommand exec.

on (release) {
fscommand ("exec", "datafort.bat");
}

I have created a folder called fscommand & placed my datafort.bat file inside.(The .bat file works correctly.)

I have gone through numerous links & other posts on this problem & I am sure that I have done everything correctly. But unfortunitly it is not loading. I have also tried using other applications & the same problem is occuring. I am using win2k with flashmx trial version. Could it be a bug in the system, as this has me going mad. Would it be possible to download a working file to test on this system.

View Replies !    View Related
Fscommand - Xml?
can i send text to a file .txt from Flash using fscommand??

it is possible, or just with XML script.

thanks.

View Replies !    View Related
FScommand------HELP
Every time I try to run FScommand it just dosen't work!
I run the SWF files in the flash player and non of the commands of the FS works.

View Replies !    View Related
MX Fscommand
Hi,

I've searched a bunch on the exec fscommand and heard all about the security problem requiring that all launched files must be in a folder called fscommand, which also includes the flash exe i'm launching from.

I was glad to hear of this as I assumed it would fix my problem. However, it doesn't.

I have a 'fscommand' folder which contains "director.exe" as well as "flash.exe". The code on the button is:

on (release) {
fscommand("exec", "director.exe");
}

Doesn't work at all. However, if i save as flash 5 file, open 5 and export as a projector it works fine.

Has anyone come up against this problem? Can anyone help me?

Thanks a lot,

Evan

View Replies !    View Related
Fscommand... Anybody..
Can i use the fscommand (quit) in a movieclip and close the entire swf?

View Replies !    View Related
FScommand
have you ever been to a site where the site goes fullscreen!!!!

I know how to do this with a regular .swf
but not once it is up on the net?
anyone know????

View Replies !    View Related
Fscommand
I'm using

fscommand("showmenu", "false");
fscommand("fullscreen", "true");
fscommand("allowscale", "true");

which works fine, however when I load a second .swf file with the same code it will not appear full screen, instead it appears 100%. Any ideas?

View Replies !    View Related
Fscommand
Im using flash to put together a presentation. I require the swf to be full screen with no menu, which I have managed to do with:

fscommand("showmenu", "false");
fscommand("fullscreen", "true");
fscommand("allowscale", "true");

The first movie opens up fine, when I come to load a second movie over the top of the original movie using the same actionscript in the first frame of movie 2 this opens up smaller, can anyone help.

Thanks in advance.

View Replies !    View Related
Fscommand In IE5 On Mac
I'm usign fscommand in a webpage to open a new browser window. Pretty simple to do... it works fine on my PC on IE, Netscape 4 and 6. But it doesn't work on IE on the Mac, it doesn't do anything!!!

Anyone has a clue? IE on Mac is suppose to take fscommand right?

Thanks.

View Replies !    View Related
Help Me With FSCOMMAND, Please
Hi everybody.

I've got problems with the FSCommand EXEC in Flash MX.

If I put a "file.exe" into a folder called "fscommand" (in the same folder which the projector resides),the EXEC FScommand works.

If I put the "file.exe" into a subfolder ("myfolder") which is into the "fscommand" folder, the EXEC FScommand don't works.


example:

on (release) { fscommand ("exec", "file.exe");} WORKS

on (release) { fscommand ("exec", "myfolderfile.exe")}; DON'T WORKS



What's wrong ??
Thanks to everyone who help me !!

View Replies !    View Related
FScommand
i cant seem to get the FScommand to work. Is it correct to say it only works in a projector file? Heres what I got...

on (release) {
fscommand("exec", "C:Program FilesMacromediaFlash MXflash.exe");
}

what am i doing wrong?

-Tyler

View Replies !    View Related
Fscommand
I have a movie that is currently running that contains a button. When this button is clicked, it uses the FSCOMMAND to call a javascript function. This javascript function then opens a popup new window with specified co-ordinates. When the new popup window is loaded, using javascript window.open(); the movie that is playing staggers for a second in Internet Explorer 5.5 Has anyone experienced anything like this, or may know of what is causing the stagger. Just to let you know that this does not happen in Netscape Communicator 4.79

Thanks

View Replies !    View Related
Fscommand
I have a movie that is currently running that contains a button. When this button is clicked, it uses the FSCOMMAND to call a javascript function. This javascript function then opens a popup new window with specified co-ordinates. When the new popup window is loaded, using javascript window.open(); the movie that is playing staggers for a second in Internet Explorer 5.5 Has anyone experienced anything like this, or may know of what is causing the stagger. Just to let you know that this does not happen in Netscape Communicator 4.79

Thanks

View Replies !    View Related
Fscommand
This may be something simple, but I'm an amature and have been stuck on this all day!

using fscommand in an autorun menu for a cdrom. I'm using the "exec" and the "filename" for a .pdf and another for an "mgeg" and they are not working. no action comes from the button "on release". I have another project that this worked for and I've set it up exactly the same. one works, one doesn't.... help?

View Replies !    View Related
Fscommand
I was using a fscommand in flash mx to make a flash prjector, but it didn't work when i tried to open a file (with *.bat). Anyone have solution ?

View Replies !    View Related
Fscommand
Hi all,

For Fullscreen flash movie we are using
fscommand ("fullscreen", "true");

Likewise What command do we use to see a movie with 100%

kindly help me please

Meena

View Replies !    View Related
Fscommand Help
Hi All,

I figured out how to get flash to open an external .EXE. Now I need to put the flash app on a disk and make it work when I put it into another computer. Problem: Need to put the fscommand folder in the same directory as the flashplayer folder. That is NOT an option for this project. How do I get the fscommand to open an .EXE that is on the disk? I do not want to buy any more software so Flash Studio Pro or the like is out of the question. help?

THanks,

View Replies !    View Related
Fscommand
hii there, can any one tell me all the fscommands and their usage.
thnks

View Replies !    View Related
Fscommand
i have 2 exe files main.exe and link.exe

in main.exe i have a button and on click of the button i want the link.exe file to run and main.exe to close

for this ive written the following script for the button on main.exe

on (release) {
fscommand("exec", "link.exe");
fscommand("quit", "main.exe");
}

with this code main.exe gets closed but link.exe does not run

Both my files are kept in the same folder .

im using flashmx . can somebody help me out .

View Replies !    View Related
Fscommand .....?.....
hello helpful flashers.................

when I use

fscommand ("showmenu", false);
fscommand ("allowscale", false);

they work fine when viewed soley through the flashplayer..they work but when the flash movie is viewed on the HTML page they don't.....?

what is the deal with this........
cheers muchly.

View Replies !    View Related
FSCommand
hey all
just wondering if ppl could give me a list commands for FSCommand coz i only know about 2 or something
thanks

View Replies !    View Related
MX- Fscommand Hlp
I am using fscommands to try to switch between fullscreen and non-fullscreen mode. I would like to have one button be able to switch between the two without advancing in the timeline. is there a way to do this? I would think using the "if" command would be the most logical.

View Replies !    View Related
Fscommand
For some reason I can not get the fscommand tag to work. I'm trying to get a .exe file to run after i click on one of my buttons. If anyone has a solution that would be great. I'm running Flash MX.

View Replies !    View Related
Fscommand
Hi

I am trying to send vars from a swf in a popup window to a text field in it's parent window.

So far, I havent been able to successfully use fscommand. It can't be that difficult. Any suggestions?

View Replies !    View Related
Help With Fscommand
I have a mc. that contains a button that allows me to change full screens and window mode. My movie changes to the window mode, but when it changes scenes the button shows the window mode option. so when I want to goto the full screen Ineed to click twice the button.

I wonder if the solution is to put an "if();" action to the beginning of each scene, I don't know how to give it the order of "if (fscommand=true" go to the mc...

Thank you for any help.

View Replies !    View Related
Fscommand
Having problems with the "exec" command of fscommand.

code reads...

fscommand("exec", "file.exe")

it doesnt work

Any ideas

flag

View Replies !    View Related
Fscommand Outside IE
Hi,
can somebody tell me how to make my fscommands work with browsers like netscape and opera ? now it only works with Internet Explorer so it seems

View Replies !    View Related
Fscommand
i need some help ! I made a banner 468 X 60 and what i want to do is keep it that size when I view it in a diff window , when i view it is much bigger .. the flash has 3 layers, 40 frames per layer on the first layer i put action fscommand("allowscale", "flase");
its not working, what do i need to do PLZ HELP

View Replies !    View Related
Fscommand
I am trying to have one .swf tell another .swf to go to a certain label. Some of this code I have taken from ashzfall.com tutorial, but I still don't have a grasp on fscommand. As a matter of fact, this is my first attempt at fscommand.

In the first .swf I have a button with the following:

prep_btn.onRelease = function(){
fscommand(goToFrameLabel, "logistics.swf", "office");
}


In the html I have placed the following:


<SCRIPT LANGUAGE=JavaScript>
var InternetExplorer = navigator.appName.indexOf("Microsoft") != -1;

function nav_DoFSCommand(command, args) {
var navObj = InternetExplorer ? nav : document.nav;
function goToFrameLabel(curTarget,curFrame,objNum){
flashObj[objNum].TGotoLabel(curTarget,curFrame);
}
}


Can anyone tell me where I am going wrong?

View Replies !    View Related
FSCommand...
Hi Flash Friends,

Please me help me on FSCommand it's not working in my Computer.
Why i don't know. I am using correct code even though its not working.
Why.......

Thanx

View Replies !    View Related
Copyright © 2005-08 www.BigResource.com, All rights reserved