The actionScript element allows writing ActionScript code in your ActiveSWF project. ActiveSWF ActionScript compiler supports ActionScript 2.0 for Flash players up to Flash Player 10.0.
<actionScript [event="eventType"] [src="some_script.as"] [id="scriptObjectId"]>
<![CDATA[ActionScript code goes here...]]>
</actionScript>
Name |
Description |
Value type |
Optional |
Default Value |
| event |
Event that triggers this script. Actual only when action is owned by button element. |
yes |
||
| src |
Local path or HTTP url to the location of the external ActionScript module. |
yes |
- |
|
| id |
Idebtifier of ActionScript object. May be useful for checking errors in embedded ActionScript. |
yes |
- |
button element, actions collection
actionScript tag is available since ActiveSWF version 2.0