So i've made a draggable object that looks like a top down view of a tire, it has a blitmasked artwork mc inside, this mc wraps so that when you drag it gives the illusion of the tire rolling.
That all works fine but i want the user to be able to switch between a few styles of tires by changing to a new frame of the artwork mc like so:
artworkMc.x = 0;
blitMask = new BlitMask(artworkMc,-artworkMc.width/2,-artworkMc.height/2,artworkMc.width,artworkMc.height,false,false,0,true);
some of the tires are different sizes so i was hoping stating 'artworkMc.width' would get that information, but the mask is staying the original size. Also is seems that the artwork of the original tire frame is still in the background behind the new frame. I reckon it's more a problem with my logic than anything else but if anyone can throw me some pointers that'd be great!