HSlider labels won't update


i want change labels of hslider can't them update. i've bound labels array , loads without problem, won't update when values of array change. i've done same maximum attribute , updates fine. have suggestions? here bit of code:

[bindable]
private var maxtemplates:uint = 100;
[bindable]
private var hsliderarray:array = new array();

private function sethsliderarray():void{
hsliderarray[0] = "1";
hsliderarray[1] = string(maxtemplates);
}//end sethsliderarray function

<mx:hslider id="numresults" minimum="1" maximum="{maxtemplates}" labels="{hsliderarray}" />

thanks in advance, k. gibbons



More discussions in Flex (Read Only)


adobe

Comments

Popular posts from this blog

Joomla site hacked, cant see front and - Joomla! Forum - community, help and support

Christian Home School Programs - Joomla! Forum - community, help and support

Trouble with PF_OutFlag_I_USE_AUDIO and PF_CHECKOUT_LAYER_AUDIO