• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 28. The Basics of ActionScript > Basic ActionScript Syntax

Basic ActionScript Syntax

ActionScript uses a number of OOP concepts. These core concepts give a developer a whole range of flexibility in how ActionScript is created. The core concepts of ActionScript are listed in Table 28.1.

Table 28.1. ActionScript Core Concepts
CONCEPTDESCRIPTION
ClassesDefine objects and their properties and functionality. Some classes do not actually create objects.
ObjectsInstances of classes. Objects inherit the functionality described in a class.
MethodsFunctions attached to objects and classes. They determine what objects do.
ArgumentsModify how methods execute.
PropertiesValues that define an object's characteristics.
Dot NotationPoints to objects and calls methods or accesses properties.
FunctionsPieces of reusable script that execute repetitive tasks.
VariablesHold values that can change or be changed with ActionScript.
EventsBroadcast when something happens in the application. Events can be either user- or system-driven.
Event HandlersMethods or functions that execute when an event occurs.
CommentsIgnored by ActionScript. Comments are added by the programmer to provide information about the program to a person reading the script. Comments can also be used for debugging.



PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint