Script

Output:
Hi there Flash!
Hi there, Cheryl, nice to meet you.
Yay
200


Script:
var message = "Hi there Flash!";
//declare a new variable named message, and assign it the value "Hi there Flash!
/*-remember the phrase 'Hi there Flash!'
  -label the information message 
  -whenever I ask you for message, give me back the text 'Hi there Flash!*/
var firstName = "Cheryl"; 
trace(message);
trace("Hi there, " + firstName + ", nice to meet you.");
//the trace() command requires the text to display
if(firstName=="Cheryl"){trace("Yay");}
else if(firstName=="Ranen"){trace("
Hi Ranen");}
else{trace("Ha Ha");}

//the equality operator, ==, tests if two data values are equal
function displayArea (width, height) { trace(width * height); }
displayArea(10, 20);
// Displays the area of a rectangle in Flash's Output window 

docs.google.com/document