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 <[EMAIL PROTECTED]> 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@osflash.org
> http://osflash.org/mailman/listinfo/swfmill_osflash.org
>
>

_______________________________________________
swfmill mailing list
swfmill@osflash.org
http://osflash.org/mailman/listinfo/swfmill_osflash.org

Reply via email to