If you set the properties in AS, you won't get warnings.
Not sure if the Binding will still work though. You might have to set that in AS as well.
Not sure what you mean?
I am setting the [Bindable] var in AS in the main application.
I want to take advantage of the binding so that I don't have to explicitly assign the property every time inside every component that references it.
Thanks, but I'd prefer to use binding. Since binding actually works, I guess this is more of a bug in Flash Builder. A false warning.
I was just hoping I could do something to make this warning go away, without having to turn off all warnings.
It would be cool if we could right click on the warning and select ignore.
Are you sure binding works? Usually FB is right.
You can hide warnings from Project - Properties - Flex Compiler - Enable warnings checkbox.
But try this before:
[Bindable] public var roEndpoint:String;
[Bindable] public var roSource:String;
//anywhere in the app
[Bindable] public var roEndpoint:String=FlexGlobals.topLevelApplication.roEndpoint;
[Bindable] public var roSource:String=FlexGlobals.topLevelApplication.roSource;