On 22-Jan-09, at 9:00 AM, Amy wrote:

> --- In [email protected], dnk <d.k.emailli...@...> wrote:
> >
> > Is there something the opposite of outterDocument to access vars and
> > methods inside of a mx:component tag?
> >
> > or is it as simple as (no where near my flex machine):
> >
> > <mx:Component id="something">
> >
> > <custom:mycomp />
> >
> > </mx:Component>
> >
> >
> > <script>
> >
> > something.mymethod;
>
> If you're actually _in_ the component, then you can use this.
>
> Otherwise, check out
> http://www.adobe.com/devnet/flex/articles/loose_coupling.html
> http://www.adobe.com/devnet/flex/articles/graduating_pt1.html
>


No the script is called in the mxml file that has the below code:

<mx:Component id="something">

<custom:mycomp />

</mx:Component>

This is why i had referenced the opposite of outerDocument - because  
it would accomplish the opposite of what I am trying to do (accessing  
methods, etc inside of a component tag).

d

.


Reply via email to