I have just completed my first Flash 8 movie, named chameleon, which is a simple loop tween. I have made an invisible button the size of the image area so a user can click the image to stop it, and toggle click re-start to continue.
A generous As Guru gave me this script which works fine:
click_btn.onRelease=function(){
if(!this.toggle){
chameleon.stop();
} else {
chameleon.play();
}
this.toggle=!this.toggle;
}
Now I want to have the stopped movie image slowly fade to -alpha zero over the span of 10 seconds, then instantly reappear in full colour when click started (100%-alpha).
I have scoured my Flash 8 Savvy book but am finding the learning curve too steep. Can anyone help me with the code to modify this AS to include the 10 seconds fade and re-start please.