Well that scenario I gave you will work.
Did you put them in the public namespace of your PopUpForm class?
IE
public class PopUpForm extends TitleWindow
{
public var myProperty:String;
....
If you have the above signature, it will work. The only thing I saw you do 'wrong' was not type the ref right. You had Object and it should be PopUpForm.
BTW,
var myProperty:String is not public, it's internal.
Peace, Mike
On 6/13/06, jpwarmer <[EMAIL PROTECTED]> wrote:
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.
>
--
What goes up, does come down. __._,_.___
--
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
Web site design development Computer software development Software design and development Macromedia flex Software development best practice
YAHOO! GROUPS LINKS
- Visit your group "flexcoders" on the web.
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
__,_._,___
- [flexcoders] Re: Popup parameters un flex 2 jpwarmer
- Re: [flexcoders] Re: Popup parameters un flex 2 Michael Schmalle
Reply via email to

