[Laszlo-dev] Mixins in swf9
Donald Anderson
dda at ddanderson.com
Sat Apr 19 05:21:48 PDT 2008
Hi Andre.
It was implemented for SWF9, and I have examples that work.
The functions appearing in the interface must be declared 'public',
and that is not the case here.
- Don
On Apr 19, 2008, at 7:02 AM, André Bargull wrote:
> Mixins produce only an empty interface declaration for swf9? The
> description of LPP-5266 says:
>> 1) It should output an `interface`, that consists of the signature
>> of the mixin, i.e., all the method declarations. This will make it
>> so `instanceof` can work on mixins.
>
> So (1) wasn't implemented? For example LzDataElementMixin will be
> transformed to:
>> package {
>> interface LzDataElementMixin {
>> }
>> }
>
> But I've expected:
>> package {
>> interface LzDataElementMixin {
>> function insertBefore (newChild, refChild);
>> function replaceChild (newChild, oldChild);
>> function removeChild (oldChild);
>> [...]
>> }
>> }
>
--
Don Anderson
Java/C/C++, Berkeley DB, systems consultant
voice: 617-547-7881
email: dda at ddanderson.com
www: http://www.ddanderson.com
More information about the Laszlo-dev
mailing list