P. 1
Learning Flash

Learning Flash

|Views: 33|Likes:
Published by Raja Mustafa

More info:

Published by: Raja Mustafa on Feb 11, 2010
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See more
See less

10/23/2011

pdf

text

original

All languages, whether computer languages or written and spoken “human” languages, follow
specific rules that foster comprehension. These rules are known as the language syntax.

Flash uses dot syntax, which means that the period (.) links parts of a script. Other ActionScript
syntax elements include the following:
•A semicolon (;) in an ActionScript statement, like a period in an ordinary sentence, indicates
the end of a statement.
•Parentheses () group arguments that apply to an ActionScript statement.
•Curly braces {} group related ActionScript statements. You can use nested braces to create a
hierarchy of statements.

Write a function for a button

31

Later in this lesson, you’ll use Flash features that allow you to test your syntax.

You're Reading a Free Preview

Download
scribd
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->