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








FS Command


I can't remeber when, your using the fs command, what size is best to have your document set @ or in the long run dose it really matter? This is for a cd. Also when you make the cd is there and way to get flash to auto run when you put the cd in?

Trevor




FlashKit > Flash Help > Flash MX
Posted on: 07-08-2003, 04:41 PM


View Complete Forum Thread with Replies

Sponsored Links:

AS3 - After Command Another Command That Starts A Jump To A Specific Frame
Hi everyone,

I am a newbie using Flash CS3 and Actionscript 3.0. I have spent hours looking through forums and found no answer to my problem. Maybe it is because it's not possible but I just wanted to see if an expert can help me out.

I have a button and a few animations. Basically when I click the button I want to say: "When you are pressed down I want you to play at this specific frame for this many frames and then jump to a specific frame and play on there."

wrong code until now:

btn1.addEventListener(MouseEvent.CLICK,go1);

function go1(event:MouseEvent):void{
gotoAndPlay("frame10");
}

if (you get to "frame 15"){
then gotoAndPlay("frame5")
}

Any help would be very much appreciated!

View Replies !    View Related
Command...variable? Help... Hey, So I Need To Know The Command To Close The Presentat
Hey, so I need to know the command to close the presentation you are in after you click on a linked button to another page... anyone know? or have any questions...... plzzzzzzzz respond...
Hey, what is the command, or properties to have a button GoTo a html link on a release mouse command and the have the presentation (or .swf/.exe projector) close and go get the html that the button was linked to?...
need more info? ask away... tristan@tri-stan.com

thanks,

tri

View Replies !    View Related
Command To Run A Flash File From Command Line
Hi All,
I have made a flash application.Suppose the file name is a.swf.
Now I want to run the swf file using a command from the command line..Can anyone please help me regarding this..??

Thanks in Advance,
Nirmal.

View Replies !    View Related
FS Command,how To Catch FS Command Using Javascript Not In Vbscript
Hi,

I'm modifying a flash.... and flash uses FS Command.

can you help me catch the fs command in javascript code?? because what I have is the vbscript code, and it does not work on some browsers.

here's the vbscript code(the problem)that calls the function:


PHP Code:





<SCRIPT LANGUAGE="VBScript">
<!--

// Catch FS Commands in IE, and pass them to the corresponding JavaScript function.
Sub mainmenu_FSCommand(ByVal command, ByVal args)
call mainmenu_DoFSCommand(command, args)
end sub

// -->
</SCRIPT> 





here is the other part of the script in the page ...javascript code(works fine):


PHP Code:





<script language="JavaScript">
function mainmenu_DoFSCommand(command, args)

if (command == "showAd")
{
if (document.layers){
daMenu = document.layers[args];
}
else if (document.all){
daMenu = document.all(args).style;
}
daMenu.visibility = visible;
}

if (command == "hideAd")
{
if (document.layers){
daMenu = document.layers[args];
}
else if (document.all){
daMenu = document.all(args).style;
}
daMenu.visibility = hidden;
}
}
</script> 






my problem is to pass the arguments in using javascript(not vbscript) so that it will work on others browsers.

other options is to modify more the vbscript so that it will work on more other browsers...

but I dont know anything about vbscript and only basic javascript...

need help thanks a lot in advance.

View Replies !    View Related
If '&&' Is The 'and' Command In Flash, What's The 'or' Command?
I've got an 'if' statement and I want to say if this, or this, or this happens...

Like:

