Hmm... didn't work for me...

On Tue, Mar 17, 2009 at 2:00 PM, sony antony <pow_like_me...@yahoo.co.in>wrote:

>   Hey..
> Thanks Toby...
> That worked.. It was really troubling stuff for me.. Now am almost
> relaxed..
>
>
>
> --- On *Tue, 17/3/09, Toby Tremayne <t...@lyricist.com.au>* wrote:
>
>
> From: Toby Tremayne <t...@lyricist.com.au>
> Subject: Re: [flexcoders] Setting Focus on loading application
> To: flexcoders@yahoogroups.com
> Date: Tuesday, 17 March, 2009, 12:34 PM
>
>  The issue is that the flash movie itself needs to receive focus before it
> can put the cursor in your username field.  You can achieve this by adding
> this to your html wrapper (yourproject/ html-template/ index.template.
> html):
>
> <script language="JavaScript" type="text/javascript">
> function focusFlash() {
> ${application}.focus();
> }
> </script>
>
> and modify the body tag like so:
>
> <body onload="focusFlash" >
>
> Once that's in there, the usual FocusManager code in your flex will work:
>
> focusManager. setFocus( username) ;
>
> Toby
>
> On 17/03/2009, at 5:54 PM, sony antony wrote:
>
>
> Hi,Can anyone help me out with this craziness of flex..
> I need to set focus to my username field when my application gets loaded.
> While i was tracking this issue, I was caught up in http://bugs.
> adobe.com/ jira/browse/ FP-879 <http://bugs.adobe.com/jira/browse/FP-879> .
> There they specified about some kind of html wrapper code. I dint get any
> idea about it. Please somebody help me to fix this.
>
> Thanks & Regards,
> Sony
>
> ------------------------------
> Check out the all-new face of Yahoo! India. Click 
> here.<http://in.rd.yahoo.com/tagline_frontpage_1/*http://in.yahoo.com/?wm=n/>
>
>
>
>
> Toby Tremayne
> CEO
> Magic Industries
> http://www.magicind ustries.net <http://www.magicindustries.net>
> mob: 0416 048 090
> icq: 13107913
> skype: lyricist1
>
>
>
>
>
> ------------------------------
> Add more friends to your messenger and enjoy! Invite them 
> now.<http://in.rd.yahoo.com/tagline_messenger_6/*http://messenger.yahoo.com/invite/>
> 
>

Reply via email to