Andrew,
it depends on your "Entry Point Method". You can
a) construct the swf containing your assets with swfmill, then use MTASC to
compile "into" the swf, and use mtasc's -main (i'd call this "traditional")
b) compile the code first, generating "classes.swf", then import that using
swfmill (<clip import="classes.swf"/>), likely calling main from swfml (<call
object="Main" method="main"/>) ("swfmill as linker" or sth.)
c) not use main at all, but just couple classes to your <clip/>s (i think
that's called "Natural" entry point method)
to probably make it clearer, what i do for swfmill's informal test is method b):
#mtasc -cp .../std -swf classes.swf -header 320:240:25 Main.as
#swfmill -v simple test.swfml output.swf
with a test.swfml of basically:
"
<movie width="450" height="270" framerate="15">
<library>
<clip import="classes.swf"/>
</library>
<frame>
<call object="Main" method="main"/>
</frame>
</movie>
"
hope that helps, i'm sorry that swfmill docs are so sparse.
-dan
"Andrei Stebakov" <[EMAIL PROTECTED]> (on Fri, 19 May 2006 12:27:40 -0400):
> Hi,
>
> I just started with Flash and probably have the most stupid question...
> Looks like I miss one step how to actually link the swf file generated by
> swfmill and the sfw file generated by mtasc.
> I am looking at http://aralbalkan.com/index.php?p=373&more=1&c=1 (FAMES
> tutorial) and I can't understand how the application.swf generated by mtasc
> from application.as and application.swf generated from the xml file end up
> merged together?
>
> Any pointers are greatly appreciated!
>
> Andrew
--
http://0xDF.com/
http://iterative.org/
_______________________________________________
swfmill mailing list
[email protected]
http://osflash.org/mailman/listinfo/swfmill_osflash.org