Skip navigation
Currently Being Moderated

Problem with hslider expression evaluation

Jul 26, 2010 5:44 AM

Hi all,

 

I have the following problem. I am trying to set the values of a HSlider with two thumbs from an expression.

 

<mx:HSlider id="size" x="0" y="144" width="228" liveDragging="true" thumbCount="2" snapInterval="100" minimum="10" maximum="{maxArea}" values="[{minArea}, {maxArea}]"/>

 

I calculate minArea and maxArea from an expression which is later distributed to the hslider. However it does not work. If I alert the values property of the hslider it comes back Nan, Nan. If I bind the value parameter to one of the maxArea or mimArea it eorks like a charm.

 

So, in short, am I doing the binding properly or the array does not support expressions, or is it something third?

 

Thanks in advance,

 

Best regards,

vasko

 
Replies

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points