Creating Interactive Movies > Using basic actions for navigation and interaction > Controlling the Flash Player
Controlling the Flash PlayerYou use the FSCommand action to control the Flash stand-alone player.
You can also use this action to send messages to the application hosting the Flash Playerfor example, JavaScript in a Web browser, Director, Visual Basic, Visual C++, and other programs that can host ActiveX controls. For more information about sending messages to other applications using the FSCommand, see the related topic in ActionScript Help.
To control a movie playing as a projector:
1 | Select the frame, button instance, or movie clip instance to which you will assign the action. |
2 | Choose Window > Actions to display the Actions panel. |
3 | In the Toolbox list, click the Basic Actions category to display the basic actions, and select FSCommand action. |
4 | In the Parameters pane, choose an option to control the stand-alone player from the Commands for Standalone Player pop-up menu: |
![]() |
Choose Quit to close the movie projector. |
![]() |
Choose Exec to start running an application from within the projector. In the Arguments text box, enter the path to the application. |
![]() |
Choose Fullscreen [True/False] to control the projector view. In the Arguments text box, enter True for a full-screen view, or False for a normal view. |
![]() |
Choose Allowscale [True/False] to control scaling of the movie. In the Arguments text box, enter True to scale the animation with the player, or enter False to display animation without scaling. |
![]() |
Choose Showmenu [True/False] to control pop-up menu items. In the Arguments text box, enter True to display the full set of right-click menu items, or False to hide the menu bar. |
You can also type the options in the Commands or Arguments text boxes, or enter them as expressions. For more information, see ActionScript Help. | |
![]() |