I was wondering - is there a recommended way to access a method in one  
mx:component tag from another mx:component tag?

The below code snips are itemrenderers in a datagrid. My hope is to  
access a method in the Downloader component from the downLoadBtn  
component.

is this possible?

d




<mx:Component id="mydownloader">
                <view:Downloader fileToGet="{data.path}" 
currentDocId="{data.id}"  
currentUserId="{appModel.currUserId}" />
</mx:Component>

<mx:Component id="dlBtn">
        <view:downLoadBtn click="outerDocument.thedownloader.goToDownload();"/>
</mx:Component>

Reply via email to