Previous Element | Next Element |
InitClip
This element contains an initialization script to be
executed for the specified MovieClip element before any
instances of the elements are referenced. There can only be
one InitClip element per MovieClip definition. InitClip
actions are most commonly used to define ActionScript
classes and to map ExportSymbol elements to ActionScript
classes.
By default the script is expected as element content however the use of the optional 'src' attribute permits an external script to be identified using a URL. If this is specified then all element content is ignored. Consult documentation on ActionScript for more information on scripting.
By default the script is expected as element content however the use of the optional 'src' attribute permits an external script to be identified using a URL. If this is specified then all element content is ignored. Consult documentation on ActionScript for more information on scripting.
Attributes
name | The id for the Movie Clip symbol within the movie. | |
Type | String | |
src | Optional attribute indicating the URL from which to read the script. | |
Type | String |
Child Elements
None
Parent Elements
InitClipActionsExamples
Example Of MovieClip classesExample Of MovieClip classes and scripted animations
Previous Element | Next Element |