0

/t5/animate-discussions/fscommand-quit/td-p/415507
Jan 05, 2008
Jan 05, 2008
Copy link to clipboard
Copied
Hey guys,
Just wondering if anyone can help me, this is probably a really simple one, but i just cant get it?!?! maybe ive been looking at it for too long, i dont know. But what i need to do is get the flash player to close when the user clicks the "exit" button. Previously in actionscript 2.0 i used fscommand, and i presumed this was still the same in action script 3.0 but for some reason its not working?? the code i have is below:
Many thanks for your help in advance
Jude :D
Just wondering if anyone can help me, this is probably a really simple one, but i just cant get it?!?! maybe ive been looking at it for too long, i dont know. But what i need to do is get the flash player to close when the user clicks the "exit" button. Previously in actionscript 2.0 i used fscommand, and i presumed this was still the same in action script 3.0 but for some reason its not working?? the code i have is below:
Many thanks for your help in advance
Jude :D
TOPICS
ActionScript
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
1 Correct answer
Engaged
,
Jan 05, 2008
Jan 05, 2008
The window will not close in Test Movie, only when running
the projector.
Engaged
,
/t5/animate-discussions/fscommand-quit/m-p/415508#M12229
Jan 05, 2008
Jan 05, 2008
Copy link to clipboard
Copied
import flash.system.fscommand;
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more

Guest
AUTHOR
/t5/animate-discussions/fscommand-quit/m-p/415509#M12230
Jan 05, 2008
Jan 05, 2008
Copy link to clipboard
Copied
I haven't got my action script in a seperate action script
file though? i have added this in however but the command still
doesnt work.
Does this command only work when used in a seperate action script file? because my action script is based in the flash file at the moment?
many thanks for the fast reply though
jude 😄
Does this command only work when used in a seperate action script file? because my action script is based in the flash file at the moment?
many thanks for the fast reply though
jude 😄
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more

Guest
AUTHOR
/t5/animate-discussions/fscommand-quit/m-p/415510#M12231
Jan 05, 2008
Jan 05, 2008
Copy link to clipboard
Copied
I haven't got my action script in a seperate action script
file though? i have added this in however but the command still
doesnt work.
Does this command only work when used in a seperate action script file? because my action script is based in the flash file at the moment?
many thanks for the fast reply though
jude 😄
Does this command only work when used in a seperate action script file? because my action script is based in the flash file at the moment?
many thanks for the fast reply though
jude 😄
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
Engaged
,
/t5/animate-discussions/fscommand-quit/m-p/415511#M12232
Jan 05, 2008
Jan 05, 2008
Copy link to clipboard
Copied
The window will not close in Test Movie, only when running
the projector.
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more

Guest
AUTHOR
/t5/animate-discussions/fscommand-quit/m-p/415512#M12233
Jan 05, 2008
Jan 05, 2008
Copy link to clipboard
Copied
Oh god, now i feel stupid!!! Completely forgot about that :S
works like a dream now!!!!
So sorry to waste your time, sometimes it just takes someone to point out the obvious.
Many thanks for all your help
Jude 😄
So sorry to waste your time, sometimes it just takes someone to point out the obvious.
Many thanks for all your help
Jude 😄
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more

