MACROMEDIA FLASH MX 2004-USING FLASH Use Manual page 70

Hide thumbs Also See for FLASH MX 2004-USING FLASH:
Table of Contents

Advertisement

Second, the author of the destination document defines a shared asset in the destination
document and enters an identifier string and URL identical to those used for the shared asset in
the source document. Alternatively, the destination document author can drag the shared assets
from the posted source document into the destination document library.
In either scenario, the source document must be posted to the specified URL in order for the
shared assets to be available for the destination document.
Defining runtime shared assets in a source document
You use the Symbol Properties dialog box or the Linkage Properties dialog box to define
sharing properties for an asset in a source document, to make the asset accessible for linking to
destination documents.
To define a runtime shared asset in a source document:
With the source document open, select Window > Library to display the Library panel.
1.
Do one of the following:
2.
Select a movie clip, button, or graphic symbol in the Library panel and select Properties
from the Library options menu. Click the Advanced button to expand the Properties
dialog box.
Select a font symbol, sound, or bitmap and select Linkage from the Library options menu.
For Linkage, select Export for Runtime Sharing to make the asset available for linking to the
3.
destination document.
Enter an identifier for the symbol in the Identifier text field. Do not include spaces. This is the
4.
name Flash uses to identify the asset when linking to the destination document.
Note: Flash also uses the linkage identifier to identify a movie clip or button that is used as an
object in ActionScript. See Chapter 8, "Working with Movie Clips," in Using ActionScript in Flash.
Enter the URL where the SWF file containing the shared asset will be posted.
5.
Click OK.
6.
When you publish the SWF file, you must post the SWF file to the URL specified in step 5, so
that the shared assets will be available to destination documents.
Linking to runtime shared assets from a destination document
You use the Symbol Properties dialog box or the Linkage Properties dialog box to define sharing
properties for an asset in a destination document so that you can link the asset to a shared asset
in a source document. If the source document is posted to a URL, you can also link a shared
asset to a destination document by dragging the asset from the source document to the
destination document.
To embed the symbol in the destination document, you can turn off sharing for a shared asset in
the destination document.
70
Chapter 3: Using Symbols, Instances, and Library Assets

Advertisement

Table of Contents
loading

This manual is also suitable for:

Flash mx 2004 - actionscript

Table of Contents