Expand my Community achievements bar.

Slider

Avatar

Level 2
I have a HSlider with 2 thumbs like:



<mw:HSlider id="slider" thumbCount="2"
change="{qRac2.Rac2(slider.values[0]};slider.values[1]}"/>



Im thinking when the slider changes it should fire off this
remoteObject:



<mx:RemoteObject id="qRac2" ... />

<mx:method name="Rac2"
result="handleQueryResult2(event)"/>

<mx:arguments>

<mystart>{slider.values[0]}</mystart>

<myend>{slider.values[1]}</myend>

</mx:arguments>

</mx:method>

</mx:RemoteObject>



It does not seem to pass the mystart or myend to the CFC. I
also have a WARNING when I clean the mxml file before I export it.
The warning says:

Data binding will not be able to detect changes when using
square bracket operator.

Im not to sure what that means. But I am thinking it means
that the slider.values[0] and slider.values[1] are not getting to
the RemoteObject. Any help would be great I have been messing with
this for a week. What should the variables look like in the
arguments?



Thanks

George
1 Reply

Avatar

Level 1
I get this also, I am not sure, I am referencing an array in
a form, i am trying to do some binding, and while it visually
appears to work in my app, im not sure if i should ignore this or
not.