[flexcoders] TitleWindow show event

2005-05-17 Thread Jeff Beeman
I've got a TitleWindow popup that appears when a button is clicked. When the window appears, I want to set focus on a TextInput component that is in the TitleWindow. I assume that the event I'm looking for is show - but it doesn't seem to be broadcasting that event when the TitleWindow is popped

RE: [flexcoders] TitleWindow show event

2005-05-17 Thread Tracy Spratt
I'd use creationComplete of the TitleWindow instead. Tracy -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jeff Beeman Sent: Tuesday, May 17, 2005 2:53 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] TitleWindow show event I've got

RE: [flexcoders] TitleWindow show event

2005-05-17 Thread Matt Horn
tfunction setMyFocus() {form1.setFocus();}/mx:Scriptmx:TextInput id="form1" text="Your Name" / /mx:TitleWindow From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tracy SprattSent: Tuesday, May 17, 2005 3:48 PMTo: flexcoders@yah

RE: [flexcoders] TitleWindow show event

2005-05-17 Thread Jeff Beeman
@yahoogroups.com Subject: RE: [flexcoders] TitleWindow show event Works like a charm: ?xml version=1.0 encoding=utf-8? mx:TitleWindow xmlns:mx=http://www.macromedia.com/2003/mxml closeButton=true width=200 click=this.deletePopUp(); creationComplete=setMyFocus() mx:Script function setMyFocus() { form1