The sprite element allows creating movie clips in
ActiveSWF projects. Also movie clips can be loaded into ActiveSWF project
from external images or Flash movies.
The sprite element supports loading external images in
WMF format and conversion of them to Flash movie clips in vector format.
External raster images are converted to Flash movie clips with only specified
raster image embedded.
<sprite id="objectId" [src="url"] [lockroot="lockRoot"]>
<content>
<!-- Binary content in Base64 format -->
</content>
<styles>
<!-- Defining styles -->
...
</styles>
<objects>
<!-- Defining objects -->
...
</objects>
<layers>
<!-- Showing and modifying objects -->
...
</layers>
</sprite>
Name |
Description |
Value type |
Optional |
Default Value |
| id |
Object identifier |
no |
- |
|
| src |
External rester image or vector WMF image or SWF movie file name may be specified here to be embeded into sprite.
|
yes |
- |
|
lockroot |
When embedding external SWF movie into sprite enables/disables root movie access from ActionScript using _root variable in embedded sprite. |
yes |
true |
content element, styles collection, objects collection, layers collection,