passing an instance to the parent class as a variable is exactly what i did,
thanks guys!

On Tue, Mar 11, 2008 at 2:26 PM, actionscript_czar <[EMAIL PROTECTED]>
wrote:

>   Since it looks like MiniTextEditor is a custom component, you could
> make a public variable, or at least a public setter, inside your
> component so that a reference is available in your component. Then
> you would instantiate it like this:
>
> textPopUp = new MiniTextEditor();
> textPopUp.creator = this;
> PopUpManager.addPopUp( textPopUp, this );
>
> Then the variable should be available to you.
>
> --- In flexcoders@yahoogroups.com <flexcoders%40yahoogroups.com>, "Derrick
>
> Anderson" <[EMAIL PROTECTED]> wrote:
> >
> > hi,
> >
> > i create a popup like this from file A:
> >
> > textPopUp =
> > MiniTextEditor(
> > PopUpManager.createPopUp(this, MiniTextEditor));
> >
> > in this case 'this' is file B:
> >
> > from my popup I am trying to call a function in file A, and since
> the parent
> > i pass to the popup is not actually the 'parent' - i can't figure
> out how to
> > reference a function in the actual parent. any ideas?
> >
> > d.
> >
>
>  
>

Reply via email to