- Designing Your Web Site to Be Modular
- Loading Movies or JPGs
- Task: Use Load Movie
- Determining When a Movie Is Fully Loaded and How to Unload It
- Task: Determine Whether a Movie Is Fully Loaded
- Shared Library Items
- Task: Prepare Items to Share at Runtime
- Task: Start Using a Shared Item
- Task: Update Shared Items in a Library
- Task: Share a Font During Runtime
- Linked Scripts
- Summary
- Q&A
- Workshop
Workshop
The Workshop consists of quiz questions and answers to help you solidify your understanding of the material covered. Try to answer the questions before checking the answers.
Quiz
-
How many movies can you load into _level3?
-
None, this level is reserved for sounds.
-
As many as you want.
-
One.
-
-
If you want to rotate (that is, set the _rotation property of) a movie that gets loaded, into what location must you load it?
-
A Target clip.
-
A _level number.
-
Either Target or Level.
-
-
How many people can simultaneously edit the master version of a shared item?
-
One.
-
As many people as you want.
-
A number equal to how many user files you have.
-
Quiz Answers
C. Into any level number (or into any clip instance, for that matter) you can only load one movie or .jpg at a time. If you try loading another movie into an occupied level or clip, the new movie just replaces the current occupant.
C. Although changing the properties (including _rotation) of a clip instance (because you just have to use clipInstanceName._rotation=180) may seem easiest, you can also set a property of any level numberfor example, _level1._rotation=180. I think it makes more sense to load movies into named clips, but you don't have to.
A. Only one person can actually edit the master version of the shared items. After it's turned into an .swf, you can share it throughout a networkor just redistribute copies to everyone involved.