Hi all, this is possible a newbie question, but here I go...

I have a main application that includes a component that have a
datagrid inside it. I use an image as a cellrenderer and I want to
change the state in my main application. I've tried
mx.core.Application.application.currenState, also parentApplication...

Cell renderer code:

<mx:itemRenderer>
  <mx:Component id="comp">
       <mx:Image source="imagenes/pen.png"
click="parentApplication.parentApplication.currentState='estado2'"/>
  </mx:Component>
</mx:itemRenderer>



I'm stuck with this. If anyone can help...

Lots of thanks in advanced.

theklue






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