Sorry, perhaps id and serviceName are not the best names for my properties (i used just for this mail)...but they are custom properties, and i'm typing the return as PopUpForms, which has this properties that i'm trying to pass .
Thanks, hope it's clear now... --- In [email protected], "Michael Schmalle" <[EMAIL PROTECTED]> wrote: > > Hi, > > Why are you typing the return as Object? > > Object does not have id nor serviceName ;-) > > Can you do; > > var ref:PopUpForms = PopUpForms(PopUpManager.createPopUp(this, > PopUpForms,true)); > ref.id = id; > ref.serviceName = action; > > > Peace, Mike > > On 6/13/06, jpwarmer <[EMAIL PROTECTED]> wrote: > > > > How can i pass parameters to a popup in flex 2?? > > > > This does not work... > > > > var ref:Object = PopUpForms(PopUpManager.createPopUp(this, PopUpForms, > > true)); > > ref.id = id; > > ref.serviceName = action; > > > > > > > > > > -- > What goes up, does come down. > ------------------------ Yahoo! Groups Sponsor --------------------~--> Protect your PC from spy ware with award winning anti spy technology. It's free. http://us.click.yahoo.com/97bhrC/LGxNAA/yQLSAA/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/

