Crystal+Ball

media type="file" key="crystalball.swf" width="360" height="270"

Download a file



Select a crystal ball, make sure (look in the Properties window) that it's a button and attach the following code:

on (release) { //responses = new Array;// //responses.push("Yes");// //responses.push("No");// //responses.push("Ask again later");// //responses.push("It is certain");// //responses.push("Doubtful");// //responses.push("Probably");// //responses.push("The answer is unclear");// //responses.push("Of course not!");// //responses.push("Certainly!");// //responses.push("It looks positive");// //responses.push("It looks negative");//

n = responses.length;

//r = Int(Math.random*n);//

fortune = responses[r];

gotoAndPlay(2); }