Hi,
Need help with this:
I want the slide value in an Variable I can use other place in program. The slide have the value 0-100.
Code:
protected function hslide_changeHandler(event:Event):void
{
I need the value in a variable here...
}
Thanks for any help!
If you want the current value selected by the user with the hslide you
// declare your variable as a 'Number' because HSlider.value is a Number...
public var newValue:Number;
// inside your event handler, assign the current Value of your HSlider to the variable...
newValue = HSlider(event.target).value;
Your problem may have been the variable type all along.
North America
Europe, Middle East and Africa
Asia Pacific