dcsimg
A Flash Developer Resource Site

Results 1 to 5 of 5

Thread: Siimple question really..

  1. #1
    Member
    Join Date
    Aug 2001
    Location
    England!
    Posts
    59

    Siimple question really..

    How can i get a button to 'quit' or 'exit' the swf its in..i've tried all sorts..it must be a simple line of script?

  2. #2
    Sergei A. Kornev Maestro_cK's Avatar
    Join Date
    Jul 2002
    Location
    Saint Petersburg
    Posts
    155
    fscommand("quit")

  3. #3
    Member
    Join Date
    Aug 2001
    Location
    England!
    Posts
    59
    where does that go? on the button?

  4. #4
    Sergei A. Kornev Maestro_cK's Avatar
    Join Date
    Jul 2002
    Location
    Saint Petersburg
    Posts
    155
    Yeah. It's for a button

    It only works in projector.(it means that ur swf will be played by Stadalone Player not Browser).

    If You want close actons for swf in Brwoser You should use javascript to close browser window.

    Let me know if You ve meant the last suggestion.

  5. #5
    Member
    Join Date
    Aug 2001
    Location
    England!
    Posts
    59
    thanks for your help, tested and works when published

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center