2 Replies Latest reply on Apr 9, 2012 8:14 AM by Rothrock

    ReferenceError: Error #1037: Cannot assign to a method every on Array.

    Rothrock Level 5

      This code causes a runtime Error#1037 when publishing in AS3, but not in AS2.


      var myArray:Array=[];



      I'm guessing that is because every is an already defined method in the Array class.


      Should I be using the dictionary class instead? Any good tips on that? Anything I should really know?