Transparency / Alpha Question

Is there anyway to fade a graphic in from the middle out wards or from one side outwards…kind of like a wave effect?

Hope so…

:moustache

Case

Do you mean like a ripple effect???

I would - to make it easy - make a frame by frame animation…

good luck!

/sput

good question–to do this, i think, requires 2 parts;
1 MC mask
set the MC mask to a motion tween (l to r, or whatever)

  1. alpha transition
//put on the MC to fade in
onClipEvent(load){
myA=0;
this._alpha=myA;
}
onClipEvent(enterFrame){
if(myA<101){  
myA+=10;  //whatever you want 
this._alpha=myA;
}

this should fade in the middle while the mask reveals your MC–it’s kind of a kludge–i don’t think there’s any way to do it directly–you’ll have to mess w. the mask MC and how it reveals the target MC…
-good luck,
-mojo

aaa…that probably how you wanted it to be solved…

mojoNYC…your fast man!

/sput

I don’t understand the question :-\ Any example?

Thanks so far but what is a MC mask?

I am very new…

An example would be:

something is set to 0% alpha and as it turns to 100% alpha the middle is the first to come in with the rest of the picture coming in slowly.

Thanks again

Case

sorry, there’s no easy way to do what you want, but, hey, you might as well dive in…

to make a regular mask: create a graphic the size of the area you want to reveal, right click on the mask layer and change the properties to 'mask. on the layer underneath, place your content, right click the layer and select ‘masked’ (it should be indented in the layers palette to show that it is masked.

in mx, you now have the option to make a movie clip a mask, meaning, you can have an animated mask. inside this MC would be where you would create an animation that would ‘reveal’ the mc being masked.

masks aren’t the easiest thing to work with, so be prepared to do some digging and trial and error…
-mojo

thanks mojo…

I will dive in and see what I get!

Case