What Causes Flash Error #2012 in Flex Builder 3?
Asked By
10 points
N/A
Posted on - 06/20/2012
Maybe you could just give me the most definite answer of the main reason why a flash error occurs? Admittedly, I am just new to Action Script 3 and I have been troubled with some problems. I was able to create a project with a few simple classes using Flex builder 3.
At first it seems to have no problem when class A initiates an object of class B. It is then compiled finely but the problem is an error message: “Argument Error: Error #2012: B class cannot be instantiated” would appear even before it would run. What might be the cause of this?