[haXe] error #2023
Nicolas Cannasse
ncannasse at motion-twin.com
Wed Aug 1 11:50:52 CEST 2007
>>>> hi list,
>>>>
>>>> Linking flex generated swf in haxe throw the following exception ..
>>>> or doesn't work at all...
>>>>
>>>> "TypeError: Error #2023: Class ...$ must inherit from Sprite to link
>>>> to the root."
>>>>
>>>> please review the attached sample, and try the swfs with a Flash
>>>> Debug Player
>>>> as class are build with flex3 mxmlc.
>>>>
>>>> any ideas ?
>>>
>>> Which exact commands are you using to build your .swf with mxmlc ?
>>>
>>> Nicolas
>>>
>>
>> /usr/local/flex3/bin/mxmlc LibOk.as
>>
>
> can you reproduce this ?
>
> any workaround ?
I could reproduce. It seems there is a problem when haXe generated SWF
loads another haXe generated SWF. I have no workaround so far.
Nicolas
More information about the Haxe
mailing list