Introduction to Learning Interactions Tutorial > Use assets from a shared library |
![]() ![]() ![]() |
Use assets from a shared library
The assets that you'll use in your document exist in a separate FLA file, which you will open as a library. Assets that you use from the external library become part of the MyQuiz.fla library. You'll now replace the navigation button with a different navigation button, which has the same name, from the LearningAssets.fla library.
1 |
In the Timeline, unlock the _controls layer and select Frame 1 of that layer. |
2 |
Choose File > Open as Library. |
3 |
In the Open as Library dialog box, browse to the Tutorials/QuizTutorial/Assets folder in your Flash MX folder. Select LearningAssets.fla, then click Open. |
The library items from the LearningAssets.fla file are now available for your use. |
|
4 |
In the LearningAssets.fla library, go to the 1_Quiz Files > 0_Assets subfolder and drag mc, frameNav to anywhere on the Stage or the workspace. |
A Resolve Library Conflict dialog box appears, because you dragged an instance of a symbol that already exists in your MyQuiz library. |
|
5 |
In the Resolve Library Conflict dialog box, select Replace Existing Items (not undoable) and click OK. |
In addition to dragging a new instance of the button onto the Stage, you've replaced the original mc, frameNav button with the new version. |
|
Note: You can also drag symbols directly from one library to another. |
|
6 |
On the Stage, select the button that you just dragged to the Stage and press Backspace or Delete. |
You do not need the second instance on the Stage once the first instance, in the lower right corner of the Stage, is replaced. |
|
7 |
With the Pointer tool, select the mc, frameNav button and use the Property inspector to give it an x coordinate of 464.6 and a y coordinate of 369.4. |
8 |
Select Frame 1 on the Interactions layer. Drag Camera1.png from the Images folder in the LearningAssets.fla library to the Stage, placing the camera slightly off center, within the light area of the gradient background. |
![]() ![]() ![]() |