Hey folks.
The subject pretty much sums it up; I have a bunch of movieclips on the stage, that are already filled with a bitmap pattern in the IDE. Now I need to fill them with another pattern once they are clicked, and I can´t seem to figure out how to do it.
This is the closest yet, but i just get a recangle with the new pattern behind my selected mc. I realize that the rectangle comes from the drawRect method (duh) but I cant seem to find something the will allow me to fill the entire movieclip with the new pattern.
Can someone point me in the right direction? :hat:
in District.as
public function doSelect(){
_selectPattern = new SelectPattern(0,0); //class from my library
this.graphics.beginBitmapFill(_selectPattern);
this.graphics.drawRect(0, 0, width, height);
this.graphics.endFill();
}