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 Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
SPONSORED LINKS
YAHOO! GROUPS LINKS
|