Actions are ready-to-use bits of JavaScripting in Adobe GoLive.
An Action enables you to use JavaScripting and add interactivity to web pages without any prior knowledge of JavaScripting at all.
Actions in themselves are JavaScript snippets embedded in a HTML file with the extension .action, thus GL will recognize them as plug-ins.
For each Action of Adobes, there is an external script with the extension .js.
Sample: | ConfirmLink.action | |
ConfirmLink.js |
Those two files must be kept in the same folder. Because the .js file is linked to the .action file.
Some Actions refer to other external scripts placed in other folders, as scripts in:
ActionScripts folder | ||
ButtonImage folder | ||
GlobalScripts folder | ||
RealOne | ||
Sequence folder | ||
URL Popup folder |
The ordinary user should not tangle with files in the above folders.
View file structure of the Actions
There are three types of Actions,
- Standard Actions - Most Actions.
- Action Containers - An Action which does nothing on its own, but only points to other Actions. (A Container Action returns a value of true or false).
Condition Actions - Will be dimmed if not selectable. Depending on i.e. "Condition.action".
Some Actions work as Head Action's (?) only and others as Body Actions (?) only. Usually the developer will state this in the User Interface of the Action.
Actions are located in:
Adobe GoLive (app. folder)/Modules/JScripts/Actions/some folder.
(Some 3'd party actions have to be placed within a special folder, the developer will announce this).
Actions that come with the package. (GoLive 7.0)