Results 1 to 5 of 5

Thread: Nokia 5800 Bug - Auto Rotation And Textfield

  1. #1
    Join Date
    Jan 2010
    Posts
    48

    Nokia 5800 Bug - Auto Rotation And Textfield

    Hello, I am making use of the Nokia 5800 and it is having the bug of the Auto Rotation and also of the Textfield. I am trying to solve that with the help of the code. If you are having any idea for that then please provide that to me. I will be thankful to you.

  2. #2
    Join Date
    Apr 2008
    Posts
    1,948

    Re: Nokia 5800 Bug - Auto Rotation And Textfield

    Hello, I have created the code below for that. You need to check it. It is working fine on my mobile.
    Code:
    var sizeFinder:Object = new Object();
    stageSizeListener.onResize=function()
    {
    if(start.width > start.height) {
    test.main._rotation = -90;
    test.main._x = 0;
    test.main._y = 360;
    } else {
    test.main._rotation = 0;
    test.main._x = 0;
    test.main._y = 0;
    }
    }
    Stage.addListener(stageSizeListener);

  3. #3
    Join Date
    Apr 2008
    Posts
    2,005

    Re: Nokia 5800 Bug - Auto Rotation And Textfield

    Hey, it is working fine, but if you get back from the OS screen, the it rotates the screen. I think you need to add something as below in your code :

    Code:
    txtValue.onChanged = function() 
    {
    Selection.setFocus(btnOk);
    };
    Check it and if it is working then you will get solved for your problem.

  4. #4
    Join Date
    May 2008
    Posts
    2,297

    Re: Nokia 5800 Bug - Auto Rotation And Textfield

    Hello, if you simply make use of the turning off your anti-aliasing by using the "Bitmap Text" then you can try out this. As it may possible that it will simply solve your problem. You just need to make use of the embedding of the font which is required and then you will able to get the solution for your problem. It will simply solve your problem. So, just make use of that and then you will able to get the solution for your problem.

  5. #5
    Join Date
    May 2008
    Posts
    2,012

    Re: Nokia 5800 Bug - Auto Rotation And Textfield

    Hello, I am making use of the onResive event and if the user wants to add the name to the input box then it will able to add that.
    Code:
    txtCheck.onSetFocus = function():void
    {
    _test.deviceObject.DisableAutoRotation(true);
    }
    
    txtCheck.onKillFocus = function():void
    {
    _test.deviceObject.DisableAutoRotation(false);
    }

Similar Threads

  1. Replies: 3
    Last Post: 08-10-2010, 09:42 PM
  2. HP Touchsmart tm2t Auto-Rotation
    By Courtney in forum Portable Devices
    Replies: 6
    Last Post: 20-09-2010, 11:24 AM
  3. Nokia 5800 auto rotation not working
    By 5800forever in forum Portable Devices
    Replies: 1
    Last Post: 03-09-2010, 07:39 AM
  4. Nokia 5800 Bug - Auto rotation and textfield
    By Agriya in forum Portable Devices
    Replies: 4
    Last Post: 20-04-2010, 09:39 AM
  5. Auto rotate not working in Nokia 5800
    By Steadfast in forum Portable Devices
    Replies: 5
    Last Post: 10-03-2010, 04:33 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,713,568,554.95483 seconds with 17 queries