[swfmill] sprite with swfmill

Eric Priou erixtekila at gmail.com
Mon Oct 16 09:37:33 EDT 2006


why duplicating the <library> node for each import ?

<frame>
	<library>
		<clip />
		<clip />
	</library>
	<place id=""> /
</frame>
Should do it.

Le 13 oct. 06, à 21:06, Sebastian Lucas a écrit :

> Hi,
>
> I want to import some pngs in one swf but in differents frames.
> Here's my xml:
>
> <?xml version="1.0" encoding="iso-8859-1"?>
> <movie width="480" height="320" framerate="24">
> <background color="#E0F0FF"/>
> <frame>
> <library>
> <clip id="sample0001.png" 
> import="C:\Projects\test\makemc\sprite\sample0001.png"/>
> </library>
>  <place id="sample0001.png" 
> name="C:\Projects\test\makemc\sprite\sample0001.png" x="1" y="0" 
> depth="1"/>
> </frame>
> <frame>
> <library>
> <clip id=" sample0002.png" 
> import="C:\Projects\test\makemc\sprite\sample0002.png"/>
> </library>
> <place id="sample0002.png" 
> name="C:\Projects\test\makemc\sprite\sample0002.png" x="2" y="0" 
> depth="2"/>
> </frame>
> <frame>
> <library>
> <clip id="sample0003.png" 
> import="C:\Projects\test\makemc\sprite\sample0003.png"/>
> </library>
> <place id="sample0003.png " 
> name="C:\Projects\test\makemc\sprite\sample0003.png" x="3" y="0" 
> depth="3"/>
> </frame>
> <frame>
> <library>
> <clip id="sample0004.png" 
> import="C:\Projects\test\makemc\sprite\sample0004.png"/>
> </library>
> <place id="sample0004.png" 
> name="C:\Projects\test\makemc\sprite\sample0004.png" x="4" y="0" 
> depth="4"/>
> </frame>
> <frame>
>  <library>
> <clip id="sample0005.png" 
> import="C:\Projects\test\makemc\sprite\sample0005.png"/>
> </library>
> <place id="sample0005.png" 
> name="C:\Projects\test\makemc\sprite\sample0005.png" x="5" y="0" 
> depth="5"/>
> </frame>
> <frame>
> <library>
> <clip id="sample0006.png" 
> import="C:\Projects\test\makemc\sprite\sample0006.png"/>
> </library>
> <place id="sample0006.png " 
> name="C:\Projects\test\makemc\sprite\sample0006.png" x="6" y="0" 
> depth="6"/>
> </frame>
> <frame>
> <library>
> <clip id="sample0007.png" 
> import="C:\Projects\test\makemc\sprite\sample0007.png"/>
> </library>
> <place id="sample0007.png" 
> name="C:\Projects\test\makemc\sprite\sample0007.png" x="7" y="0" 
> depth="7"/>
> </frame>
> <frame>
>  <library>
> <clip id="sample0008.png" 
> import="C:\Projects\test\makemc\sprite\sample0008.png"/>
> </library>
> <place id="sample0008.png" 
> name="C:\Projects\test\makemc\sprite\sample0008.png" x="8" y="0" 
> depth="8"/>
> </frame>
> </movie>
>
> The "x=1", "x=2".. is because im testing if they are in differents 
> frames.
> Is something wrong with this?
>
> Thanks.
>
> -- 
> █║▌│█│║▌║││█║▌│║
> Sebastian Javier Lucas
> Programmer & Guitar Hero_______________________________________________
> swfmill mailing list
> swfmill at osflash.org
> http://osflash.org/mailman/listinfo/swfmill_osflash.org
>
-----------
Eric Priou
(aka erixtekila)
In progress tech blog : http://blog.v-i-a.net/
Oregano XML Socket forum : http://forum.v-i-a.net/




More information about the swfmill mailing list