Action reference
This section provides a list of the actions available in Presentation layouts, and explains how each action works. You can reference this section when associating actions with user events and while assembling scripts.
PATH |
ACTION |
DESCRIPTION |
---|---|---|
No Action |
No Action |
Does nothing. |
Animation > Pause |
Pause Animation |
Pauses the indicated Animation object. |
Animation > Play |
Play Animation |
Plays the indicated Animation object. If the Animation has been paused, play continues from the last position. If the Animation has been stopped, play starts from the beginning. |
Animation > Play in Object |
Play Animation in Object |
Plays the indicated image sequence in the indicated Animation object. |
Animation > Play on Path |
Play Animation on Path |
Plays the indicated image sequence in the indicated Animation object while moving the object along the indicated path. |
Animation > Stop |
Stop |
Stops the indicated Animation object. |
Button > Disable |
Disable Button |
Disables the specified Button object. |
Button > Enable |
Enable Button |
Enables the specified Button object. |
Button > Off |
Set Button Off |
Changes the indicated Button object to the Off state. |
Button > On |
Set Button On |
Changes the indicated Button object to the On state. |
Control > Break If |
Break If |
Available only in scripts. Enables you to escape a Loop. See “Using conditional statements.” |
Control > Else |
Else |
Available only in scripts. Creates a branch in an If statement. See “Using conditional statements.” |
Control > End If |
End If |
Available only in scripts. Marks the end of an If statement. See “Using conditional statements.” |
Control > End Loop |
End Loop |
Available only in scripts. Marks the end of a Loop loop. See “Using conditional statements.” |
Control > End While |
End While |
Available only in scripts. Marks the end of a While loop. See “Using conditional statements.” |
Control > If |
If |
Available only in scripts. Marks the beginning of an If statement. See “Using conditional statements.” |
Control > Loop |
Loop |
Available only in scripts. Marks the beginning of a Loop. See “Using conditional statements.” |
Control > While |
While |
Available only in scripts. Marks the beginning of a While loop. See “Using conditional statements.” |
Cursor > Hide |
Hide Cursor |
Hides the mouse pointer. |
Cursor > Show |
Show Cursor |
Shows the mouse pointer if it is hidden. |
Cursor > Use |
Use Cursor |
Changes the mouse pointer to the indicated icon. |
Expression > Set |
Set |
Enables you to configure an expression that will execute. For more information about expressions, see “Understanding expressions.” |
Internet > Get Text URL |
Get Text URL |
Retrieves the textual content of the specified URL and inserts it into the indicated Text Box object. Note: When this presentation’s exported SWF file is viewed in a Web browser, the URL for this action must have the same superdomain as the SWF file (if viewed in Flash Player version 6) or the same domain as the SWF file (if viewed in Flash Player version 7). Note: If a text file displayed with this action contains two carriage returns in a row, three carriage returns are displayed. Note: To work with this action, a URL must start with the prefix “http://”. Note: If you link to a text file on your desktop or a file system, you must use the full system path to the file on a Mac OS computer, unless the text file is in the same folder as your exported SWF file, (in this case, you need to use only the name of the text file and do not need the full system path). |
Internet > Get Variable |
Get Variable |
Retrieves the content of a named variable in a URL-encoded text file and places that content in a Text Box object. Note: When this presentation’s exported SWF file is viewed in a Web browser, the URL for this action must have the same superdomain as the SWF file (if viewed in Flash Player version 6) or the same domain as the SWF file (if viewed in Flash Player version 7). Note: To work with this action, a URL must start with the prefix “http://”. |
Internet > Open URL |
Open URL |
Sends the indicated URL to the default Web browser. Optionally allows the end user to enter the URL. Note: To work with this action, a URL must start with the prefix “http://”. |
Internet > Submit Page |
Submit Page |
Submits the contents of an editable text box, the selected item in a drop-down menu or list, the states of an On/Off button, and the selected button in an On/Off button group on the indicated page to the indicated URL. You can put the reply (the contents of the item above) into a Text Box object or treat it as a file to be saved on the end user’s computer. Note: When this presentation’s exported SWF file is viewed in a Web browser, the URL for this action must have the same superdomain as the SWF file (if viewed in Flash Player version 6) or the same domain as the SWF file (if viewed in Flash Player version 7). Note: To work with this action, a URL must start with the prefix “http://”. |
List > Get Selection |
Get List Selection |
Copies the text or position number of a selected item in any type of Text Box object to any other type of Text Box object, or to a file to be saved on the end user’s computer. |
Menu Bar > Add Menu Item |
Add Menu Item |
Adds a Menu Item to the indicated menu bar. You can specify the Menu Item’s name manually or read it from a Text Box object. You can specify a list of Submenus for the new Menu Item, and associate a value and a script with each. |
Menu Bar > Check |
Check Menu Bar |
Checks a Menu Item in the specified menu bar. |
Menu Bar > Item Disable |
Disable Menu Item |
Disables a Menu Item in the specified menu bar. |
Menu Bar > Item Enable |
Enable Menu Item |
Enables a Menu Item in the specified menu bar. |
Menu Bar > Remove Item |
Remove Menu Item |
Removes a Menu Item from the specified menu bar. |
Menu Bar > Uncheck |
Uncheck Menu Bar |
Unchecks a Menu Item in the specified menu bar. |
Object > Disable |
Disable Object |
Disables an object to prevent the end user from interacting with that object. |
Object > Display Image |
Display Image |
Displays an image in an object based on a picture box. Note: With this action, progressive images and images that use the CMYK color space might not display correctly, and high-DPI images might appear blurry. |
Object > Drag |
Drag Object |
Enables the user to drag an object. Usually applied to the Click Down user event. |
Object > Drop |
Drop Object |
Enables the user to drop an object. Usually applied to the Click Up user event. |
Object > Enable |
Enable Object |
Enables a disabled object. |
Object > Hide |
Hide Object |
Hides an object, with an optional transition effect. |
Object > Reset |
Reset Object |
Returns an object to its original settings and its home position (where it was when the presentation was launched). |
Object > Set Position |
Set Object Position |
Sets an object’s position. |
Object > Show |
Show Object |
Shows an object that was hidden, with an optional transition effect. |
Object > Slide |
Slide Object |
Moves an object from one position to another with an animated “slide” effect. |
Page > Display |
Display Page |
Displays a particular page in the presentation, with an optional transition effect. |
Page > Display First |
Display First Page |
Displays the first page of the presentation, with an optional transition effect. |
Page > Display Last |
Display Last Page |
Displays the last page of the presentation, with an optional transition effect. |
Page > Display Next |
Display Next Page |
Displays the next page of the presentation, with an optional transition effect. |
Page > Display Previous |
Display Previous Page |
Displays the page before the current page, with an optional transition effect. |
Page > Get Description |
Get Page Description |
Retrieves the description applied to a page using the Page Description field in the Page tab of the Interactive palette. |
Page > Get Name |
Get Page Name |
Retrieves the name applied to a page using the Page Name field in the Page tab of the Interactive palette. |
Page > Go Back |
Go Back |
Displays the most recently viewed page of the presentation. |
Pop-up > Add Item |
Add Menu Item |
Adds a Menu Item to the specified Pop-Up Menu object. |
Pop-up > Get Pop-up Selection |
Get Pop-up Menu Selection |
Retrieves the selected Menu Item (by name or number) from the indicated Pop-Up Menu object and places it in the specified Text Box object. You can add the Menu Item to the beginning of the text, add the Menu Item to the end of the text, replace all of the text with the Menu Item, or replace only the selected text with the Menu Item. |
Pop-up > Item Disable |
Disable Menu Item |
Disables a Menu Item in the specified Pop-Up Menu object. |
Pop-up > Item Enable |
Enable Menu Item |
Enables a Menu Item in the specified Pop-Up Menu object. |
Pop-up > Remove Item |
Remove Menu Item |
Removes a menu item from the specified Pop-Up Menu object. |
Pop-up > Set Pop-up Selection |
Set Pop-up Menu Selection |
Selects the indicated Menu Item in the indicated Pop-Up Menu object. You can indicate the target Menu Item by name or number (starting with 1). |
Print > Current Page |
Print Current Page |
Prints the active page of the presentation. |
Print > Text Object |
Print Text Object |
Prints the contents of a text object. |
Script > Disable |
Disable Script |
Disables a script. |
Script > Enable |
Enable Script |
Enables a script. |
Script > Run |
Run Script |
Runs a script. |
Script > Stop |
Stop Script |
Stops a script. Stopped scripts cannot be resumed. |
Sound > Beep |
Beep |
Makes the computer beep. |
Sound > Pause |
Pause Sound |
Pauses a sound. |
Sound > Play |
Play Sound |
Plays a sound. |
Sound > Play Background |
Play Background Sound |
Plays a background sound. |
Sound > Set Background Volume |
Set Background Volume |
Sets a background sound’s volume. |
Sound > Set Volume |
Set Sound Volume |
Sets a sound’s volume. |
Sound > Stop |
Stop Sound |
Stops a sound. |
Sound > Stop Background |
Stop Background Sound |
Stops a background sound. |
SWF > Load |
Load |
Loads an imported SWF presentation into memory an SWF object. |
SWF > Pause |
Pause |
Pauses an imported SWF presentation. |
SWF > Run |
Run |
Launches an imported SWF presentation. |
SWF > Stop |
Stop |
Stops an imported SWF presentation. |
SWF > Unload |
Unload |
Unloads an imported SWF presentation from an SWF object. |
Text > Copy |
Copy Text |
Copies the selected text from a Text Box object to the clipboard. Does not work for user events involving a mouse click, because a mouse click deselects all text. |
Text > Cut |
Cut Text |
Cuts the selected text (if possible) from a Text Box object to the clipboard. Does not work for user events involving a mouse click, because a mouse click deselects all text. |
Text > Deselect |
Deselect Text |
Deselects the selected text in a Text Box object. |
Text > Find |
Find Text |
Searches for text in a particular Text Box object. You can specify a literal search string or read the search string from another Text Box object. |
Text > Get from URL |
Get Text from URL |
Retrieves text from a URL and places it in a Text Box object. You can specify the URL literally or read it from another Text Box object. The target of the URL can be retrieved all at once, line-by-line, or in character-delimited chunks. Note: When this presentation’s exported SWF file is viewed in a Web browser, the URL for this action must have the same superdomain as the SWF file (if viewed in Flash Player version 6) or the same domain as the SWF file (if viewed in Flash Player version 7). Note: If a text file displayed with this action contains two carriage returns in a row, three carriage returns are displayed. Note: To work with this action, a URL must start with the prefix “http://”. |
Text > Paste |
Paste Text |
Pastes text that has been copied or cut using a Copy Text or Cut Text action into a Text Box object. |
Text > Post to URL |
Post to URL |
Submits the contents of one or all editable objects on the page to a URL using either the GET or POST method. You can specify the URL literally or read it from a Text Box object. Note: To work with this action, a URL must contain a colon (:). If the URL starts with a colon, the prefix “http://” is assumed. |
Text > Select |
Select Text |
Selects text in a Text Box object. You can specify start and end points for the selection. |
Text > Set Text |
Set Text |
Replaces or inserts text in a Text Box object. The new text can be specified literally or read from another Text Box object. You can specify start and end points for the insertion or replacement. |
Text Formatting > Alignment |
Text Alignment |
Sets the alignment of text in a Text Box object. |
Text Formatting > Color |
Text Color |
Applies a color to text in a Text Box object. |
Text Formatting > Font |
Text Font |
Applies a font to text in a Text Box object. |
Text Formatting > Indent |
Text Indent |
Indents text in a Text Box object. |
Text Formatting > Leading |
Text Leading |
Sets the vertical spacing for text in a Text Box object. |
Text Formatting > Style |
Text Style |
Applies plain, bold, italic, or underline formatting to text in a Text Object. Note: Even if a project contains an action that formats text to use the bold version of a font and you configure export options to embed all fonts, the exported project will not contain the bold version of the font unless the bold version of the font is used in a text box somewhere in the layout. |
Video > Display in Object |
Display Video in Object |
Displays the first frame of a movie in a particular Video object. |
Video > Pause |
Pause Video |
Pauses a movie in a Video object. When played again, paused movies start from the point where they were paused. |
Video > Play |
Play Video |
Plays a movie from the beginning in a Video object. |
Video > Play In Object |
Play Video In Object |
Plays a movie from the beginning in a particular Video object. This action enables you to play more than one movie in the same Video object. |
Video > Set Volume |
Set Video Volume |
Sets the volume for the audio of a movie in a Video object. |
Video > Stop |
Stop Video |
Stops playing a movie in a Video object. Stopped movies start from the beginning if they are played again. |
Window > Close |
Close Window |
Closes a Window object. |
Window > Drag |
Drag Window |
Enables the user to drag a Window object. Usually applied to the Click Down user event. |
Window > Drop |
Drop Window |
Enables the user to drop a Window object. Usually applied to the Click Up user event. |
Window > Open |
Open Window |
Opens a Window object. |
Window > Set Title |
Set Title |
Sets the title bar text for a Window object. |
Other > Allow User Interaction |
Allow User Interaction |
If you have executed this action, the player continues to process user events. This action is generally used with the Do Not Allow User Interaction action to enable user events after they have been blocked. |
Other > Delay |
Delay |
Forces the presentation to do nothing for a specific time period or to wait for a specific event. |
Other > Disable Keyboard |
Disable Keyboard |
Prevents the presentation from recognizing keyboard input. |
Other > Do Not Allow User Interaction |
Do Not Allow User Interaction |
If you have executed this action, all user events (including mouse events and keyboard events) are blocked. |
Other > Enable Keyboard |
Enable Keyboard |
Enables the presentation to recognize keyboard input. |
Other > Open Project |
Open Project |
Opens a different SWF presentation and closes the current SWF presentation. |
Other > Quit |
Quit |
Closes the Flash player. |