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!

problems fading in a movie clip dynamicly

Status
Not open for further replies.

JohnnyxL

Programmer
Jul 25, 2007
12
US
Hello All,

I have problem spelling too, but that is for a different forum. hehehe

I am trying to fade in a movieclip dynamicly. When a user clicks a different button, I want to fade it out and fade in another movieclip in its place. I would love some some code and pseudo code for an approach on this.

I have this which dosn't really work

for(var i=1; i <= 8 ;i++) {
mymovieclip._visible = i*10;
mymovieclip.pause = i * 1000;
}

Again, thanks for all the help
 
My bad... mymovieclip._alpha =i*10; (sorry)

JohnnyxL
 
try using a loader function and set the animation fade portion in the onload event

Jim
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top