Cast the Title Window to the class of your component, for instance, from 
something I'm working on:
win 
=ConfirmScreen(PopUpManager.createPopUp(this,views.dataEntry.ConfirmScreen, 
true));
win.prod = prod;
win.title = title;

At 07:45 PM 12/2/2005, you wrote:
>Hello again,
>
>Trying to get a couple of PopUp Windows done in Flex 2.0 (Alpha) I wonder
>
>- It seems as if the deletePopUp() method has been replaced by removePopUp().
>- createPopUp() no longer accepts an initObj reference. It expects 3 
>parameters (parent, MXML Component class name and a Boolean).
>
>While this.deletePopUp() works fine how can I exchange parameters with a 
>PopUp Window without the initObj? Creating public properties inside the 
>TitleWindow MXML Component *did not* work.
>Here is the current code I use to open the PopUp Window.
>
>pop = TitleWindow(PopUpManager.createPopUp(this, PopupDialog));
>
>
>
>PopupDialog.mxml starts with:
>
>
>       <mx:Script>
>             <![CDATA[
>                   import mx.containers.TitleWindow;
>                   import mx.managers.PopUpManager;
>
>                   public var welcome:String = "";
>
>                   private function onClose(_e:Event):Void
>                   {
>                         PopUpManager.removePopUp(this);
>                   }
>             ]]>
>
>       </mx:Script>
>
>
>
>However trying to access pop.welcome from the parent does not work. Not 
>can I access pop.LabelWelcome where "LabelWelcome" is the id of a Label 
>Control in PopupDialog.mxml.
>
>
>
>I need directions! J
>
>
>
>Ralf Rottmann
>
>
>
>
>--
>Flexcoders Mailing List
>FAQ: 
><http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt>http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
>Search Archives: 
><http://www.mail-archive.com/flexcoders%40yahoogroups.com>http://www.mail-archive.com/flexcoders%40yahoogroups.com
> 
>
>
>
>
>SPONSORED LINKS
><http://groups.yahoo.com/gads?t=ms&k=Web+site+design+development&w1=Web+site+design+development&w2=Computer+software+development&w3=Software+design+and+development&w4=Macromedia+flex&w5=Software+development+best+practice&c=5&s=166&.sig=L-4QTvxB_quFDtMyhrQaHQ>Web
> 
>site design development 
><http://groups.yahoo.com/gads?t=ms&k=Computer+software+development&w1=Web+site+design+development&w2=Computer+software+development&w3=Software+design+and+development&w4=Macromedia+flex&w5=Software+development+best+practice&c=5&s=166&.sig=lvQjSRfQDfWudJSe1lLjHw>Computer
> 
>software development 
><http://groups.yahoo.com/gads?t=ms&k=Software+design+and+development&w1=Web+site+design+development&w2=Computer+software+development&w3=Software+design+and+development&w4=Macromedia+flex&w5=Software+development+best+practice&c=5&s=166&.sig=1pMBCdo3DsJbuU9AEmO1oQ>Software
> 
>design and development
><http://groups.yahoo.com/gads?t=ms&k=Macromedia+flex&w1=Web+site+design+development&w2=Computer+software+development&w3=Software+design+and+development&w4=Macromedia+flex&w5=Software+development+best+practice&c=5&s=166&.sig=OO6nPIrz7_EpZI36cYzBjw>Macromedia
> 
>flex 
><http://groups.yahoo.com/gads?t=ms&k=Software+development+best+practice&w1=Web+site+design+development&w2=Computer+software+development&w3=Software+design+and+development&w4=Macromedia+flex&w5=Software+development+best+practice&c=5&s=166&.sig=f89quyyulIDsnABLD6IXIw>Software
> 
>development best practice
>
>
>----------
>YAHOO! GROUPS LINKS
>
>    *  Visit your group 
> "<http://groups.yahoo.com/group/flexcoders>flexcoders" on the web.
>    *
>    *  To unsubscribe from this group, send an email to:
>    * 
> <mailto:[EMAIL PROTECTED]>[EMAIL PROTECTED] 
>
>    *
>    *  Your use of Yahoo! Groups is subject to the 
> <http://docs.yahoo.com/info/terms/>Yahoo! Terms of Service.
>
>
>----------




------------------------ Yahoo! Groups Sponsor --------------------~--> 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/KIlPFB/vlQLAA/TtwFAA/nhFolB/TM
--------------------------------------------------------------------~-> 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
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/
 


Reply via email to