[swfmill] swf2xml question
Sebastian Lucas
delsilucas at gmail.com
Mon Oct 19 12:13:50 PDT 2009
Hi,
I was doing a tool in C with OpenGL to show simple animations on the screen.
So far I've got some animations working on it.
What I do to show them it's to parse the xml generated by swfmill.
It's good speed and it works perfect but I've a problem.
What does it mean the attributes "replace" and "morph" on the PlaceObject2
tag?
---- example start ----
<PlaceObject2 replace="0" depth="1" objectID="4" morph="1">
<transform>
<Transform transX="-4280" transY="-6429"/>
</transform>
</PlaceObject2>
<ShowFrame/>
<RemoveObject2 depth="1"/>
<PlaceObject2 replace="0" depth="1" objectID="10" morph="2">
<transform>
<Transform transX="2" transY="-262"/>
</transform>
</PlaceObject2>
<ShowFrame/>
<PlaceObject2 replace="1" depth="1">
<transform>
<Transform transX="-1" transY="-359"/>
</transform>
</PlaceObject2>
<ShowFrame/>
<PlaceObject2 replace="1" depth="1">
<transform>
<Transform transX="-4" transY="-456"/>
</transform>
</PlaceObject2>
<ShowFrame/>
---- end of example ----
This is just a simple tween action of the same MovieClip.
I thought that when Flash compiles an swf movie he writes something
like "tween from frame 1 to 40 on the object xx, from x,y to x,y" but it
seems like me and my pal were completely wrong.
For what I understand from that xml the positions of the whole tween are
there frame by frame.
So that's my second question...
Is this something related to swfmill or flash?
That's all.
Many thanks in advance.
Sebastian.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://osflash.org/pipermail/swfmill_osflash.org/attachments/20091019/e69d2d54/attachment.html>
More information about the swfmill
mailing list