A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: Projector

  1. #1
    Junior Member
    Join Date
    Oct 2002
    Location
    Winchester, England
    Posts
    13

    Projector

    Hi there,

    Probably a really simple answer to this...

    I have set my movie projector to play fullscreen and i want to have the esc key quit the movie rather than just taking me out of fullscreen, how do I do it? I have an exit button with an onRelease action that tells it to quit, but i can't assign the esc key to do the same thing even though it will let me assign most other keys!

    Also, Does anyone know a good way of having my flash projector download in a compressed format, that then puts a nice customised icon (other than a zip file icon) onto the desktop and runs automatically? I have tried using a self extracting file with a customised icon, but it doesn't appear, just a zip file.


    Cheers

  2. #2
    Senior Member dipkya's Avatar
    Join Date
    Mar 2001
    Location
    Mumbai (India)
    Posts
    158
    Try this
    make one blank movieclip and paste his code on it.
    onClipEvent (keyDown)
    {
    pressed = Key.getCode();
    if (pressed == 27) {
    fscommand("quit", "true");
    }

    }
    dipkya
    ---------------------------------------------------------------
    SO MUCH HAVE TO DO, SO LITTLE HAS DONE!

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