Disappearing Movie clip. HELP

  • voodazz
  • Born
  • Born
  • voodazz
  • Posts: 4

Post 3+ Months Ago

I have a button that when clicked on, an image fades in, when you click on another button the image fades out and is replaced by another which is what I want. However, the problem is that when you click on the same button twice, the image disappears. How do I get the image to stay when the same button is clicked on twice?
Any help in helping solve this problem would be GREATLY appreciated! Thank you!



Here is my code for the button:
on (release)
{
if (number(test) == 3) {
test = 0;
} else {
test = 3;


}


Her is my code for my image movie clip.


if (Number(_root.test) == 3) {
gotoAndPlay("goclip3");
}


if (Number(_root.test) == 3) {
gotoAndPlay("loopframe3");
}

Post Information

  • Total Posts in this topic: 1 post
  • Users browsing this forum: No registered users and 7 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
cron
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.