On 7/10/16, 11:59 PM, "Harbs" <harbs.li...@gmail.com> wrote:
>One simple example is clone() on on both Point and Rectangle. Flash >returns a flash Rectangle, but Flex is expecting a flex Rectangle. >Another one that I ran into in my own code is union() in Rectangle. > >The casting that I did, did not even work. The compiler does not complain >if you change the return type to a subclass, but it looks like I’m >getting runtime errors. Well sure, that's going to be a problem if flexjs rectangle subclasses flash.geom.Rectangle, but what I'm interested in is actual usage of Rectangle in our code base. IOW, where in our code do we pass a Rectangle to Flash or get one back from Flash (other than in org.apache.flex.geom.Rectangle)? -Alex