[swfmill] Feature proposal

AJ jackson1 at ut.ee
Thu Jul 14 05:59:10 PDT 2005


Hi all.

Here is my proposal for swfmill's "simple" mode.
It's all about <place ...> tag, about it's four attributes:
    - x
    - y
    - width
    - height
Proposal definition: allow to use "0-100%" as values of these 
attributes. Example:
<place id="someId" name="myFoobar" x="5%" y="5%" width="95%" height="95%"/>
While parsing swfmill will replace values like "...%" with according 
numbers, for x and y It's
    x = 0.05*width_of_parent_movie_clip
    y = 0.05*height_of_parent_movie_clip
for width and height it would change the _xscale and _yscale to
    _xscale = 0.95*width_of_parent_movie_clip/width
    _yscale = 0.95*height_of_parent_movie_clip/height

I have plenty ideas like that, for example deltaX, deltaY or 
deltaHeight, deltaWidth additional attributes, which rescue you if you 
have 1000 templates in .swfmill format and .swf's dimensions for example 
are changed, so you have to go through each of them and change according 
numbers.

I also know that it could be done by any other application with 
xml-parsing abilities before giving it to swfmill... but anyway.
Maybe some kind of swfmill utils application would do that.

If anyone is interested then let's discuss it.

AJ






More information about the swfmill mailing list