[swfmill] how to use a shared library
Eric Priou
erixtekila at gmail.com
Tue Feb 6 08:08:53 EST 2007
To make the shared lib working, you need to add the import tag In the
loader, not the shared lib itself !
> Is anyone can explain me how to use a shared libray with
> swfmill, please ?
>
> I make a swf (square.swf) with a movieclip in the library.
>
> I created this xml file :
>
> <?xml version="1.0" encoding="UTF-8"?>
> <movie width="100" height="100" framerate="25" version="8">
> <background color="#CCCCCC"/>
> <!-- first frame -->
> <frame>
> <import file="bin\square.swf" url="square.swf"
> symbol="SqMenuZoom" /> </frame>
> <!-- some empty frames -->
> <frame/>
> </movie>
>
> With a file .bat ( swfmill.exe simple "bin\sharedlibrary.xml"
> "library_square.swf" ) i create a new swf.
>
> With another swf, i load library_square.swf, and the end of loading
> i make an :
> var mcSquare:MovieClip = mc.attachMovie("SqMenuZoom", "SqMenuZoom",
> 100);
----
Eric Priou
aka erixtekila
Articles : http://www.v-i-a.net/inprogress
Oregano : http://www.v-i-a.net/forum
More information about the swfmill
mailing list