This content has been marked as final.
Show 7 replies
-
-
2. Re: SetFocus on TextInput
AScracker Nov 4, 2007 8:22 PM (in response to kglad)hi'
It's in As2.......
~~
Sk -
3. Re: SetFocus on TextInput
kglad Nov 4, 2007 9:33 PM (in response to AScracker)your flash application will need to have focus before you can change focus to your textfield. you may be able to do that with javascript. here's the actionscript that when attached to your main timeline will change focus from you swf to your textfield tf:
-
4. Re: SetFocus on TextInput
AScracker Nov 4, 2007 9:55 PM (in response to kglad)Hi
i am placing code on the main time line but it's not running fine...
i kept the textinput component in the firstframe and code also in the firstframe..
but the cursor is not blinking in the textinput component.
this.onSetFocus=function(){
Selection.setFocus(tf);
}
or else i need to do any change
can you please tell me...
~~SK
-
5. Re: SetFocus on TextInput
kglad Nov 4, 2007 10:09 PM (in response to AScracker)test online and click on your swf. -
6. Re: SetFocus on TextInput
AScracker Nov 4, 2007 10:40 PM (in response to kglad)Hi Kglad,
i did the same thing at that time also the cursor is not blinking....
after running my swf file i clicked on that swf file... then also not blinking..
can you explain me once again
~~Sk -
7. Re: SetFocus on TextInput
kglad Nov 5, 2007 6:27 AM (in response to AScracker)the code below should be on the first frame of your _level0 main timeline:


