Hello, It's me again.
I'm trying to set the curser focus in a text field when a movie clip loads in a webpage.
The following code works great in the authoring environment but, when you view it in a webpage, it does not show the cursor in the text field.
Current Code I'm using:
Code:
_root.focusEnabled = true; Selection.setFocus("username_txt");
Also, I've also had some success only in Windows IE by using the above code in conjunction w/ the following javascript in the webpage:
<body onLoad="window.document.theMovie.focus();">
<object classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000" codebase=" width="900" height="540" name="theMovie">
<param name="movie" value="main_program_v1.swf">
<param name="quality" value="high">
<embed src="main_program_v1.swf" quality="high" pluginspage=" type="application/x-shockwave-flash" width="900" height="540" name="theMovie"></embed>
</object>
Thanks for your time,
Clem C
I'm trying to set the curser focus in a text field when a movie clip loads in a webpage.
The following code works great in the authoring environment but, when you view it in a webpage, it does not show the cursor in the text field.
Current Code I'm using:
Code:
_root.focusEnabled = true; Selection.setFocus("username_txt");
Also, I've also had some success only in Windows IE by using the above code in conjunction w/ the following javascript in the webpage:
<body onLoad="window.document.theMovie.focus();">
<object classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000" codebase=" width="900" height="540" name="theMovie">
<param name="movie" value="main_program_v1.swf">
<param name="quality" value="high">
<embed src="main_program_v1.swf" quality="high" pluginspage=" type="application/x-shockwave-flash" width="900" height="540" name="theMovie"></embed>
</object>
Thanks for your time,
Clem C