A Flash Developer Resource Site

Results 1 to 5 of 5

Thread: flash 8 projectors

  1. #1
    Junior Member
    Join Date
    May 2006
    Posts
    2

    flash 8 projectors

    I have created a projector .exe from flash 8 and cannot get any quit function to work? I've tried the fscommand but this seems to be redundant in the new release. Is there now an alternative and does anyone know howto use it to quit a projector?

    many thanks
    Steve

  2. #2
    Senior Member cancerinform's Avatar
    Join Date
    Mar 2002
    Location
    press the picture...
    Posts
    13,448
    What do you mean by "quit" function?
    - The right of the People to create Flash movies shall not be infringed. -

  3. #3
    Junior Member
    Join Date
    May 2006
    Posts
    2

    quit function

    I would like the player itself to close. I can unload the root easily enough, though I would like to close the entire window.

    cheers
    ste

  4. #4
    Senior Member cancerinform's Avatar
    Join Date
    Mar 2002
    Location
    press the picture...
    Posts
    13,448
    Make a button on the main timeline, name it closeBut and try this.
    closeBut.onRelease = function()
    {
    removeMovieClip(this._parent);
    }
    - The right of the People to create Flash movies shall not be infringed. -

  5. #5
    Senior Member da_hammer's Avatar
    Join Date
    Jul 2003
    Location
    Ritchie Street.
    Posts
    294
    if you are using to close with a button the code on your should be
    ---------------------------------------
    on(press){
    fscommand("quit");
    }
    ------------------------------------
    or if you want to call from a particular frame, then your particular frame can have this code:
    ------------------------
    fscommand("quit");
    -----------------------
    this is pretty simple and strightforward, flash8 doesn't have any such fscommand("quit") bugs!

    hope it helps

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