I have a flash movie with 42 buttons per frame and 42 frames. Each frame is identical to all the others. ( it is an image with sections. Each section is a button)
When clicking the right button in a frame a point is added to the score variable.
If I want to change anything, for example adding a new button, I will have to edit all 42 frames. Not a good solution. So I thought to myself. The coordinates for the positions of the buttons must be stored somewhere. Isn’t it posible to write some code that sets each buttons position and the AS code that is written for each button?