Thanks, that did it - I had tried a Java-style cast var ticketViewer:TicketViewer= (TicketViewer)PopUpManager.createPopUp( this,TicketViewer, true);
which didn't work, so I gave up on that avenue :) Cheers. Alex --- In [email protected], "Michael Schmalle" <[EMAIL PROTECTED]> wrote: > > Hi, > > You need to cast > > var ticketViewer:TicketViewer= TicketViewer(PopUpManager.createPopUp( this, > TicketViewer, true)); > ticketViewer.ticketID = 2; > > Peace, Mike > > On 1/11/07, Alex <[EMAIL PROTECTED]> wrote: > > > > Hi there, > > > > I have a TitleWindow component called "TicketViewer" that starts > > with this: > > > > --------------------- > > <mx:TitleWindow xmlns:mx="http://www.adobe.com/2006/mxml" width="684" > > height="556" cornerRadius="15" title="Ticket Contents" > > borderColor="#f4f4ff" showCloseButton="true" alpha="1.0" > > backgroundColor="#ffffff" close="closeTicketViewer()"> > > <mx:Script> > > <
