I have upgraded to FB 4.5 and have imported an existing Flex 3 AIR 2 application. I have tried compiling against Flex 3.6 and Flex 4.5 (in Flex 3 compatibility mode) but I get a slew of "
Call to a possibly undefined method " warnings in all of the MXML components which extend existing Flex views (Canvas, UIComponent, etc):
"Call to a possibly undefined method dispatchEvent", "Call to a possibly undefined method drawBorder", "Call to a possibly undefined method createChildren", etc.
Are there some compiler arguments I need to set?
I have the same problem all over my code. Did you get it fixed somehow ?
Sometimes I have even big problem with custom components. Donno why but for some components I cannot see the exposed methods while trying to use code AutoComplete.
class A extends Button
public function foo():void
var aaa:A = new A();
aaa.foo(); // here i get a warning that I may call an undefined method.
@Adobe: any reply on this, is this an know bug ?
Yep, I'm getting the same as well.