RE: [flexcoders] TitleWindow show event
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 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 up. Does anyone have advice or examples of events being used with TitleWindow popups? /** * Jeff Beeman **/ Yahoo! Groups Links 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/
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:Scriptfunction 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@yahoogroups.comSubject: RE: [flexcoders] TitleWindow show event I'd use creationComplete of the TitleWindow instead.Tracy-Original Message-From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] OnBehalf Of Jeff BeemanSent: Tuesday, May 17, 2005 2:53 PMTo: flexcoders@yahoogroups.comSubject: [flexcoders] TitleWindow show eventI've got a TitleWindow popup that appears when a button is clicked.When the window appears, I want to set focus on a TextInput componentthat 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 theTitleWindow is popped up. Does anyone have advice or examples of eventsbeing used with TitleWindow popups?/*** Jeff Beeman**/Yahoo! Groups Links 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 the Yahoo! Terms of Service.
RE: [flexcoders] TitleWindow show event
That was far too easy /** * Jeff Beeman **/ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Matt Horn Sent: Tuesday, May 17, 2005 12:35 PM To: flexcoders@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.setFocus(); } /mx:Script mx:TextInput id=form1 text=Your Name / /mx:TitleWindow From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tracy Spratt Sent: Tuesday, May 17, 2005 3:48 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] TitleWindow show event 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 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 up. Does anyone have advice or examples of events being used with TitleWindow popups? /** * Jeff Beeman **/ Yahoo! Groups Links 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 the Yahoo! Terms of Service.