Shared Flashcard Set

Details

Script Programming Exam 3 Rev.
Review for Script programming Exam #3
39
Computer Science
Undergraduate 2
12/04/2007

Additional Computer Science Flashcards

 


 

Cards

Term

// Comments 

Definition
– help make sense of the code; // only apply to one line; appear in a different color so it’s easy to locate
Term

Absolute path 

Definition

- set of directions that work no matter where you are

 

starts with the name of the level into which the document is loaded and continues through the display list until it reaches the target instance

Term

Animated mask

Definition
– Masking reveals portions of a layer or the layers below

-One can create tweened a mask layer that moves, changes shapes, and reveals moving images

Term

Anonymous function 

Definition
– functions that aren’t named; must be assigned to another object
Term

Argument 

Definition

– An argument is a value that you send to a method.  It is needed to complete the method

- always in parentheses () 

Term

Assignment statement 

Definition
– used to store a value in a variable (variable = variable to store)
Term

Code hints 

Definition
– try to show you what a particular ActionScript code should look like
Term

Codec 

Definition
– part of the program used to compress the video during authoring and decompress it during playback

            -a program used to compress the video

Term

Data types 

Definition
– different kinds of information that variables can contain (Number, String, Boolean)
Term

Declaration statement 

Definition
- specify the data type a variable will be storing

            -defining the existence of a variable

Term

Dot syntax 

Definition
- A period between object names and properties (characteristics) and method (behaviors) applied to the object
Term

Dynamic textfield 

Definition
- Use dynamic text fields when you need to display characters that are updated or that change at runtime
Term

Embedded video

Definition
– putting a video into the Flash document

      -becomes part of a SWF file similar to other objects such as sound or graphics

      - has a length restriction, doesn’t truly stream (only streams if on main timeline), entire movie must be downloaded before playing

Term

Event handlers  

Definition
- perform actions in response to an event (onPress, onRelease, etc.)
Term

Events 

Definition
- When the user does something (clicks a button, moves mouse, presses a keyboard)
Term

External movie clips 

Definition
– doesn’t have to be completely downloaded before playing; free from the restriction that embedded video must have the same frame rate as its container Flash Movie; can truly stream
Term

Flash playhead 

Definition
- displays what is on a the Stage at any time, plays back any sound and triggers any actions attached to the Timeline
Term

Frame labels 

Definition
– labels for individual frames that help when using action script
Term

getURL()

Definition
-allow one to communicate with an Internet browser program

- must have a URL as a string when calling the web site address to be opened

-      getURL( “web address”, “_blank”);

Term

Identifier 

Definition

- names the ActionScript programmer uses to name a variety of things, such as an object instance

-Use some type of suffix that describes the type of object so it is easy to identify the object type (_txt for text, etc.)

Term

Levels (level0, level1, etc.) 

Definition
– hold individual SWF files in a Flash movie.  Starts at 0, and subsequent Flash movies are kept at higher levels
Term

Main Timeline

Definition
- The Main Timeline controls the frames in this timeline

– where one controls the Flash playhead by using basic actions such as:

        gotoAndPlay()

        gotoAndStop()

        play()

        stop()

Term

Object instance 

Definition
- copy of that symbol on the Stage
Term

Object methods 

Definition
- represent actions that a specific object is capable of performing
Term

Object properties 

Definition
- properties or characteristics that distinguish the uniqueness of the object
Term

Objects 

Definition
– data types – such as sound, graphics, text, and numeric values – that you create in Flash and use to control that movie
Term

Relative path 

Definition
- depends on the relationship between the controlling Timeline and the target Timeline
Term

Rotoscoping 

Definition
- a traditional animator’s technique that involves tracing live-motion film to create animation
Term

Scope

Definition
- how variables may be used or accessed

-     indicates not only when and where you can refer to and access variables but also for how long of a period a variable exists in an application

Term

Shape Hints

Definition
- Used to force Flash to map points on the first shape to correspond points on the second shape
Term

Sound object 

Definition
- lets you control sound in a movie
Term

Static textfield 

Definition
- display characters that do not need to change, to display small amounts of text
Term

Streamed video 

Definition
- An embedded video does not stream unless it is placed on the main Timeline
Term

Syntax 

Definition
- Set of rules that specifies the form of expressions in a programming language

-    Governs things as word order, capitalization and punctuation of action statements

Term

Target path 

Definition
- an object named or a series of object names separated by dots; tells Flash where to find a particular objects
Term

Text property 

Definition
- main means of programmatically displaying text on screen


Term
trace() method 
Definition
- used to display output in the output window
Term

Variables 

Definition
- containers that hold information, such as numbers and strings of characters
Term

Video placeholder 

Definition
– what appears on the stage when a video is imported
Supporting users have an ad free experience!