[swfmill] import plain image without <clip />
Jan Viehweger
forum at jan-viehweger.de
Tue May 13 10:47:10 PDT 2008
Ralf Fuest schrieb:
> 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
>>
>
>
>
> _______________________________________________
> swfmill mailing list
> swfmill at osflash.org
> http://osflash.org/mailman/listinfo/swfmill_osflash.org
>
>
hi ralf,
thanx for your quick help - it works great!!!
best regards
jan
More information about the swfmill
mailing list