0 Replies Latest reply on Dec 16, 2008 7:35 AM by rtalton

    How to bind accordion header enabled property to a Boolean value using Actionscript

    rtalton Level 4
      Good morning!
      I'm using an Accordion container (an MXML component I made) with five panels which contain Forms and Form Items.
      I'm attempting to control access to the Accordion container's panels by disabling the individual headers unless a user completes data input in a sequential fashion, one panel after another.

      I tried this:
      BindingUtils.bindProperty(this.getHeaderAt(1),"enabled",myBooleanVar,"???");
      ...where "???" should be the name of the true/false property of the Boolean variable-but I don't know what the property name is.
      I'm trying to do this in ActionScript, but I have the same issue when using the <mx:Binding> tag. This is my first time trying this, so maybe there is a simpler method. Any guidance would be very appreciated, thanks!