This is a question for the Flexcoders list on Yahoo - you can get to it from Google.
Jason Merrill Bank of America Learning & Organization Effectiveness - Technology Solutions >>-----Original Message----- >>From: [EMAIL PROTECTED] [mailto:flashcoders- >>[EMAIL PROTECTED] On Behalf Of Jon Kong >>Sent: Tuesday, August 15, 2006 10:47 AM >>To: [email protected] >>Subject: [Flashcoders] Flex 2 - what is the equivalent of _parent for flex 2 >>(application scope question) >> >>I'm having problems trying to call a refresh data grid function from outside >>the parent page. For example i have a main mxml called >>FlexGradeBook.mxmlthat has the datagrid and everything set up. Then i >>have another mxml >>called DeleteRenderer.mxml that is used for an item renderer button in a >>column of the datagrid (datagrid that's in FlexGradeBook.mxml). When i >>click the button on the datagrid, it calls a mouse event function in the >>DeleteRenderer.mxml and after it does what it needs to do, i want to call >>the refresh datagrid function that is in the FlexGradeBook.mxml page but >>DeleteRenderer.mxml can not access anything in the main page...thus the main >>page is out of scope within the DeleteRenderer.mxml. So the deletion of the >>row in the datagrid works but the datagrid does not refresh since i can't >>call that function b/c it is out of scope. Any help will be appreciated. >>Thanks >> >>Jon >>_______________________________________________ >>[email protected] >>To change your subscription options or search the archive: >>http://chattyfig.figleaf.com/mailman/listinfo/flashcoders >> >>Brought to you by Fig Leaf Software >>Premier Authorized Adobe Consulting and Training >>http://www.figleaf.com >>http://training.figleaf.com _______________________________________________ [email protected] To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com

