Quantcast
Channel: Adobe Community: Message List
Viewing all articles
Browse latest Browse all 77806

Re: If statement not working for some reason

$
0
0

use the trace statement to debug.  eg,

 

 

trace(a,a is String,a==3);

if(a == 3)

{

  a = 0;

  gotoAndPlay(1,"Scene 4");

}

else

{

  gotoAndPlay(1,"Scene 3");

}

 

 

if(clicked2)

{

  gotoAndPlay(1,"Scene 5");

}

else

{

  gotoAndPlay(1,"Scene 3");

}


Viewing all articles
Browse latest Browse all 77806

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>