[swfmill] import plain image without <clip />
Ralf Fuest
ralf-fuest at gmx.de
Tue May 13 09:32:14 PDT 2008
Simply replace the clip tag with a bitmap tag.
I'm not sure about AS3, but in haXe you can simply define the class to
access it from code.
swfmill:
<bitmap id="Foo" import="bar.png"/>
haXe:
class Foo extends flash.display.BitmapData {}
Ralf
> hi list,
>
> i need to import plain images (jpg & png). with <clip import="foo.jpg"
> /> swfmill allways generates mc & shapes in my library.
> is it possible to import images without the automatic generation of
> these clips? i mean i just want to have the images in the lib, nothing else.
> furthermore the imported images have to be associated with an custom
> class and the base class flash.display.BitmapData in order to use the
> addChild() method in my code.
>
> thanx for help
>
> jan viehweger
More information about the swfmill
mailing list