I'm making a UI interface and I'm adding a colour tween to my button class. I'm using a Stamp as the graphic, but I hit a problem.
Inorder to change the Stamps colour I need to recreate the bitmapdata, which is not the more effective way of doing it. e.g.
private function updateColourTween():void
graph.drawRoundRect(borderWidth, borderWidth, width, height, roundness);
if (filters != null)
sprite.filters = filters;
bd = new BitmapData(width + (borderWidth * 2), height + (borderWidth * 2), true, 0);
stamps[_status - 1].source = bd;
Is there a better way of doing this with a Stamp?