0 Replies Latest reply on Aug 30, 2007 7:47 AM by joe28sfl

    Including .as files in a custom component

      Can anyone tell me how to include an actionscript file in a custom component when the .as file resides one level above the component?

      All of my custom components are in the "src/components" directory and the actionscript file I need to include is one level up in the "src" directory. I assume this can be done easily, but I am new to Flex and can't get it working. I have tried ../ , parentDocument, parentApplication, Application.application, and fully referencing the file from C: with no luck.

      The ../ version seems to point to the right place but my Problems panel is showing
      "1068: Unable to open included file: C:\CFusionMX7\wwwroot\c21hp\flex\src\yahooMap2.as"

      Any help would be greatly appreciated.