- Open Flash by clicking on the Flash Icon on the dock:

- Create a new document. Make sure it is Actionscript 2

- Save (+SHIFT+S) document in work folder:

- Create these basic layers, you might need more:
- background
- crystal ball
- fortune
- crystal ball effects
- table
- shadow
- instructions
- actions
- background
- Make a static text field for the instructions
- Make a crystal ball graphic symbol
- Make a table graphic symbol
- Make a shadow graphic symbol
- Make a dynamic text field and name the instance fortune
- Here's the code for the button:
stop(); _root.btn.onPress=function(){ _root.fortune="" } _root.btn.onRelease=function(){ responses=new Array; //for each response write the code this way responses.push("Yes"); //you want to find the length of the array responses and assign it to n n=responses._______; //you want to get a random number between 1 and n and assign it to r ___=Int(Math.random()*n); //you want to assign the r element of the array responses to fortune _root.__________.text=responses[r]; //you want to play your animation _root.gotoAndPlay(2); } - Start your "magic" animation in frame 2