×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    Jan 2009
    Posts
    7

    How to make focus move to the next item on right?

    Hi, we've got a problem with flash lite 2.1. When we make a on(keyPress "<Right>"){} -method that does something (even thought just print something) we can't move focus to the next item on right, like we usually can. We thought that it can be consequence with overwriting, but we don't know how to solve it.

    We'll be very thankful if you are able to help us.

  2. #2
    Registered User
    Join Date
    Apr 2008
    Location
    India / Singapore
    Posts
    549

    Re: How to make focus move to the next item on right?

    I dont exactly get your Question... Pl be more elaborate

  3. #3
    Nokia Developer Champion
    Join Date
    Jul 2008
    Location
    Pakistan
    Posts
    1,065

    Smile Re: How to make focus move to the next item on right?

    Quote Originally Posted by mfadjuko View Post
    Hi, we've got a problem with flash lite 2.1. When we make a on(keyPress "<Right>"){} -method that does something (even thought just print something) we can't move focus to the next item on right, like we usually can. We thought that it can be consequence with overwriting, but we don't know how to solve it.

    We'll be very thankful if you are able to help us.
    Quote Originally Posted by mfadjuko View Post
    Hi, we've got a problem with flash lite 2.1. When we make a on(keyPress "<Right>"){} -method that does something (even thought just print something) we can't move focus to the next item on right, like we usually can. We thought that it can be consequence with overwriting, but we don't know how to solve it.

    We'll be very thankful if you are able to help us.
    Umm..what i gt about ur problem is that when u capture the right arrow key using "on (keyPress "<Right>")" then u r not able to move ur focus. One of the easiest way to solve this issue is by using key listener. Just put this script in ur movie's 1st frame .
    Code:
    var myListener:Object = new Object();
    myListener.onKeyDown = function() {
        if (Key.getCode() == Key.RIGHT) {
            trace("right arrow key pressed"); //here u can write your right arrow key pressed code
        } 
    };
    Key.addListener(myListener);
    and now u can use the focus and right key pressed function at a time. For more details about key listner check out :
    Key Listener

    IF Problem exists, please ask again. Hope it helps u..

    Best Regards,
    SajiSoft

  4. #4
    Registered User
    Join Date
    Jan 2009
    Posts
    7

    Re: How to make focus move to the next item on right?

    That was just what we wanted. Thanks a lot.

Similar Threads

  1. Strange problem with compilation!!! ARM9E
    By dmazgalin in forum Symbian C++
    Replies: 1
    Last Post: 2007-11-02, 09:33
  2. errors when building?
    By neilxp in forum Symbian Tools & SDKs
    Replies: 5
    Last Post: 2007-04-18, 14:10
  3. [Pys60, 3rd Ed.] build problems
    By MHOOO in forum Python
    Replies: 3
    Last Post: 2007-04-09, 19:00
  4. Compilation series 60 3rd edition
    By asmobease in forum Symbian C++
    Replies: 3
    Last Post: 2006-09-10, 14:08
  5. How to make the Icon and Name of an item unchangeable?
    By xuewenxp in forum Symbian User Interface
    Replies: 0
    Last Post: 2005-07-21, 01:57

Posting Permissions

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