Flash Game Design  
 
   
 
Tutorials Articles
   
       
 
 
Full Flash Website  
Writing the Actionscript
Step 43.
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.
So now that the buttons have now been given some basic functionality, go to Full Flash Site - 6) Make the buttons Move.
Part: 1 | 2 | 3 | 4 | 5 | 6 | 7
 
   
 
   
 
Site Copyright © 2006 - 2009 Nick DS. All rights reserved.