Flash Transition
Flash Transition
Out of context: Reply #4
- Started
- Last post
- 8 Responses
- ok_not_ok0
I think it's a setBrightnessOffset from Robert Penner's color toolkit.
try out this code:
//Prototypes:
Color.prototype.setBrightnessOff... = function(offset) {
var trans = this.getTransform();
with (trans) {
rb = gb=bb=offset;
}
this.setTransform(trans);
};
MovieClip.prototype.setBrightnes... = function(offset) {
(new Color(this)).setBrightnessOffset...
};// myMC the clip to brighten
myMC.onRollOver = function() {
theOff = 0;
this.onEnterFrame = function() {
if (theOff0) {
theOff -= 25;
this.setBrightnessOffset(theOff...
} else {
delete this.onEnterFrame;
}
};
};dump this baby in the first frame..name ur movieClip myMC and see if it works.