It was public, but I get the following error: Call to a possibly undefined method goToDownload through a reference with static type mx.core:IFactory.
d On 22-Jan-09, at 8:49 AM, Fotis Chatzinikos wrote: > something.mymethod will work for any public methods and vars... > > What do you want to do thought? > > Maybe you need to consider to drive the inside component via > Bindable data and communicate back to any parents via events... > > > On Thu, Jan 22, 2009 at 5:12 PM, dnk <d.k.emailli...@gmail.com> 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; > > Thanks! > > d