Declare Public function in ivaPop.mxml component And call that function .

in that write username.setFocus();



On Fri, Jun 8, 2012 at 6:35 PM, Arpit Saraf <[email protected]> wrote:

> ivaPop is an mxml component how to bring focus to its text input from
> index.mxml
>
> Function is called from index.mxml
>
> protected function ivaPopbutton_clickHandler_flow():void
> {
> ivaPop=new ivaPopup();
> ivaPop.addEventListener(Event.CLOSE, closeHandlerivaPopup);
> PopUpManager.addPopUp(ivaPop, this, true)
> PopUpManager.bringToFront(ivaPop);
> ivaPop.setInitialFocus(username.text,ivatext.text,os1.text);
> }
>
> --
> You received this message because you are subscribed to the Google Groups
> "Flex India Community" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/flex_india?hl=en.
>



-- 
Regards

C.SHANMUGAM
KnowledgeQ Interactive Consultancy Services Pvt. Ltd.
First Floor, D-56, DP Estate, Thuvakudy, Trichy 620015, Tamil Nadu, India
www.knowledgeq.com
PH:9751633375

-- 
You received this message because you are subscribed to the Google Groups "Flex 
India Community" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=en.

Reply via email to