Once a movie clip in the library has its linkage properties set, how are instances of it created with ActionScript? How is that instance added to the Stage?

What will be an ideal response?


A new instance of a movie clip on the library is created with the keyword new,
just like an instance of any other class. For example, to make an instance of an
object in the library with a linkage identifier of Ship, you could write:
```
var ship1:Ship = new Ship
```
to add the object to the Stage you would write:
```
addChild(ship1)
```

Computer Science & Information Technology

You might also like to view...

The copy constructor for a class is called

a. when an object of the class is passed by value to a function. b. when an object of the class is initialized by another object of the class c. when a function returns an object of the class d. all of the above

Computer Science & Information Technology

How does the TCP protocol provide a reliable byte stream?

What will be an ideal response?

Computer Science & Information Technology

A literal numeric constant does not change.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology

A(n) ____ is a prompt used before a loop starts to determine whether to enter it the first time.

A. sentinel value B. priming prompt C. subscript D. increment operator

Computer Science & Information Technology