Actionscript help!
Actionscript help!
Out of context: Reply #1
- Started
- Last post
- 3 Responses
- murmur0
Hey Bureau,
Your code you are using the equals sign as an assignment operator. Currently it is setting the variable to equal "out". In flash if you want to check if two variables is the same as the other use == that is a comparison operator.. your code should look like this.
if (rollyout == "out") {
play();
}
else {
stop();
}Also depending on how you have your actions set up you might need to make the rollout variable a _global.
B