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



_______________________________________________
swfmill mailing list
swfmill@osflash.org
http://osflash.org/mailman/listinfo/swfmill_osflash.org

Reply via email to