Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

fscommand, quit

Guest
Jan 05, 2008 Jan 05, 2008
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

TOPICS
ActionScript
2.1K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Engaged , Jan 05, 2008 Jan 05, 2008
The window will not close in Test Movie, only when running the projector.
Translate
Engaged ,
Jan 05, 2008 Jan 05, 2008
import flash.system.fscommand;
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Jan 05, 2008 Jan 05, 2008
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 😄
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Jan 05, 2008 Jan 05, 2008
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 😄
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Jan 05, 2008 Jan 05, 2008
The window will not close in Test Movie, only when running the projector.
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Jan 05, 2008 Jan 05, 2008
LATEST
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 😄
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines