Home Tutorials Forums Articles Blogs Movies Library Employment Press
Old 09-30-2002, 07:59 AM   #1
gwd
:: :: :: ::
 
gwd's Avatar
 
Join Date: Feb 2002
Location: The Netherlands
Posts: 138
Default SetFocus - blinking cursor

If there anyone know how to solve the problem:

Flashmovie can't get information of your keyboard if you don't click the flashmovie first!


For Example: I've a flashmovie with SetFocus. The Cursor is blinking, but I can't type anything without touching the flashmovie first!


Give me only a answer if you know the answer! Thanks!
gwd is offline   Reply With Quote
Old 09-30-2002, 09:00 AM   #2
farafiro
Addicted To FLASH
 
farafiro's Avatar
 
Join Date: Dec 2001
Location: Egyptian in UAE
Posts: 12,436
Send a message via MSN to farafiro Send a message via Yahoo to farafiro
Default

http://www.actionscript.org/forums/s...threadid=14792
__________________
‚€* GOD Is Near ‚€*
Questions Don't PM for Questions . Thanks
An eye for an eye, make the whole world blind
_____________________________________________GHANDI
farafiro is offline   Reply With Quote
Old 10-01-2002, 07:32 AM   #3
gwd
:: :: :: ::
 
gwd's Avatar
 
Join Date: Feb 2002
Location: The Netherlands
Posts: 138
Default

I've got the solution!

Thanks anyway!
gwd is offline   Reply With Quote
Old 10-01-2002, 07:40 AM   #4
farafiro
Addicted To FLASH
 
farafiro's Avatar
 
Join Date: Dec 2001
Location: Egyptian in UAE
Posts: 12,436
Send a message via MSN to farafiro Send a message via Yahoo to farafiro
Default

so, would u mind sharing the solution with us if it's different
__________________
‚€* GOD Is Near ‚€*
Questions Don't PM for Questions . Thanks
An eye for an eye, make the whole world blind
_____________________________________________GHANDI
farafiro is offline   Reply With Quote
Old 10-01-2002, 07:54 AM   #5
gwd
:: :: :: ::
 
gwd's Avatar
 
Join Date: Feb 2002
Location: The Netherlands
Posts: 138
Default

It's not different I quess!


You need this:
1. Give the textField a name
2. Selection.setFocus("textFieldsname");

3. onLoad="flash_movie.focus()" (body tag)
4. id=textFieldsname (embed tag)


I've tested with I.E.6 - OS WindowsXP. It's works fine. I've asked people to tested it on the other platforms and browsers. So, I'm verry optimistic about it.

If Internet Explorer and Netscape Explorer do support this javascript, I'm going to use it!
gwd is offline   Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump


All times are GMT. The time now is 03:57 AM.

///
Follow actionscriptorg on Twitter

 


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.