[haXe] flash 9 - linking assets library problem

Boris Barzitz bartzitz at gmail.com
Mon Feb 19 15:22:21 CET 2007


moving the asset class out from a package fixed it, thanks a lot!

Boris

Nicolas Cannasse wrote:
>> i'm having problems with linking my assests from sfw though:
>>
>> * -swf-lib assets.swf added to compile options (no output regarding
>> linking assets.swf though in -verbose output, should it be there?)
>> * assets were published from flash 8 and 9 IDEs, with both AS2 and AS3
>> publish options
>> * empty classes were created for each asset, named according to linkage
>> id. also tried haxe --gen-hx-classes and added generated classes to
>> classpath.
>>
>> when playing the movie i get a:
>>
>> Reference error #1065: Variable ButtonDone is not defined (ButtonDone is
>> linkage id).
>>
>> any ideas?
> 
> Did you defined the empty ButtonDone class ? with no package ?
> 
> Nicolas
> 



More information about the Haxe mailing list