This should work pretty much just the way your example works, so maybe one of your parameters isn't bindable?The following example works, and also illustrates another less elegant way of accomplishing the same thing?xml version="1.0" encoding="utf-8"?mx:Application
Hi.. I was asking about how to do it through ActionScript...
I have done it and know it works in mxml. I'm talking about adding a
property binding using just actionscript, and some incantation of a
mx.binding.utils.ChangeWatcher or mx.binding.utils.BindingUtils
Thunder
--- In
Give this a try:?xml version=1.0 encoding=utf-8?mx:Application xmlns:mx=
http://www.adobe.com/2006/mxml layout=absolute creationComplete=init()
mx:Script ![CDATA[ import mx.binding.utils.BindingUtils; [Bindable] public var foo:String = hi;
public function init():void {
3 matches
Mail list logo