Hello i'm migration flex 3 to flex 4 and i have 1 warning and i try to fix it but nothing work.
The warning is: data binding will not be able to detect assignments to toplevelapplication
In flex 3 i had application.Application and now i have FlexGlobals.topLevelApplication
I have 1400 FlexGlobals.topLevelApplication and +- 150 .AS files.
I tried to use Application(FlexGlobals.topLevelApplication), mainAPP(FlexGlobals.topLevelApplication), and nothing works, The only think that clean the warning is if i add [Bindable] public var myApplication:Object = FlexGlobals.topLevelApplication; to all the .AS files but when i run the project and try to log in the application i have Action Script Errors
Error #1009: Cannot access a property or method of a null object reference.