[swfmill] swfmill - need help getting started.

daniel fischer dan at f3c.com
Thu Jan 18 09:22:14 EST 2007


Hey Gernot,

next time, please post your questions to the mailing list. The Answers might be helpful for others, too.

"Gernot Frisch" <gf at glbasic.com> (on Tue, 16 Jan 2007 16:16:00 +0100 (MET)):

  > I'm currently writing a very easy to use program for small kids to create stop-motion movies. I saw your program and was totally
  > amazed how great this would fit into my project. I got a "Sprite" (Clip?) moving and with set framerate it works great.
  > 
  > However, I have  afew questions left, which I can't find any information to.
  > Is there any site describing the swfml format you are using?

there is a rough draft on http://www.swfmill.org/doc/reference.html . It might be a bit outdated, though.. 

  > So far my concerns:
  > - how to rotate a clip
  > - how to zoom a clip

Assuming you dont want to use script code, you can insert a <Transform> within a <PlaceObject2> tag. It might be best to construct a simple SWF in the Flash IDE and swf2xml it to learn. Zooming can be accomplished easily, but rotation will be a combination of scale and skew. Look up some 2d matrix maths to do it :)


  > - how to play a sound (mp3) at the beginning of a clip

I have no idea, sorry. Oh wait, there is <StartSound>, that might help. You'll have to take care of the objectIDs yourself, though. Or you could sponsor improvement in the area.


  > - is it possible to have smooth movement between 2 frames, or
should I raise frame rate? 

A frame is a frame (is a frame). The flash player doesnt put new frames inbetween the ones you define. You might want to fiddle with morph shapes.

hth,
-dan


-- 
http://0xDF.com/
http://iterative.org/



More information about the swfmill mailing list