But then how would this execute the binding when the text is updated?
What I would do is use BindingUtils.bindProperty on each TextInput to set up
the bindings in Actionscript.


Best Regards,
~Aaron

On Wed, Sep 24, 2008 at 7:15 PM, Paul Andrews <[EMAIL PROTECTED]> wrote:
>
>
> Yes, write a function:
>
> function allNonBlank():Boolean {
> for (var i:uint=0; i< this.numChildren; i++) {
> if (this.getChildAt(i).text != "") return false;
> }
> return true;
> }
>
> Then
> <mx:Button enabled="{allNonBlank()}" label="submit" />
>
> Haven't tested it - something like that.
>
> Paul
>
> > raf
>
>  
>



-- 
Aaron Miller
Chief Technology Officer
Open Base Interactive, LLC.
[EMAIL PROTECTED]
http://www.openbaseinteractive.com

Reply via email to