i have a requirment where i have a label . when user puts the cursor on the label
a small window should popup and show the usernames from an ArrayCollection. When a username is clicked the clicked username should be passed to backend.
Here is the mxml
public var users:ArrayCollection; --> this collection has a list of usernames
public var selectedusername:String; -->holds the selected username
<mx:Label styleName="usernames" text="show users"/> --when user puts mouse here, a window should popup and show the usernames from 'users' Arraycollection
If 5 usernames are displayed in the box , when user clicks on a username i need to capture that username and pass it to the backend.
So i have created a string var 'selectedusername' which will contain the selected username.
Am i in the right direction?
Can anyone please help me with some code