[swfmill] Splitting simple dialect in several files

Maxim Prokoshin mmxer at tercom.ru
Tue Apr 22 00:35:55 PDT 2008


Thank you very much!
We need same libraries with just several different clips for different haXe
compilations and we want to include only common clips.
I see that it's possible to have several libraries inside <movie/> tag - it
solves this problem.
I mean something like:
<movie version="9">
        <frame>
		<library>
               <clip id="icon1" import="image1.swf"/>
        	</library>
           	<include file="incl.xml"/>
        </frame>
</movie>


-----Original Message-----
From: swfmill-bounces at osflash.org [mailto:swfmill-bounces at osflash.org] On
Behalf Of Ralf Fuest
Sent: Monday, April 21, 2008 7:03 PM
To: swfmill at osflash.org
Subject: Re: [swfmill] Splitting simple dialect in several files

Thanks for the test files.
There is a bug in the include feature. The include tag doesn't work
correctly inside a library tag. But you can easily rewrite your code:

testResource.xml:
<?xml version="1.0" encoding="UTF-8" ?>
<movie version="9">
        <ScriptLimits maxRecursionDepth="256" timeout="1000"/>
        <frame>
                <include file="incl.xml"/>
        </frame>
</movie>

incl.xml:
<movie>
        <library>
               <clip id="icon" import="image.swf"/>
        </library>
</movie>

Ralf

> Ok, here is a simple test.



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




More information about the swfmill mailing list