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");
}
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");
}