I think you could have also used outerDocument.launchDetailsWindow
(), as per 
http://livedocs.macromedia.com/flex/2/langref/mxml/component.html


--- In flexcoders@yahoogroups.com, Rick Root <[EMAIL PROTECTED]> wrote:
>
> Douglas Knudsen wrote:
> > 
> > 
> > extract the URLRequest() call to a AS method.  make sure your 
mx:script 
> > block has the CDATA schtuffs.
> 
> This is what I had done, as mentioned here:
> 
> >     I originally had a function defined in the same file that 
did that
> >     and I
> >     called like like this:
> > 
> >     <mx:LinkButton label="{data.ENTITYID}"
> >     click="launchDetailsWindow(this.label);"/>
> > 
> >     But it kept telling me that launchDetailsWindow was 
a "possibly
> >     undefined function", leading me to believe that I don't 
understand
> >     scoping in itemrenders :)
> 
> I had also tried 
> "Application.application.launchDetailsWindow(this.label);" which 
also 
> didn't work.
> 
> so I just added "mx.core." to the front of it and it's good now.
> 
> Rick
>







--
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/
 



Reply via email to