You can access main application/function using outerDocument.<function
name>.
like that

<mx:DataGridColumn headerText="" sortable="false" width="20" minWidth="20"
resizable="false" dataField="id" >
      <mx:itemRenderer>
                        <mx:Component>
                            <mx:Button toolTip="Delete"
icon="@Embed('../assets/Delete.jpg')" click="outerDocument.onDelete(event)"
cornerRadius="0" height="35" width="100%"/>
                        </mx:Component>
                    </mx:itemRenderer>
                </mx:DataGridColumn>


Regards.

Nuwan

On Tue, Sep 23, 2008 at 7:03 PM, jeroen <[EMAIL PROTECTED]> wrote:

>
> I have a combobox itemrenderer pulling data from my main app....how do
> pass certain variables back to the main application...
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Flex 
India Community" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to