Now it's time to write the actionscript, to give the website some functionality. In this part we will write the Actionscript that give the buttons the basic functionality. In the next part
Step 44.
Line 1 - First the content Mc needs to be told to go to the label of 1st page of the site - "home"
Step 45.
Line 2 - 4 -
An onPress function is created to tell the content MC to go to the "home" label, when the "home_button" is pressed.
Step 46.
Line 5 - 16 - The rest of the buttons are given onPress functions telling the content MC to go to their corresponding labels.