4 Replies Latest reply on Jan 9, 2009 7:37 AM by Guddie

    Problem with parentApplication in inline component

    Guddie
      I have an inline component defined in the Application MXML, and Script tag referring to an external ActionScript file containing functions, which is located in the same folder as the Application MXML. The inline component contains an Image, with a click event that references a function in the ActionScript file using "parentDocument.functionName". For some reason, I started getting an error saying that the function stored in the AS file can't be found. Code below, and any help would be much appreciated.