| Home | Tutorials | Forums | Articles | Blogs | Movies | Library | Employment | Press | Buy templates |
|
|
#1 |
|
Member
Join Date: Aug 2008
Posts: 50
|
Hey there -
Is there an event that is dispatched when a text input gets clicked (i.e. to add text), but not after text has been added, simply when it is clicked? It won't have changed, and text won't have been entered... Thanks! Something like this (fill in the blank): Code:
date_txt.addEventListener(FocusEvent.FOCUS_IN, showCalendar); [or] date_txt.addEventListener(MouseEvent.CLICK, showCalendar); |
|
|
|
|
|
#2 |
|
Senior Member
Join Date: Sep 2009
Location: Melbourne, Australia
Posts: 484
|
If you are talking about the TextField class, look in the docs
http://livedocs.adobe.com/flash/9.0/...l#eventSummary Take your pick of the myriad of events (Note most events are inherited) so you'll need to click on "Show Inherited Events" to see them all |
|
|
|
|
|
|
|
|
#3 |
|
Member
Join Date: Aug 2008
Posts: 50
|
omg - i can't believe i've been looking at these docs all along w/o seeing the inherited events link. thanks so much!
|
|
|
|
|
|
#4 |
|
Senior Member
Join Date: Sep 2009
Location: Melbourne, Australia
Posts: 484
|
No worries ;-)
|
|
|
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|