Hi Natrajan,

swf files embedded in HTML don't get focus by default. you have to set
the focus on swf itself using javascipt.

in the body tag of index.template.html under html-template folder in
your project write the following:

onload="window.document.${application}.focus()"

something like this:

<body scroll="no" onload="window.document.${application}.focus()">

Note. this will work on IE only. (Not with Firefox)

HTH,

-Ravi

On Apr 17, 10:11 am, vrathore <[email protected]> wrote:
> Use
>
> 1. setFocus()
> 2. setSelection(0,0)
>
> Cheers
> Varun Rathorehttp://www.vrathore.blogspot.com
--~--~---------~--~----~------------~-------~--~----~
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