Originally Posted by syncrow
if i understand it right, you want me to create a fake statusbar (texture type) and rotate it (cause frames or textures itself doesn't flash like StatusBar) and calculate the texCoords with the statusbar value
|
I just created a texture on top of the existing status bar texture for you to animate, which is not even close to the overhead of creating a second status bar.
The texture is automatically sized to match the status bar fill because you call :SetAllPoints() on it, you don't need to do anything else with that.
There's no reason to create a scrollframe for this because you're already using SetTexCoord to animate the texture and it's trivial to add the horizontal offset to that to avoid skewing the texture as it shrinks.