[flexcoders] Generic showPopupWindow function

2008-02-01 Thread markgoldin_2000
I am trying to create a generic showpoppup function: public function showPopupWindow(parent:DisplayObject, WhatToShow:String):void { var helpWindow:TitleWindow = TitleWindow(PopUpManager.createPopUp(parent, WhatToShow, true)); PopUpManager.centerPopUp(helpWindow); } But WhatToShow is a

Re: [flexcoders] Generic showPopupWindow function

2008-02-01 Thread shrikant.patil
hi please refer the link below, u may get useful; http://blog.flexexamples.com/2007/08/20/creating-custom-dialog-boxes-using-the-popupmanager-and-titlewindow-classes/ markgoldin_2000 wrote: I am trying to create a generic showpoppup function: public function