Home Tutorials Forums Articles Blogs Movies Library Employment Press Buy templates

Go Back   ActionScript.org Forums > ActionScript Forums Group > ActionScript 3.0

Reply
 
Thread Tools Rate Thread Display Modes
Old 11-04-2009, 01:10 AM   #1
julie p
Member
 
Join Date: Aug 2008
Posts: 50
Default text input event handler - on click...

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);
neither of these work, obviously... thanks!
julie p is offline   Reply With Quote
Old 11-04-2009, 01:26 AM   #2
RogerClark
Senior Member
 
Join Date: Sep 2009
Location: Melbourne, Australia
Posts: 484
Default

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
RogerClark is offline   Reply With Quote
Old 11-04-2009, 01:31 AM   #3
julie p
Member
 
Join Date: Aug 2008
Posts: 50
Default

omg - i can't believe i've been looking at these docs all along w/o seeing the inherited events link. thanks so much!
julie p is offline   Reply With Quote
Old 11-04-2009, 02:03 AM   #4
RogerClark
Senior Member
 
Join Date: Sep 2009
Location: Melbourne, Australia
Posts: 484
Default

No worries ;-)
RogerClark is offline   Reply With Quote
Reply


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 On
HTML code is Off

Forum Jump


All times are GMT. The time now is 01:22 AM.


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