if { keyDown(_Enter) or keyDown(_Space)

What's the command to say 'or' in Flash?

Thanks!

View Replies !    View Related
FS Command And Get URL
I have just purchased Flash 4 last week, so I am a newbie, so please bear with me.

I would like to create an auto run CD using the flash projector programme. I know how to create an auto run for a CD, my problem is the following.

I have three buttons in my movie:-

1. To view a PDF index file of a CD
2. To install Acrobat Reader from a CD
3. To exit the installation programme.

I can get buttons 2 and 3 to work using the FS command however I cannot get button one to work. I have tried using (Get URL "index.pdf",window="_blank") however this launches IE5 and runs Acrobat from within. I donot want this!¿! I cannot use the FS command to locate the EXE file, as the installation for Acrobat will be in a different location on different machines.

Is there a way of running the index.pdf file straight into Acrobat Reader without having to launch Internet Explorer?

View Replies !    View Related
FS Command
I need help with the scripting to control Windows Projector files from within a Flash Movie. The company that I am creating this presentation for no longer has the Flash source files but they need a new interface for their existing projector files to be included on a CD-ROM

View Replies !    View Related
The With Command....
what does the with command mean or do?

View Replies !    View Related
FS Command And JS
If I want to look in my flash html page for a JS var, can I use the FS Command to do so? How?

View Replies !    View Related
FS Command
I want to use flash to create a presentation CD. When the CD is inserted I want the presentation to start automatically.

Any info on how to do this?

cheers,

View Replies !    View Related
FS COMMAND
hi there,


does anybody know how to save variables from mac-flash-projektor to mac-HD?

any help would be great...

_drek

View Replies !    View Related
X,y Hit Command
I have built a drop down menu with inertia so that it is springy when the user opens and closes it. At the moment I have been using invisable buttons to open and close on(release) and on(MouseOut) The problem is that I want to keep the menu open when the user rolls over other linked buttons in the menu but as soon as the user places the cursor over one of these the menu closes as the actionscript thinks its outside the parameters

I want to use the x,y properties to open and close the boxes but havent got the first idea of how to achieve this, Im thinking with an if statement. Any help would be greatly appreciated

Thanks

matt

View Replies !    View Related
For..In Command?
Whats the purpose of it?

I looked it up in Flash Dictionary, but I still couldn't understand.

View Replies !    View Related
What Command?
I have made a button and when you press it I want it to play a movie clip how do I do this?? and how do I do this if its on another scene, what command do I add??? In my movie clip I want this bar to move out when the button is pressed which is on another scene and to stop at frame 30 when another button is pressed on the menu I want the same bar to move back to where it was which is frame 60 and for another bar which is on another scene to move out to frame 30 and stop and the same thing to happen with other buttons.

please help... if I do this I AM FINISHED... please someone answer my guestion...

thanx in advance

View Replies !    View Related
Set.RGB Command
can someone please teach me how to use this command. My desired result is an object that can be dynamically colored with an external txt file. (bit of a newbie so the more detailed your example the better

i.e.
(1) I create a keyframe that loads the external text file - this keyframe actions look like this .......

(2) Create an object and do this to it so the object's color is controled by the text file....

much appreciated any help recieved - thanks in advance,
Oznob

View Replies !    View Related
Fs Command
Can some one please, please, please tell me how I can suppress the right-click options(pc) on a *.swf file: You know, so that it only has the "About Macromedia Flash 5" option. I don't just mean in the standalone player, but in embedded *.swf files in me web pages viewed in IE6.

Thank you

View Replies !    View Related
FS Command - HELP
I have just read that the FS COmmand does not work on the Mac.

Is there any other ways of invoking a similar procedure? I use the command to send data from a text field in and out of Flash to an HTML page.

Could I use variables in the getURL string instead? I am using Javascript in the HTML page rather than a server-side language (although this could be done)

Thanks

View Replies !    View Related
The 'IF' Command
I have set a variable in keyframe 1. The variable is called 'variable1' and the value = 'yes'

I want to add a key frame which does the following:

If variable1 = yes, then get URL.


PLEASE HELP!!

Thanks!

View Replies !    View Related
Fs Command?
hi,

I have been having problems with screen resolution in that i develop images/animation in screen resolution 1024 X 768 and when i view it using 800 X 600, the images/animation do not look good. i've read that the full screen command for flash can be used for this, but i dont exactly know how.

how do you use it so that the animation still looks good regardless of any screen resolution??

View Replies !    View Related
Fs Command HELP
I am building a .swf for use as a screensaver. I need to be able to close the .scr file from the flash movie. fs quit doesn't work. Is there a way either to send an actual keystroke (not a character code) or close an external application from within Flash?

View Replies !    View Related
Is There A Command For...
Is there a command for completely restarting a swf file from inside the file?

View Replies !    View Related
FS Command In MX
I just want to know what we can do using FS command of Flash MX. [client side / server side and standalone]

View Replies !    View Related
Fs Command
I'm developing a CD that comes with the companies product, the cd has an interface where you press one of the buttons and it's supposed to run the set up.
How do you get this done, I tried using the FS command but I don't know how.........any suggestions??

Thanks for any help you may provide

View Replies !    View Related
Fs Command For Mac
Has anyone figured out a Mac solution to the fscommand problem?
I have read every single thread, tutorial, etc. on several boards about this issue, and I have not found a Mac answer. If anybody can help with Mac, here is my problem:
I have created a simple FlashMX projector for use on a CD-ROM. This projector has a button (it will have more than one if I can get this to work) which is supposed to launch an external QuickTime movie. I have created a simple AppleScript (named "DemoStarter", and it works fine) which launches the movie. I cannot get the fscommand "exec" to launch this AppleScript. Below is my FlashMX code:

on (release) {
fscommand ("exec", "DemoStarter")
}

I have tried this with the AppleScript in the required fscommand folder, I have even tried using a Flash5 projector. No joy. Is there an extension for the Script that I am missing? Is there another answer?
Please help before my boss kills me. Thank you.

View Replies !    View Related
Need An _if Command (i Think?)
Hi,
say i have my index (blue) where everything tweens in. then a button is clicked to take the user to red, green or yellow and everything tweens out and then respective page then tweens in. how do i say:

play the rest of the clip (ie tween out);
if red was pressed, goto scene red
if green was pressed, goto scene green....

only other way i can see is by putting the out tween at the start of each other scene but this seems unnecessary work and runs into probs when the site gets into more levels...

thx for your help
lev

View Replies !    View Related
If Command - Help
I'm making a game where in the end an action tells a target (MC-tekst) to jump to a certain frame using the if command.

this is the script:
------------------------

if (/:score<100) {
tellTarget ("tekst") {
gotoAndPlay (1);
}
}
if (/:score>100<200) {
tellTarget ("tekst") {
gotoAndPlay (2);
}
}
if (/:score>200<400) {
tellTarget ("tekst") {
gotoAndPlay (3);
}
}
if (/:score>400<500) {
tellTarget ("tekst") {
gotoAndPlay (4);
}
}
if (/:score>500) {
tellTarget ("tekst") {
gotoAndPlay (5);
}
}

View Replies !    View Related
Think I Need An 'if' Command? PLS HELP
lo all. basically, my site tweens in, when a button is pressed the site tweens out and then the appropriate scene loads. how do i say

'if red button has been pushed go to red scene'
'if blue button has been pressed...' etc etc

do i have to attach a variable to each button and then check for that at the end when the new scene needs to load, and if so, how? hope you know what im trying to get at...

cheers
lev

View Replies !    View Related
Think I Need An 'if' Command? PLS HELP
lo all. basically, my site tweens in, when a button is pressed the site tweens out and then the appropriate scene loads. how do i say

'if red button has been pushed go to red scene'
'if blue button has been pressed...' etc etc

do i have to attach a variable to each button and then check for that at the end when the new scene needs to load, and if so, how? hope you know what im trying to get at...

cheers
lev

View Replies !    View Related
FS Command?
Hello, this might appear to be a generic, easy to solve issue -but I'm currently in the dark.
I'm creating a simple remote CD in Flash [.EXE]. Once playing, I would like to open up Windows Explorer in the directory where the Projector file resides on the CD-ROM or a sub-directory on the CD-ROM.

How do I invoke this command [from a button]?
When the CD plays on a client's PC, how will the correct CD drive letter be recognized? (assuming that most computers use differing letters assigned to the CD drive)

What, if any, benefits are there to utilizing 3rd party command line software tools like 'Jugglor' along with 'JStart' to accomplish this?

Any help would be greatly appreciated.
Thank you.
-Darryl

If this question has already been answered, then I'm sorry -I didn't find it.

View Replies !    View Related
FS Command - Please HELP
Hi,
I am trying to create a expandable menu for my desktop. It has icons in it, and it's just something that will be used to take up less space. anyways my problem has to do with executing programs. I have a button as the Internet Explorer icon. At first I tried:


PHP Code:




on (release) {
    fscommand ("exec", "C:PROGRAM FILESINTERNET EXPLORERIEXPLORER.EXE");
}







that didn't work. I read that one is supposed to use DOS syntax so I tried,


PHP Code:




on (release) {
    fscommand ("exec", "C:PROGRA~1INTERN~1IEXPLORER.EXE");
}







But that didn't work either.

Does anyone know how to execute a file from flash?

P.S. I am using Flash 5

View Replies !    View Related
Go To URL Command
I have a Cd-Rom that has a video clip on it. I'm trying to get the Go to URL command to pull up the media player & it's not working. I'm sure I'm doing something wrong. It's pulling up the folder the clip is in, but not the clip. Can anyone help me......

View Replies !    View Related
If Command?
Ok!

I have a movie with 7 buttons, that are duplicates, so they all change if you change one. They all have different instance names.
Is there any way of detecting which button the user clicks on by getting the instance name, and at the same time have specified that IF instance1(e.g.) is clicked it will load a certain frame or movie??


wow
would help me having to do loads of re programming, because it holds a script in it self that uses this setup.

Is it possible?

View Replies !    View Related
Yes Or No Command
I need to have a yes or no command on my flash movie (y/n). Is this possible?

Thanks!

View Replies !    View Related
Yes Or No Command
How do you do the "Yes or No" command on a movie? A good example I want to accomplish is the donnie darko website. Throughout the website will have to key press y or n. Thanks! http://www.donniedarko.com/

View Replies !    View Related
If Command
Hi all,

I was wondering if you could do something. I work mostly in Director so I know all the lingo for it but Im just not sure if its possible to do it in Flash.

What I am looking to do is have a button and when the movie is playing, when u press it, it pauses the timeline and when u press the same button, the timeline continues on. In my mind it looks something like this:

On release

If playing = 1 then
let playing = 0 else
if playing = 0 then
let playing = 1


Ok, so that isnt right at all but can anyone help me out with the code Im looking for?

Thanks all.

View Replies !    View Related
FPS Command
Can someone give me an example of how to use the FPS command to alter the frame rate of a movie, I don't understand entirely how it works.

View Replies !    View Related
AS Command Help
(FYI I have FlashMX)
I need to know what actionscript to use to make my Flash movie return to a part in my movie, play through it agian.

I cant use a gotoandplay command because then, when the movie trys to play through the part with the script, it will just return.

What command would I use

If you dont understand me, I will try to clarify.
Thanx

View Replies !    View Related
This Command...
I am trying to skip a couple of levels in my actionscript book and ask a question I still don't understand.


what does this._x and this._y do exactly.
lamens terms please?

View Replies !    View Related
Help With For( ) Command
I have 7 movieclips that I called command1, command2, command3, ...

for each of them, I want to set their alpha value to 0

so, I use the command for()

for(i=1; i<8; i++){
???._alpha = 0;

but I don't know how to write the statement, I need help please

thanks

MaX_BoY

View Replies !    View Related
Help With For () Command
I have 7 movieclips that I called command1, command2, command3, ...

for each of them, I want to set their alpha value to 0

so, I use the command for()

for(i=1; i<8; i++){
???._alpha = 0;

but I don't know how to write the statement, I need help please

thanks

MaX_BoY

View Replies !    View Related
Help With This[ ] Command
Can anybody tells me what's wrong with this

for(i=1; i<8; i++){
this["_root.movie1.text" + i].text = var1;
}

thanks

View Replies !    View Related
Help With This [ ] Command
Can anybody tells me what's wrong with that

for(i=7; i<8; i++){
this["_root.text" + i] = var1;
}

Or maybe take a look to my file (in MX format)

thanks

View Replies !    View Related
Help With This[ ] Command
Can anybody tells me what's wrong with that

for(i=7; i<8; i++){
this["_root.text" + i] = var1;
}

Or maybe take a look to my file (saved in MX format)

thanks

View Replies !    View Related
Key Command Help
im looking for help with a bit of action script.

I designed a sound board and I want to be able to add some script to it so that when i hit the space bar all sounds are stopped.

please assume i have no knowledge!

Any help is appreciated.

Many thanks

View Replies !    View Related
Fs Command
I develop a web using Flash MX. In the movie, it contains a few layers, which I divide them to backgrd, content, sound, action and notes. Where should I put the FS command?

fscommand ("allowscale", "true");

Can I just add this to the existing action layer?

Thanks

View Replies !    View Related
Fs Command
Hi:

I'm making an autorun cd which launches a projector file. I am using an fscommand to make the projector fullscreen. This works great, but I have one problem. In my movie I have links to urls on the web. When I click on these url buttons it opens the webpage BEHIND the fullscreen projector movie. Is there a way to have these webpages open in front of the movie?

Thanks,
Abe

View Replies !    View Related
Command?
I have a movie clip website in design and have introduced thumbnail Symbols which, when assigned as buttons, should move on to display larger Symbols (and the small thumbnail too) when mouse is over, whilst retaining the text alongside. Text is static.

I have one layer which has text and a thumbnail and the second frame of this layer displays a repeat of frame 1 with a larger symbol.

It all looks fine when the timeline is moved but I have become lost with the command to move the movie on to display the second frame.

It seems to return to the beginning of the movie with on (release) {gotoAndPlay(2);} and the drop-down menu in Actions does not permit me to select the text page and layer I am working on.

I hope this makes sense and would be grateful for any advice.

Thanks.

Bob

View Replies !    View Related
Possible Command?
I have a movie with an MC and 2 buttons. The MC shows pictures that switch as the buttons are pressed (one is forward the other is back). The script on teh buttons is

[script]on (release) {
_root.gallery.nextFrame();
}[/script]

and vice versa for the other (prevFrame). How would I go by making it go to the first frame if it was on the last one and the NextFrame button was pressed?

Thanks ahead of time,
Rob

View Replies !    View Related
Get URL Command
Hi!

I am trying to create a link button in my movie. I seem to be doing everything correctly, but there is one problem: The website is opening up behind my movie, not it front of it. This only happens on some computers, but I wonder if there is a way to make sure that the websites linked will always pop up on top of my Flash movie. I'm on a PC.

TY,
Tyler

View Replies !    View Related
The 'on' Command
is there a thing for the on command that makes it happen at anytime? im just wondering because it would make coding real time games with self-sustaining objects easier

View Replies !    View Related
The If Command
what is wrong with this action script

frame 1

stop();
x = 0;
thisthing.onRelease=function() {
x = x + 1;
};
if (x = 3) {play()};

frame 2

stop();

i want it to make it so if i press this button 3 times it plays
but it doesnt work

i think it has something to do with the if command

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