Hello… I need some explaination here…
Recently I found an actionscript containing variable declaration like below:
if (eval(../boden:wings) == 6) {
gotoandplay(5);
}
what is actually >> [COLOR=red]…/boden:wings[/COLOR] << ?
Is it a type of variable or something?
and I’ve try to declare the variable with my own value but not recognise (“syntax error”)
first frame i put this:
var myVar:golden = 6;
then next frame i put this:
if (myVar:golden == 6){
stop();
}
I hope that the condition is true but the movie not stop at frame 5…
then I’ve try to change the value:
if (myVar:golden == 7){
stop();
}
The result still same…
Help me please…!! Detail explaination is much better…:thumb2:
Info:: I’m using flash 8 professional