Turbine
includes an on-the-fly Action Script compiler allowing for powerful
scripting capabilities. Scripting can be used to control other MML
tags. For example, the text on the Flash text field below is set with
Action Script:
The Flash movie above was created from the following MML:
<TextField
instance="field" size="300,100"
flags="multiline,border,wrap">The next
values are added by the script:
</TextField>
Turbine
scripting supports all the object-oriented capabilities available
in Flash MX. The following example uses an onEnterFrame handler to
rotate an image created by an <Image> tag:
The Flash movie above was created from the following MML Tags: