Flash Transition
- Started
- Last post
- 8 Responses
- steadyvibe
Does anyone know of any tutorials about how to make the style of transition.
Go to http://www.imaginaryforces.com/i…
and click on projects, and click between each section.. It is almost like a flashbulb is going off.
- abizzyman0
it looks as if the image has all the rgb all the way up at it's initial load.
make sure the image is an MC...
... then click on it - and choose 'advanced settings' in the properties menu...
on the first keyframe - bump the rgb all the way up so it's white...
... on the last keyframe - select 'none'.
it's a pretty high frame rate too.
- talltyler0
That is just a photoshop inverse or something. and then in flash it just fade between. YOu cant do image filters in flash like that. They are just different images.
- steadyvibe0
abizzyman: that worked.. i need to do it between two MC's.. but i have to figure it out with Actionscript now. does anyone know how to do that.
- 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.
- prajna0
You can do transitions like that with actionscript and the color object. Here is an example (in principle)
- steadyvibe0
How can i do that as a transition between different frames and mc's?
- abizzyman0
set it up so the MC in question is on a specific frame - and that frame also calls the function that runs the transition..
... it all in how you use the timeline.
- caseyc0
Here's an implementation I did way back, sets "blowout" as a mc property so you can use it easy with one of the many tween engines/methods out there.
// Usage:
// my_mc.blowout = 50;var p = MovieClip.prototype;
// Blowout property
// Getter
p.getblowout = function() {
var c = this.$color.getTransform();
return c.rb;
}
// Setter
p.setblowout = function(v) {
v = Math.floor(v);
if (v > 100) v = 100;
if (v < 0) v = 0;
if(this.$color == undefined) this.$color = new Color(this);
v /= 100;
// brightness
v *= 255;
this.$color.setTransform({rb:v,g...
}
// Add as a property
p.addProperty(
"blowout",
p.getblowout,
p.setblowout
);