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

Workshop

The quiz questions are designed to test your knowledge of the material covered in this hour. The answers to the questions follow.

Quiz

1:If you set the month of a Date object to 6, which month is that?
A1: July. Months are numbered starting with 0, so month 6 is the seventh month.
2:What are the two commands that can change the color of a movie clip?
A2: The setRGB command can apply a color to a movie clip's Color object. The setTransform command can apply a complex color alteration to the movie clip Color object.
3:How many ways can an element be removed from an array?
A3: Four. The pop, shift, and splice commands all remove items from an array.
4:What is the difference between push and unshift?
A4: The push command adds an item to the end of an array. The unshift command inserts an item at the start of the array.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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