1 Reply Latest reply on May 30, 2007 10:39 PM by TimmyTears

    MX:Script error

      So I'm doing a simple mx:script with a source attribute to an AS file. I pasted my code from my flex app into this file and everything worked just fine. Then for some reason on a compile I get the following 1013 error on every function and variable:

      The private attribute may be used only on class property definitions.

      am I missing something simple here, why can't I just import this AS file into my mxml file?
        • 1. Re: MX:Script error
          pretty much means you are trying to access a property from within a class that is set to private. You either need to find a method in this class that can edit that property or override or create a new method in the class so that you can. Or change the private to public if you can access that property. Maybe sharing some of the code that is generating the error could help more.