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
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
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
@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
4 matches
Mail list logo