Resolution: Won't Fix
Affects Version/s: Adobe Flex SDK Previous
Fix Version/s: None
Component/s: Spark: Image
Environment:Affected OS(s): All OS Platforms
Language Found: English
Found in 184.108.40.20698.
Steps to reproduce:
1. Compile and run attached MXML file.
2. Drag the slider.
Because my maximum is 50 and not 100, the progress bar only fills up 50%, even though value=50 and maximum=50.
ImageLoadingSkin should be a bit more flexible, so I could use this Range+skin as a generic ProgressBar anywhere in my app without reinventing das wheel.
Workaround (if any):
Custom ImageLoadingSkin skin wherein you tweak the percentWidth logic slightly to take value+maximum into account. This simple tweaked worked in my limited testing:
<!-- Progress bar -->
Not sure if I should be casting to int() or not though.