4 Replies Latest reply on Apr 18, 2008 11:55 PM by miaomm

    How can a component call the correct target

    miaomm
      Hello there, I have an application mainly to show datagrid data. one of the button can open a swfloader to bring in a data input component. After the input simply click the save button and it will be closed. I make the save button to call a Application.application.clean() to close the swfloader. it worked fine.
      Now I need to move this app as a sub app to a main app. after opening the data input, I can no longer uss the save button to close the swfloader. Obviously the Application.application is point to the main app now. How can I call the sub app public function in this manner. ( I tried with parentApplication in the data input swf and find out the parentApplication is null so I got error message saying can not refer to property or method of null object)
      Thanks