0 Replies Latest reply on Feb 29, 2012 1:36 PM by imkevincampbell

    ReferenceError: Error #1065 thrown when accessing embedded asset after re-complile (SDK 4.6)


      I'm embedding an external .png file located in the project's source path:



      public var CloseButtonImage:Class;


      No error is thrown by the SWF after making a change to the class containing this code and then compiling.  However, if I compile again with no change to the class in question, the "Error #1065: Variable ClassName_CloseButtonImage is not defined" error is thrown.


      This behavior only started after switching mxmlc compilers. Previously SDK, and currently


      Is there a compiler argument that can resolve this?