code that faceless gave me
Jan 15, 2018
#30
I'd recommend tweaking the tops to get rid of that joint that shows up for larger breast sizes. Give the back object the same number of frames as the chest object, and use the gotoAndStop() method to jump to the proper frame. That's how my Mileena costume, for instance, managed breast slider support.
Code:
var clip:MovieClip = (MovieClip)(this.parent).chest.rgbFill;
addEventListener(Event.ENTER_FRAME, followBreastSlider);
function followBreastSlider(e:Event) {
rgbFill.gotoAndStop(clip.currentFrame);
band.gotoAndStop(clip.currentFrame);
}
Of course, that was a vanilla mod, so the code went directly to the Top Back instance. With the loader, you can adapt the underboob slider proxy method instead for slightly better performance than creating a new event listener.