Alright, scratch that, i figured that out.  you use the setFocus()
method.  so its like

textid.setFocus()

but now I have a different question.

I have a normal html form where someone has to fill in an ldap
username.  No one knows what these usernames are though, so there is a
button for lookup, which uses javascript to pop open a window.  The
window has a flash form with a text input and a data grid, and as you
type the name of the person in the text box, it uses flash remoting to
bring back the search results in the data grid.  Then they select the
name of the person they want, hit submit in the flash form.  It then
posts back to the same page, on post it uses javascript to fill in the
text input on the page the spawned the window in the first place and
closes the window.  Its a great solution.  Only problem is, when they
click the button to lookup, and the flash form loads, even though I am
setting focus to the text input, the user still has to click inside
the flash movie and give it focus before they can start typing.

Does anyone know a way that I can set focus to the flash movie and
then on the text input where they can just click the lookup button and
just start typing as soon as the form loads?

Thanks,

On 11/2/05, Ryan Guill <[EMAIL PROTECTED]> wrote:
> Hey guys,
>
> does anyone know how to make a flash form auto focus on a text field
> once the form loads?
>
> Thanks
> --
> Ryan Guill
> BlueEyesDevelopment
> [EMAIL PROTECTED]
> www.ryanguill.com
> (270) 217.2399
> got google talk?  Chat me at [EMAIL PROTECTED]
>
> The Coldfusion Open Application Library - COAL - http://coal.ryanguill.com
>
> www.ryanguill.com/
> The Roman Empire: www.ryanguill.com/blog/
>


--
Ryan Guill
BlueEyesDevelopment
[EMAIL PROTECTED]
www.ryanguill.com
(270) 217.2399
got google talk?  Chat me at [EMAIL PROTECTED]

The Coldfusion Open Application Library - COAL - http://coal.ryanguill.com

www.ryanguill.com/
The Roman Empire: www.ryanguill.com/blog/

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:222901
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to