hi,

you can use the creation complete event  handler of popup you wan to launch,
by just having the following line

stage.focus = textInput;

On 8 June 2012 18:35, 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.



-- 
Sivaranjani P

-- 
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