hi ai,

there are two ways to get actionscript code into a swfmill made SWF:
one is to generate the SWF without actionscript and then compile your
code into it with mtasc like you would with any other SWF. the
disadvantage of that method is that you can't assign classes to
movieclips in you swfml-s.
the other method, which i prefer, is to compile a classes.swf with
mtasc first, using the -header option, and then import that like a
normal movieclip:
<clip import="classes.swf" />
that way swfmill "knows" your classes, and you can assign them to movieclips:
<clip id="myClip" import="myImage.png" class="org.whatever.MagicImage" />

you can find a much more detailed explanation with downloadable examples here:
http://www.flashant.org/index.php?p=408&more=1&c=1

hth,
mark

--
http://snafoo.org/
jabber: [EMAIL PROTECTED]

_______________________________________________
swfmill mailing list
[email protected]
http://osflash.org/mailman/listinfo/swfmill_osflash.org

Reply via email to