Home Tutorials Forums Articles Blogs Movies Library Employment Press

Go Back   ActionScript.org Forums > Extensions and Plugins > Components

Thread Tools Rate Thread Display Modes
Old 03-02-2008, 08:26 AM   #1
Senior Member
Join Date: Nov 2007
Location: Paris
Posts: 323
Default set focus on a textInput component

I have created a button component named "my_bt".
I have a textInput component named "my_ti".
I cannot get the focus on my_ti with this code.
ActionScript Code:
my_bt.onRelease = function() {      my_ti.setFocus; }
Thank you for your help.
Marcello2 is offline   Reply With Quote
Old 03-02-2008, 08:34 AM   #2
Senior Member
Join Date: Nov 2007
Location: Paris
Posts: 323

ActionScript Code:
my_bt.onRelease = function() {      my_ti.setFocus(); }
Marcello2 is offline   Reply With Quote

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
TextInput Component backgroundColor leon247 Components 1 06-27-2007 11:44 PM
TextInput Steals Focus from Pressed Button pixelwit ActionScript 2.0 12 03-29-2007 06:02 PM
component focus til Components 1 10-21-2006 01:46 PM
tabIndex issue with custom TextInput component. phoedaddy Components 0 05-05-2006 06:22 PM
Focus TextInput - Quick ? LostInRecursion ActionScript 2.0 0 11-01-2004 01:25 PM

All times are GMT. The time now is 10:46 AM.

Follow actionscriptorg on Twitter


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.