[swfmill] how to use a shared library

Flash Developpeur flash at mediastart.fr
Tue Feb 6 05:35:11 EST 2007


          Hello,

    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);

mcSquare is always undefined.

Have you got any solution ?

-- 
Matthieu

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 5169 bytes
Desc: S/MIME Cryptographic Signature
Url : http://osflash.org/pipermail/swfmill_osflash.org/attachments/20070206/b66247ea/smime.bin


More information about the swfmill mailing list