1 Reply Latest reply on Jul 11, 2007 7:49 PM by ntsiii

    Public function not found

    Handycam Level 1
      I have an app with some of the content broken up into separate components. Some components have Script blocks in them with public functions.

      In the main app, I try to call one of these functions, but Flex complains the function is undefined, so it's obviously not finding them.

      For example, I have step 2 of my multi-step app in a component "step2.mxml", referenced in the main app. This file contains a public function, "step2handler". In the main app, there's a button with a click event: click="step2handler()".

      The app does not compile, that it does not find this function.

      What am I missing here? Thanks.