Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how can I fade in a graphic?

Status
Not open for further replies.

meaje

ISP
Jun 27, 2003
4
US
I know this sounds silly but I want to fade in (alpha 1 -> 100) a graphic image. is this possible as I have seen nothing about it other that creating a key frame for every time space you want to fade your graphic in in increments with the movie being the piece that is alpha'd in
 
Just make the image into a symbol (graphic). In frame 1 make alpha 0%. Go the the last frame where you want to end your movie. Place keyframe. Change the alph to 100%. And then use motion twine.
 
or do it with actionscript on one frame.

make the symbol a movie clip and give it an instance name (clip, say)

then to main timeline add

clip._alpha = 0;
fadeIn = setInterval(fade,200);
function fade(){
clip._alpha +=3;
if(clip._alpha >=99){
clearInterval(fadeIn)
}
}
to control the speed of the fade alter either the number in setinterval or the alpha +=3
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top