Hi Dave,

Your advise certainly helped. Thanks.

What I did was the TitleWindow was used to display the data which is retrieved 
from the parent window.

Although I find it odd that the TitleWindow when opened as a popup window does 
not seem to connect to the web service, whereas the parent window does not have 
any problem retrieving the data from the web service.

Thanks again.

Regards

Angelo




________________________________
From: Dave Cates <[email protected]>
To: [email protected]
Sent: Wednesday, 30 September, 2009 1:15:41
Subject: Re: [flexcoders] TitleWindow Popup Question(s)

  
Hi,

I’d reference a public set function within the title window itself. Works good 
for us since we use an MVC model and so don’t really want too much code within 
the TitleWindow view itself.

Regarding the title itself. I do this by assigning a Bindable variable to the 
title in the main header of the title window.

Then I can update the title by simply assigning values to that variable 
whenever I like.

Hope that helps.

Dave.


________________________________
From: Angelo Anolin <angelo_anolin@ yahoo.com>
Reply-To: <flexcod...@yahoogro ups.com>
Date: Tue, 29 Sep 2009 00:55:35 -0700 (PDT)
To: <flexcod...@yahoogro ups.com>
Subject: [flexcoders] TitleWindow Popup Question(s)

 
 
 

Hi FlexCoders,
 
Just a little TitleWindow popup question.
 
I want a function to be executed everytime my popup title window component is 
displayed.  How do I achieve this?
 
I tried in the title window using the initialize property like:
<mx:TitleWindow xmlns:mx="http://www.adobe. com/2006/ mxml" 
initialize="RunEveryPop( );" >
 
but my function RunEveryPop only executes the first time the popup is 
displayed. Subsequent popups would not trigger the said function.
 
I know I can declare a public function in the title window and simply call this 
function from the calling main application, but I am wondering if this is a 
good or recommended way in achieving this?
 
Also, another question...
 
How do I reference the title of the TitleWindow from within itself? Like for 
example:
 
private function getTitleWindowTitle () :void
{
 Alert.show(Titlewin dow.Title) ;
 // I Should be able to display the Title of the title window in an alert 
message.
}
 
Advice and inputs would be highly appreciated.
 
Thanks.,

 
  
    


 
   


      

Reply via email to