[haXe] AS3 Embed in Haxe?

Johannes Strömberg johannes.stromberg at strusoft.com
Wed Jan 3 22:11:15 CET 2007


Thanks,

I was able to add an image using SWFMill and -swf-lib but when I add the 
-swf-lib statement textfields added with
createTextField are not displayed anymore. Manually drawn rectangles and 
circles do however get displayed correctly.

What am I doing wrong?

/Johannes

Nicolas Cannasse skrev:
>> Hi,
>>
>> I was looking for a way to embed images in my flash files and found the 
>> following AS3 script:
>>     
> [...]
>   
>> How do I implement this in Haxe?
>>
>> Is there a way to embed images in flash 8 files using Haxe?
>>     
>
> [Embed] works only in AS3/Flash9.
> To embed an image in haXe, you have to put your images into your SWF
> using SWFMill for example, then link your library using -swf-lib
>
> Nicolas
>
>   
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.motion-twin.com/pipermail/haxe/attachments/20070103/b8724bed/attachment.htm


More information about the Haxe mailing list