I have a instance where I want to vary the pop window that gets created based on a user's selection. Instead of having to hard code in the a seperate instance of:
var popup = mx.managers.PopUpManager.createPopUp( _root, views.OptionX, true, initObj , false ); in a switch statement I would like to just be able to use a variable for the className argument. Ideally I would like to do the following: var winClass = options_cmb.value; var popup = mx.managers.PopUpManager.createPopUp( _root, winClass, true, initObj, false ); I have tried unsuccessfully using a shared libray. Does anyone know if this is even possible, and it so how I would go about it. ------------------------ Yahoo! Groups Sponsor --------------------~--> Fair play? Video games influencing politics. Click and talk back! http://us.click.yahoo.com/T8sf5C/tzNLAA/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/

