my $action = new SWF::Action($script);
DESCRIPTIONSWF::Action is an object for storing an action.
- new SWF::Action($script)
- Compiles $script and returns an SWF::Action object. The script is a text string expected, according ActionScript syntax.
- $result = $actionObject->compile($versionX)
- Recompile object using syntax of versionX. (Some differences exists between values 4 and 5.) The result return value will be 0 on successful compiling.