I have a TitleWindow set to popup at the startup of my application. I use this window at other points in the program with absolutely no problems. But when it's called on startup using the 'initialize' event on my main canvas, it opens the popup, and it functions fairly normally, but A: does not obtain focus automatically, B: does not capture tab key presses.
The loginWin TitleWindow is set to setFocus() on one of the text input boxes... It highlights it in blue, but when you type, the text doesn't go into it, unless you manually click in teh box. Then if I hit tab, it tabs through the items in my main canvas, vs tabbing through items in the popup. I'm guessing this is somehow related to the window loading before the main components are finished initializing, but I'm not sure how to get around this. I've tried all sorts of tips and tricks, but still can't get it to work. Any suggestions would be appreciated. Code snippits below: Main Canvas: <mx:Canvas id="mainCanvas" width="100%" height="100%" initialize="startUp();"> loginWin definition: var loginWin:Object; startUp() function: function startUp() { loginWin=TitleWindow(PopUpManager.createPopUp(mainCanvas, loginBox , true)); loginWin.mainApp = this; loginWin.centerPopUp(); } -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/