Re: [flexcoders] Setting Focus on loading application

2009-03-17 Thread Romeo Obane
Thanks for this post :)
But I'm quite wondering that it doesn't work in Google Chrome.

On Wed, Mar 18, 2009 at 7:44 AM, Toby Tremayne  wrote:

>   Actually I'm using it in firefox :)
>
>
> On 18/03/2009, at 12:15 AM, Tracy Spratt wrote:
>
>
> Be aware that this is reliable in IE, but may not work in FireFox.  I do
> not know about the other browsers.
>
>
>
> Tracy Spratt,
>
> Lariat Services, development services available
> --
>
> *From:* flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] *On
> Behalf Of *sony antony
> *Sent:* Tuesday, March 17, 2009 8:00 AM
> *To:* flexcoders@yahoogroups.com
> *Subject:* Re: [flexcoders] Setting Focus on loading application
>
>
>
> Hey..
>
>
>
> Thanks Toby...
>
> That worked.. It was really troubling stuff for me.. Now am almost
> relaxed..
>
>
>
>
>
> --- On *Tue, 17/3/09, Toby Tremayne * wrote:
>
>
> From: Toby Tremayne 
> 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):
>
>
>
> 
>
> function focusFlash() {
>
> ${application}.focus();
>
> }
>
> 
>
>
>
> and modify the body tag like so:
>
>
>
> 
>
>
>
> 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/>
>
>
>
>
> Toby Tremayne
> CEO
> Magic Industries
> http://www.magicindustries.net
> mob: 0416 048 090
> icq: 13107913
> skype: lyricist1
>
>
>
>
>  
>


Re: [flexcoders] Setting Focus on loading application

2009-03-17 Thread Toby Tremayne

Actually I'm using it in firefox :)


On 18/03/2009, at 12:15 AM, Tracy Spratt wrote:



Be aware that this is reliable in IE, but may not work in FireFox.   
I do not know about the other browsers.




Tracy Spratt,

Lariat Services, development services available

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com]  
On Behalf Of sony antony

Sent: Tuesday, March 17, 2009 8:00 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Setting Focus on loading application



Hey..



Thanks Toby...

That worked.. It was really troubling stuff for me.. Now am almost  
relaxed..








--- On Tue, 17/3/09, Toby Tremayne  wrote:


From: Toby Tremayne 
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):






function focusFlash() {

${application}.focus();

}





and modify the body tag like so:







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







Toby Tremayne

CEO

Magic Industries

http://www.magicind ustries.net

mob: 0416 048 090

icq: 13107913

skype: lyricist1











Add more friends to your messenger and enjoy! Invite them now.







Toby Tremayne
CEO
Magic Industries
http://www.magicindustries.net
mob: 0416 048 090
icq: 13107913
skype: lyricist1






Re: [flexcoders] Setting Focus on loading application

2009-03-17 Thread Rick Winscot
This ground may have been covered already ­ but this is an IE fix only.
Firefox doesn¹t doesn¹t let you set focus programmatically to embedded Flash
content. It¹s been a long-standing issue with the people at Mozilla.

http://groups.google.com/group/mozilla.dev.accessibility/browse_thread/threa
d/360ba2fcb48de633/ec87ab6b4e30d822

Rick Winscot


On 3/17/09 8:00 AM, "sony antony"  wrote:

>  
>  
> 
> Hey..
> Thanks Toby...
> That worked.. It was really troubling stuff for me.. Now am almost relaxed.. 
> 
> 
> 
> 
> --- On Tue, 17/3/09, Toby Tremayne  wrote:
>> 
>> From: Toby Tremayne 
>> 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):
>> 
>> function focusFlash() {
>> ${application}.focus();
>> }
>> 
>> 
>> and modify the body tag like so:
>> 
>> 
>> 
>> 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
> /> 
>   
> 
> 
>> 



RE: [flexcoders] Setting Focus on loading application

2009-03-17 Thread Tracy Spratt
Be aware that this is reliable in IE, but may not work in FireFox.  I do not
know about the other browsers.

 

Tracy Spratt,

Lariat Services, development services available

  _  

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of sony antony
Sent: Tuesday, March 17, 2009 8:00 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Setting Focus on loading application

 


Hey..

 

Thanks Toby...

That worked.. It was really troubling stuff for me.. Now am almost relaxed..


 

  <http://mail.yimg.com/us.yimg.com/i/mesg/tsmileys2/14.gif> 



--- On Tue, 17/3/09, Toby Tremayne  wrote:


From: Toby Tremayne 
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):

 



function focusFlash() {

${application}.focus();

}



 

and modify the body tag like so:

 



 

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.
<http://in.rd.yahoo.com/tagline_frontpage_1/*http:/in.yahoo.com/?wm=n/>
Click here.

 

 

 

Toby Tremayne

CEO

Magic Industries

http://www.magicind <http://www.magicindustries.net>  ustries.net

mob: 0416 048 090

icq: 13107913

skype: lyricist1

 





 





  _  


Add more friends to your messenger and enjoy! Invite
<http://in.rd.yahoo.com/tagline_messenger_6/*http:/messenger.yahoo.com/invit
e/>  them now.





Re: [flexcoders] Setting Focus on loading application

2009-03-17 Thread Sefi Ninio
Hmm... didn't work for me...

On Tue, Mar 17, 2009 at 2:00 PM, sony antony wrote:

>   Hey..
> Thanks Toby...
> That worked.. It was really troubling stuff for me.. Now am almost
> relaxed..
>
>
>
> --- On *Tue, 17/3/09, Toby Tremayne * wrote:
>
>
> From: Toby Tremayne 
> 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):
>
> 
> function focusFlash() {
> ${application}.focus();
> }
> 
>
> and modify the body tag like so:
>
> 
>
> 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/>
> 
>


Re: [flexcoders] Setting Focus on loading application

2009-03-17 Thread sony antony
Hey..
Thanks Toby...That worked.. It was really troubling stuff for me.. Now am 
almost relaxed.. 


--- On Tue, 17/3/09, Toby Tremayne  wrote:

From: Toby Tremayne 
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):
function focusFlash() {
${application}.focus();}
and modify the body tag like so:

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

 

Toby TremayneCEOMagic Industrieshttp://www.magicind ustries.netmob: 0416 048 
090icq: 13107913skype: lyricist1


 

 

  




 
















  Add more friends to your messenger and enjoy! Go to 
http://messenger.yahoo.com/invite/

Re: [flexcoders] Setting Focus on loading application

2009-03-17 Thread Toby Tremayne
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):



function focusFlash() {
${application}.focus();
}


and modify the body tag like so:



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






Toby Tremayne
CEO
Magic Industries
http://www.magicindustries.net
mob: 0416 048 090
icq: 13107913
skype: lyricist1