[swfmill] Resizing Images on Import
Mark Winterhalder
mark13 at gmail.com
Tue Nov 13 13:11:33 PST 2007
You can use @scale in <place/>, like @x and @y.
Actually importing it at 50% size would require image manipulation
capabilities that swfmill doesn't have, so you need to do that with a
separate program.
HTH,
Mark
On Nov 13, 2007 9:42 PM, Joel Poloney <jpoloney at gmail.com> wrote:
> Is there any way to resize an image when you import it? For example, in the
> following code:
>
> <frame>
> <library>
> <clip id="foo" import="library/foo.jpg"/>
> </library>
> <place id="foo" depth="1"/>
> </frame>
>
> I can translate the place tag by adding "x" and "y" params to it, but I
> haven't figured out how to resize an image on compile time. Basically, I'm
> looking to read in foo.jpg, scaled at 50% and output it at some offset. It
> would be great if foo.jpg was embedded into the swf at 50% as well (to save
> on file size).
>
> Thanks,
>
> -- Joel
>
> _______________________________________________
> swfmill mailing list
> swfmill at osflash.org
> http://osflash.org/mailman/listinfo/swfmill_osflash.org
>
>
More information about the swfmill
mailing list