Configuring an SWF object
- Create an SWF object, as described in “Creating an object.” Make sure the SWF object is selected.
- To indicate which SWF file should play in the SWF object, choose an option from the SWF drop-down menu:
- To import a file, choose Others.
- To use an SWF file that is already used elsewhere in the active project, choose that file’s name.
- To insert a path that will refer to a SWF file at runtime (even if that SWF file is not currently available), choose External. Using this option helps to keep your project’s exported size small, but it introduces the possibility of broken links.
- If you choose External from the SWF drop-down menu, the External File Reference dialog box displays.
The External File Reference dialog box enables you to specify the path to a file.
Use one of the following methods to specify a path:
- To reference a file from your local file system, choose File from the Type menu and then specify the path to that file in the Path field. You can either enter the path or click and locate the file.
- To use a file on the Internet, choose URL from the Type menu and then enter the URL of the file in the URL field.
- To reference a file from your local file system using a path created by an expression, choose File Expression from the Type menu and then either enter the expression in the Expr field or click the button to use the Expression Editor dialog box.
- To reference a file on the Internet using a URL created by an expression, choose File Expression from the Type menu and then enter the expression in the Expr field or click the button to use the Expression Editor dialog box.
- To specify additional settings for the SWF object, choose one or more options from the Options drop-down menu:
- To hide the object until it displays using a Show action, choose Initially Hidden.
- To prevent changes from being made to the object until it is enabled with an Enable action, choose Initially Disabled.
- To retain the object’s state when a different presentation page displays, choose Keep Status on Page Entry.
- To make the file play over and over, choose Loop.
- To play the file repeatedly from the start to the end, and then from the end to the start, choose Loop Back and Forth.
Note: The Loop Back and Forth option is not available for Video objects. - To specify the initial position of the object on the page, choose an option from the Initially at drop-down menu:
- To specify the frame rate at which the file should play, enter a value in the Frame rate field or choose Default to use the frame rate that is embedded in the SWF file.
Parent topic: Creating interactive building blocks