I've just started a Flash 8 class in school and I'm in desperate need of some guidance. It's a very simple idea but I just started using the program this week.
The code for the button symbol called 'left_button' is supposed to read:
on (release) {
_root.left_button._x += 5;
}
The code for the button symbol called 'right_button' is supposed to read:
on (release) {
_root.right_button._x -= 5;
}
When I test movie, and click-release the buttons, they are supposed to move left and right but It's not working correctly and I'm not sure why.
I've attached the file so you can see firsthand the lesson.
In the properties inspector right under the object type is a field. <instance Name> you need to put the name of the object in there. ie: for the left button, select the left button on the stage, and in the instance field type: left_button, do the same for the right.