ActionScript 3 Error: 1180: Call to a possibly undefined method CustomClass.
ActionScript 3 Error #1180 Description:
One reason for this this error is because you are using the name of the variable that you are assigning to the Class rather than the Class itself. Adobe also states that this error will only display when “Strict Mode” is turned on.
Flex / Flash Error #1180 Fix:
Make sure that when you instantiate the Object that you are using the Class name and not the variable name.
Bad Code:
var myCustomClass:CustomClass = new myCustomClass();
Good Code:
var myCustomClass:CustomClass = new CustomClass();
Links:
http://www.flashcomguru.com/index.cfm/2007/4/17/Flex-Builder-2-to-write-AS3-code-for-Flash
This should help you resolve Flex / Flash Error #1180
Thanks and as always Happy Flashing
Curtis J. Morley