
FLASH CS3
User Guide
227
For example (from the Movieclip_loadMovie.xml behavior file) (ActionScript 2.0):
<actionscript>
<![CDATA[ //load Movie Behavior
if($target$ == Number($target$)){
loadMovieNum($clip$,$target$);
} else {
$target$.loadMovie($clip$);
}
//End Behavior
]]>
</actionscript>
6
Save the file and test the behavior.
See also
“Break apart an instance symbol” on page 215