Shared Flashcard Set

Details

Flash Tutorial 8 Study Guide
study guide
135
Computer Science
11th Grade
05/25/2010

Additional Computer Science Flashcards

 


 

Cards

Term
ActionScript 3.0 cannot be used to write highly complex applications.
(T or F)
Definition
False
Term
ActionScript can be used to change the properties of movie clips while they play in the Flash Player.
(T or F)
Definition
True
Term
With ActionScript, you can test a condition and then execute different actions based on the result of the test.
(T or F)
Definition
True
Term
In ActionScript 3.0, unlike in version 2.0, you can add actions to a button instance.
(T or F)
Definition
False
Term
You can have at most one instance of a movie clip symbol.
(T or F)
Definition
False
Term
When naming instances of objects, you should include a prefix that identifies what type of object it is.
(T or F)
Definition
False
Term
To reference the property of a movie clip instance, you use the name of the instance followed by a comma and then the name of the property.
(T or F)
Definition
False
Term
The items shown in the accompanying figure are code hints.
(T or F)
Definition
True
Term
Right-clicking the desired code displayed in the list shown in the accompanying figure causes the code to be added to the script.
(T or F)
Definition
False
Term
A Flash document can include links in the form of buttons or movie clips with ActionScript code, which directs Flash to open the specified Web site.
(T or F)
Definition
True
Term
During streaming, a client computer may play all of the loaded frames and then have to wait for additional frames to load if a particular frame has a large amount of content, such as bitmap images.
(T or F)
Definition
True
Term
When a SWF file starts to download from a Web server to a client computer, it is loaded into the Flash Player all at once.
(T or F)
Definition
False
Term
Adding a preloader to a Flash file does not require writing ActionScript code.
(T or F)
Definition
False
Term
If a SWF file contains a large number of frames, you can create a preloader that checks the number of frames loaded.
(T or F)
Definition
True
Term
To examine the total number of bytes loaded, you can use the totalBytes() function.
(T or F)
Definition
False
Term
An input form is a common element found on many Web sites.
(T or F)
Definition
True
Term
A page developed with Flash can allow a user to enter data, have the data processed, and return a result directly from the Flash Player on the user’s computer.
(T or F)
Definition
True
Term
Entry text is used to allow a user to enter text into a text block.
(T or F)
Definition
False
Term
In an expression, characters within quotation marks are considered numeric data, which is handled differently than string data.
(T or F)
Definition
False
Term
Values entered into an input text block are considered integer data.
(T or F)
Definition
False
Term
ActionScript can be used to create actions to control multimedia elements, such as buttons.
(T or F)
Definition
True
Term
As scripts get longer and more complex, it is important to add comments.
(T or F)
Definition
True
Term
Single line comments are indicated by two backslashes.
(T or F)
Definition
False
Term
A SWF file is downloaded over the Internet from a Web server to the user’s computer, known as the client computer.
(T or F)
Definition
True
Term
An example of a conditional operator is = =, which is used to test for equality.
(T or F)
Definition
False
Term
The equivalence operator, =, is used to assign a value to a variable.
(T or F)
Definition
False
Term
Examples of numeric operators include <, > and !=.
(T or F)
Definition
False
Term
When the if action tests a condition, if the condition is true, it performs actions within the quotation marks that follow it.
(T or F)
Definition
False
Term
Static text can change.
(T or F)
Definition
False
Term
Dynamic text cannot be changed after the document plays in the Flash Player.
(T or F)
Definition
False
Term
Static text is defined to display the contents of a variable.
(T or F)
Definition
False
Term
The Property inspector for input text includes the Limit text box, which allows you to specify the maximum number of characters a user can enter into the input text box.
(T or F)
Definition
False
Term
When referring to text in an expression, it is enclosed in parentheses.
(T or F)
Definition
False
Term
ActionScript is not case sensitive.
(T or F)
Definition
False
Term
Values entered into an input text block are considered string data.
(T or F)
Definition
True
Term
The Flash Player 9 plug-in uses the ____.
Definition
AVM2
Term
____ can be used to allow a viewer to input data, and then have Flash process the data to return a result.
Definition
ActionScript
Term
A button has ____, such as its width, height, and location on the Stage.
Definition
Properties
Term
The multimedia items with which you work in Flash are considered ____.
Definition
Objects
Term
ActionScript code can be written to read or change properties in response to all of the following EXCEPT ____.
Definition
Turning on the computer
Term
The property that controls the transparency of a movie clip is ____.
Definition
Alpha
Term
The property that controls the transparency of a movie clip is ____.
Definition
Rotation
Term
The property that controls the visibility of a movie clip is ____.
Definition
Visible
Term
You can run SWF files that contain ____.
Definition
ActionScript 2.0 or earlier in Flash Player 9
Term
Versions of the Flash Player older than version 9 use the ____.
Definition
AVM1
Term
ActionScript 3.0 code will not run on the ____.
Definition
AVM1
Term
When using ActionScript to refer to a specific instance, you must refer to its instance ____.
Definition
Name
Term
Working with objects in ActionScript often requires that you assign ____ to them.
Definition
Names
Term
The code to change the alpha property of a movie clip instance named circle_mc to 30% is ____.
Definition
circle_mc.alpha=.30
Term
Flash recognizes the ____ suffix for movie clip instances.
Definition
_mc
Term
Flash recognizes the ____ suffix for text field instances.
Definition
_txt
Term
Flash recognizes the ____ suffix for button instances.
Definition
_btn
Term
When you use the name of an object in the Actions panel, and you type the first few letters after the ____ the matching code is highlights in the code hints list.
Definition
.
Term
The ____ links a property to a particular object.
Definition
.
Term
The prebuilt ____ function displays values in the Output panel.
Definition
trace()
Term
The prebuilt ____ function displays values in the Output panel.
Definition
Parameters
Term
____ are used to group arguments in methods and functions.
Definition
Parentheses
Term
The terms actions and ____ are often interchangeable.
Definition
Statements
Term
Parameters are sometimes referred to as ____.
Definition
Arguments
Term
____ are built-in capabilities of an object that perform certain actions or respond to certain events.
Definition
Methods
Term
____ refers to the rules of a language.
Definition
Syntax
Term
Statements should end with a(n) ____.
Definition
Semicolon
Term
Parentheses are used to group ____.
Definition
Parameters
Term
Curly braces are used to group ____.
Definition
Statements
Term
Semicolons are used to end ____.
Definition
Statements
Term
Object types are coded using a ____ character and followed by the type identifier.
Definition
Colon
Term
The results of a function, such as a return value, must be assigned a ____.
Definition
Data type
Term
The item marked _____ in the accompanying figure is the keyword used to define the function.
Definition
1
Term
The item marked ____ in the accompanying figure is the function name.
Definition
2
Term
The item marked ____ in the accompanying figure is the parameter name.
Definition
3
Term
The item marked ____ in the accompanying figure is the parameter type.
Definition
4
Term
The item marked ____ in the accompanying figure is the keyword that indicates that the function does not return a value.
Definition
5
Term
The entire item shown in the accompanying figure is the ____ statement.
Definition
Function
Term
The event ____ is the object to which the event will happen.
Definition
Source
Term
The event source is also known as the event ____.
Definition
Target
Term
With an event handler, the ____ is the steps that are performed when the event occurs.
Definition
Response
Term
An event ____ is a method that the Flash Player executes in reponse to specific events.
Definition
Listener
Term
The item marked ____ in the accompanying figure is the event source.
Definition
1
Term
The item marked ____ in the accompanying figure is the method to add the event listener to the event source.
Definition
2
Term
The item marked ____ in the accompanying figure is the event to listen for.
Definition
3
Term
The item marked ____ in the accompanying figure is the function to call when an event occurs.
Definition
4
Term
____ are notes withint the ActionScript code that explain what is happening.
Definition
Comments
Term
You can use the Selection tool to draw a(n) ____ around multiple objects on the Stage to select them simultaneously.
Definition
Marquee
Term
Use the ____ key and the Selection tool to select more than one button instance at a time.
Definition
Shift
Term
A ____ is a blueprint for an object that describes the properties, methods, and events for the object.
Definition
Class
Term
All objects in ActionScript are defined by ____.
Definition
Classes
Term
A variable must be ____, which means you need to specify what kind of data it can contain.
Definition
Typed
Term
A ____ is approximately 1000 bytes.
Definition
Kilobyte
Term
A ____ is equivalent to one character of information.
Definition
Byte
Term
____ means that as a file is downloading, the initial content can start playing while the rest of the content continues to be downloaded.
Definition
Streaming
Term
A ____ is a short animation or message located in the first few frames of a Flash file.
Definition
Preloader
Term
The ____ command simulates the time it takes to download a SWF file based on the type of Internet connection you select.
Definition
Simulate Download
Term
The Simulate Download command is available on the ____ menu.
Definition
View
Term
A(n) ____ form allows the user to enter data into text boxes.
Definition
Input
Term
Creating an input form requires the use of ____ and input text.
Definition
Dynamic
Term
____ text can receive text in the form of characters or numbers from a Web server or from an expression in ActionScript and display the text on a Web page in the Flash Player.
Definition
Dynamic
Term
In the Maximum characters text box, an initial setting of ____ does not limit the user to a specific number of characters.
Definition
Term
You can use ____ to combine assignment and arithmetic operators, such as Amount += 5.
Definition
Shortcuts
Term
The ____ operator causes a condition to be true if either one of the comparisons is true.
Definition
||
Term
The logical operator ____ represents Or.
Definition
||
Term
Values entered into an input block are treated as ____ characters.
Definition
Text
Term
The ____ function can be applied to values to convert them to integer numbers.
Definition
int()
Term
____ numbers are whole numbers that do not include decimals.
Definition
Integer
Term
A dynamic text block can contain only ____ data.
Definition
String
Term
You mention that actions are added differently in ActionScript 3.0 than they are in ActionScript 2.0. In ActionScript 3.0, to which type of element do you add an action?
Definition
Frames in the Timeline
Term
What is the name of the property that represents the transparency of a movie clip?
Definition
Alpha
Term
Which of the following would Flash recognize as the name of a movie clip instance?
Definition
intro_mc
Term
What is the term used for these built-in capabilities?
Definition
Methods
Term
If a function does not return a value, what term must appear in the function definition to indicate that no value is returned?
Definition
Void
Term
One of these elements is the pause button itself, which is the object used to trigger the desired action. Which of the following is a technical term for this type of element?
Definition
Event source
Term
You next tell Aaron that he must create the function that the Flash Player will execute when the user clicks the pause button. What is the term used for this type of function?
Definition
Event listener
Term
Once Aaron creates the function that will be executed when the user clicks the pause button, he needs to establish a connection between that function and the pause button. What is the name of the method used to establish the connection?
Definition
addEventListener
Term
You next show Aaron how he can use buttons to represent links to external Web sites. When the viewer clicks a button, a browser window will open, displaying an external Web site. In the functions that he writes for this purpose, Aaron needs to create an object with the value of the Web address of the site to which he wants to link. What is the name of the type of method that he will use to create this object?
Definition
Constructor
Term
In the functions that Aaron writes for the purpose of displaying an external Web site, he needs to call a function that opens the Web site in the computer’s default browser. What is the name of this function?
Definition
navigateToURL
Term
____________________ is a robust programming language that gives the Flash developer an almost unlimited number of ways to make a Flash document interactive.
Definition
ActionScript
Term
A(n) ____________________ is an element in Flash that has properties that can be examined or changed with ActionScript.
Definition
Object
Term
To convert a number to a string, you can apply the ____ function to the value.
Definition
String()
Term
____________________ is used to link the object names to its properties and methods.
Definition
Dot notation
Term
A(n) ____________________ is a statement that instructs a SWF file to do something.
Definition
Action
Term
____________________ are blocks of statements that process information and return a value or perform some action.
Definition
Functions
Term
You can ____________________ or execute a function from different parts of the script in which it is defined.
Definition
Call
Term
You can ____________________ or execute a function from different parts of the script in which it is defined.
Definition
Call
Term
The values you send to a function are called ____________________ and are enclosed in parentheses.
Definition
Parameters
-or-
Arguments
Term
Creating an input form requires the use of ____________________ text and input text.
Definition
Dynamic
Term
A(n) ____________________ is a word or phrase that already has a specified use or meaning in ActionScript and cannot be reused in another context in a statement.
Definition
Keyword
Term
A(n) ____________________ is a user-defined object that holds data and whose value can change while the SWF movie is playing.
Definition
Variable
Term
A(n) ____________________ statement is one in which one value is compared to another.
Definition
Conditional
Term
A(n) ____________________ assigns the result of a calculation to a variable.
Definition
Expression
Term
____________________ data is a series of characters, such as letters, numbers, and punctuation, and is always enclosed in quotation marks.
Definition
String
Term
____________________ data is a number or numbers that are not enclosed in quotes.
Definition
Numeric
Term
____________________ are used in expressions to tell Flash how to manipulate the values in the expression.
Definition
Operators
Term
The equal sign is an example of a(n) ____________________ operator.
Definition
Assignment
Term
ActionScript has ____________________ operators, such as +, -, *, and /.
Definition
Arithmetic
Term
A(n) ____________________ operator is used in conditional statements.
Definition
Comparison
Term
You can right-click a frame and then click ____________________ to add an empty keyframe.
Definition
Insert Blank Keyframe
Supporting users have an ad free experience!