[swfmill] Splitting simple dialect in several files
Michael Pliskin
pl at tepkom.ru
Fri Apr 11 07:05:17 PDT 2008
Hello Ralf,
I've finally managed to try the function of splitting an xml into
pieces I asked you to implement several months ago, and found a
problem: I can easily compile an swf from pieces but the resources
are not available.
The xmls look like:
root.xml
<movie version="8">
<frame>
<library>
<include file="inc.xml" />
</library>
</frame>
</movie>
and inc.xml
<movie version="8">
<frame>
<library>
<clip import="file.swf" />
</library>
</frame>
</movie>
this compiles but no resources available then. Maybe I am using that
in a wrong way somehow?
Mike
Sunday, October 7, 2007, 9:54:31 PM, you wrote:
RF> Hello Michael,
RF> the function you described didn't exist in swfmill. But I think it is a
RF> useful feature, so I implemented it and now the svn version supports
RF> this feature.
RF> The syntax is equal to your proposal. The included files need to have
RF> the same format as any other swfml simple file. All tags inside the root
RF> movie tag are include. The attributes of the movie tag in the included
RF> files are ignored.
RF> Ralf
>> I am sorry if this is a newbie question, but I didn't find anything
>> on the net yet. Is there a way to split a simple dialect XML file
>> into several ones? I'd like to have something like include
>> functionality, so you can write it like
>> <include file="another.xml" />
>> and another.xml would be processed as a part of main file.
>>
>> The reason for this is easy support for different themes in my
>> application: I'd like some resources to be theme-specific and others
>> to be shared.
--
Best regards,
Michael mailto:pl at tepkom.ru
More information about the swfmill
mailing list