all groups > flash actionscript > september 2007 >
You're in the

flash actionscript

group:

Fade out large play button


Fade out large play button markad007
9/21/2007 9:35:17 PM
flash actionscript:
I would like to fade out the large play button within page10 of my project once
the movie starts to play. Can anyone help me? I would be so greatful...

URL http://www.marshallad.com/flippingbook/page10d.swf

p.s. I can never copy any code out of action script and paste it into anything
else, nor can I copy code from the web and paste it into action script? I must
be way clueless on that one.

Action Script code I came up with... ( I know it needs help)


mcLarge_btn.onRelease = function() {
if(ns.pause(false)) {
mcLarge_btn._alpha == (0);
}
}
Re: Fade out large play button kglad
9/21/2007 10:50:58 PM
if you want to fade mcLarge_btn when ns starts to play you can use:



this.onEnterFrame=function(){
if(ns._currentframe!=ns.prevframe){
mcLarge_btn._alpha-=3;
if(mcLarge_btn._alpha<0){
delete this.onEnterFrame;
}
} else {
ns.prevframe=ns._currentframe
}
}
AddThis Social Bookmark Button