Creating Components > Creating a Live Preview movie > Setting the path to the Live Preview movie |
![]() ![]() ![]() |
Setting the path to the Live Preview movie
Next, you use the Component Definition dialog box to link the Live Preview movie to the component. You can embed the Live Preview movie in the component, or link the Live Preview movie to the component as an external file. Embedding the Live Preview movie makes it simpler for users on other systems to access the movie, because the Live Preview movie is included with the component movie file.
To set the path to the Live Preview movie:
1 |
Open the FLA document with the component (not the one you created for the Live Preview). |
2 |
Select the component in the Library panel and choose Component Definition from the Library options menu. |
3 |
In the Component Definition dialog box, click the Set button to the right of the Live Preview text box. |
4 |
In the Live Preview dialog box, select one of the following options: |
![]() |
Live Preview with SWF File Embedded in FLA File embeds the Live Preview movie in the component FLA file. |
![]() |
Live Preview in External SWF File links the Live Preview movie to the component FLA file. |
Note: If you embed the Live Preview movie in the component FLA file, you do not need to reset the path to a linked file to view the Live Preview movie. |
|
5 |
Enter the path for the preview SWF movie in the text box, or click Browse and navigate to the preview SWF movie. |
6 |
Click OK to close the Live Preview dialog box, and click OK again to close the Component Definition dialog box. |
7 |
Save the file. |
![]() ![]() ![]() |