A Flash Developer Resource Site

Results 1 to 5 of 5

Thread: FlashLite 1.x - Set focus

  1. #1
    Senior Member vinayak.kadam's Avatar
    Join Date
    Oct 2006
    Location
    gotoAndPlay("Pune");
    Posts
    831

    FlashLite 1.x - Set focus

    Hello all,

    Can I set a focus on any button or input text field in FlashLite 1.x. I know I can use Selection.setFocus() but I just wanted to confirm can I do this in 1.x ? If not then is there any work around for this ?
    As ever,
    Vinayak Kadam

  2. #2
    Registered User
    Join Date
    Apr 2001
    Location
    Akron OH, USA
    Posts
    4,841
    you cannot set focus using ActionScript in Flash Lite 1.1. Selection object is Flash Lite 2.x or above.

  3. #3
    Senior Member vinayak.kadam's Avatar
    Join Date
    Oct 2006
    Location
    gotoAndPlay("Pune");
    Posts
    831
    Thanks a lot for your response quick response.
    As ever,
    Vinayak Kadam

  4. #4
    Member
    Join Date
    Nov 2000
    Location
    South East UK
    Posts
    91
    I'm trying to hide the yellow input focus rectangle that appear onscreen on activatable buttons (like pressing the tab key in windows apps). This currently happens when the cursor control buttons are pressed on the handset - will setting selection focus to "" do that, or do I need to do something else?

  5. #5
    Registered User
    Join Date
    Apr 2001
    Location
    Akron OH, USA
    Posts
    4,841
    Unfortunately, I dont have my reference in front of me, I believe there is an fscommand2 that you use for controlling display of the yellow focus rectangle.

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