A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: Can I set F10 to go to another scene when pressed ?

  1. #1
    ¿
    Join Date
    Jan 2003
    Location
    UK
    Posts
    45

    Can I set F10 to go to another scene when pressed ?

    Hi,

    I have a website that I've based on a game interface.

    http://www.oldman.plus.com/33

    I can see I can set Keys to do things but I cant seem to get F10 to actually do anything ?


    Is there anyway I can set it to go to another scene when pressed ?


    Many Thanks,

    Karl.

  2. #2
    Senior Member
    Join Date
    Jan 2003
    Location
    United States
    Posts
    892
    Hi Karl,

    If this were possible you would need to use Swishmax. Swishmax can use script for "keypress" handlers. If you look in the Swishmax help files under "keypress" and then under "keyPress(key)" there are some examples and a description.

    You might be able to find out what the code would be for the F10 key and insert it.

    Or you may have to substitue the F10 key for a different one that has script available for it.

    I haven't seen any examples of using the F10 key... but you could research this out at say, www.actionscript.org

    Blessings

    jwr
    When all is said and done -- "You MUST be Born Again!" John 3:3

  3. #3
    Junior Member
    Join Date
    Jan 2005
    Posts
    2
    Hi Karl,

    a little example here works with all F-Keys but not with F10 (don't know why - perhaps used by the FlashPlayer itself)... but maybe you can use it as first step!

    The Key code list is
    F1 ---> 112
    F2 ---> 113
    ...
    F9 ---> 120
    F10 ---> 121
    F11 ---> 122
    F12 ---> 123

    Reinhard

  4. #4
    ¿
    Join Date
    Jan 2003
    Location
    UK
    Posts
    45
    Thats Excellent,

    Many Thanks for your help fellas.

    Edit;

    F10 definatley does something with IE. Who knows !
    Last edited by Karl|Oldman; 01-18-2005 at 06:09 AM.

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