Hi there

I've used the [Bindabe] meta-tag 100's of times, but for some reason
it seems to have stopped working.

I have a very straight-forward setup with a controller, properties and
a view. I have a bindable reference to the controller in the view,
while the controller has a bindable 'title' property.

Setting breakpoints at various steps of the code I can confirm that
the 'title' property is bound to the label in the view (titleText.text
= "My Title"), yet it is not displayed. I even tried
view.validateNow(); to try & force validation / displaying of the label. 

What could I be doing wrong, is there possibly a bug in the new Flash
Player that isnt updating bound properties correctly? This is the 2nd
time I've come across this in 3 days.

Here is a summary of my code:

View.mxml
---------
[Bindable] public var controller: QController;
<mx:Label id="titleText" text="{controller.title}" fontWeight="bold" />

QController.as
--------------
[Bindable]
        public function get title():String {
                return _title;
        }
        public function set title(value: String):void {
                _title = value;
                _view.validateNow();
        }
                

Reply via email to