setFocus() with onClipEvent ??? 2004-02-19 - By Richard Jones
Back Hi all
Can someone please tell me why I can't get Selection.setFocus() to work on this onClipEvent()
onClipEvent (load) { trace(Selection.getFocus());// traces null Selection.setFocus("_level0.fullNameTx"); trace(Selection.getFocus());// traces _level0fullNameTx }
The trace indicates the text field has focus but no flashing cursor.
I'm trying to get the first input field of a form to focus when the swf is loaded. The onClipEvent is in the second frame. Swf stops in the 3rd frame. I've also tried to setFocus() from the timeline but with no luck.
Thanks
Richard
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------ Supported by Fig Leaf Software -- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------ Lower Prices for Certified Training! Check out new lower prices for Certified Macromedia Training from Fig Leaf Software. Expand your skill set with courses in ColdFusion, Flash, Rich Internet Applications and .NET in the new year. Fig Leaf Software provides the highest caliber instruction at our training centers in Washington D.C., Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location.
Get the details at http://training.figleaf.com/ -- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- -- To unsubscribe, e-mail: flashnewbie-unsubscribe@(protected) For additional commands, e-mail: flashnewbie-help@(protected)
|
|