Are there any flex 3 experts out there?
I have a few simple questions that I can not seem to find the answer, but i know for someone who has be coding in flex for a few months or more will know the answer.
Basically...
Is there a similar onfocus attribute in flex 3 for a mx:textinput?
basically I would like a function to fire when someone has the cursor in the text input field and then to fire another function when the cursor leaves the text input field.
I know there is click, but it is not quite what I want.
Can we have a new forum for Flex?
Moderator: General Moderators
- jaoudestudios
- DevNet Resident
- Posts: 1483
- Joined: Wed Jun 18, 2008 8:32 am
- Location: Surrey
Re: Can we have a new forum for Flex?
Moved to Suggestions.
Questions about non-PHP stuff go in Miscellaneous. If there were loads of them about a particular subject then we'd consider setting up a specific folder for them. Yours seems to be the first. That's hardly enough evidence that we're in need of a new folder to contain them all, is it?
Questions about non-PHP stuff go in Miscellaneous. If there were loads of them about a particular subject then we'd consider setting up a specific folder for them. Yours seems to be the first. That's hardly enough evidence that we're in need of a new folder to contain them all, is it?
- jaoudestudios
- DevNet Resident
- Posts: 1483
- Joined: Wed Jun 18, 2008 8:32 am
- Location: Surrey
Re: Can we have a new forum for Flex?
Easy tiger!
Is a flex developer able to help me with my onfocus issue?
Is a flex developer able to help me with my onfocus issue?
-
richardchaven
- Forum Newbie
- Posts: 2
- Joined: Thu Aug 28, 2008 12:18 am
Re: Can we have a new forum for Flex?
activate Eventjaoudestudios wrote:
Is there a similar onfocus attribute in flex 3 for a mx:textinput?
basically I would like a function to fire when someone has the cursor in the text input field and then to fire another function when the cursor leaves the text input field.
Event Object Type: flash.events.Event
Event.type property = flash.events.Event.ACTIVATE
Dispatched when Flash Player or an AIR application gains operating system focus and becomes active.
The Event.ACTIVATE constant defines the value of the type property of an activate event object.
Note: This event does not go through a "capture phase" and is dispatched directly to the target, whether the target is on the display list or not.
This event has the following properties:
Property Value
bubbles false
cancelable false; there is no default behavior to cancel.
currentTarget The object that is actively processing the Event object with an event listener.
target Any DisplayObject instance with a listener registered for the ACTIVATE event.
=======================================================================
deactivate Event
Event Object Type: flash.events.Event
Event.type property = flash.events.Event.DEACTIVATE
...
- jaoudestudios
- DevNet Resident
- Posts: 1483
- Joined: Wed Jun 18, 2008 8:32 am
- Location: Surrey
Re: Can we have a new forum for Flex?
Thank you 
- jaoudestudios
- DevNet Resident
- Posts: 1483
- Joined: Wed Jun 18, 2008 8:32 am
- Location: Surrey
Re: Can we have a new forum for Flex?
I have a SVG that I pan, using event.currentTarget.startDrag(), it works which is great. But if I use event.target.startDrag() I am able to grab layers in the SVG, I do not want to do this, but I would like to hover the layers and a function to fire. How would I change it to a hover event on the SVG, I have tried everything but none of it seems to work.
Thanks
Thanks
Re: Can we have a new forum for Flex?
Topic moved to the Misc folder.