PDA

View Full Version : link._visible = 0; Problems



Cloakendagger
February 8th, 2005, 12:38 PM
Hey Im having trouble with this button. The first half of the tween doesnt work but the second half does. It only does this when I add the code link._visible = 0;. This is to make the alpha completly disappear.

Any help would be great

pou-pou
February 9th, 2005, 12:10 AM
"It only does this when I add the code link._visible = 0;"

Well, when you start to play your timeline in the first place, that _visible is still 0.

try:

onEnterFrame = function() {
if(this.onIt) {
play();
link._visible = 1;
} else {
stop();
}
}