Hi bart,
Tnx for helping me finding out it's a flash 7 bug. If I copy the flash 8
implementation to my flash 7 dir it works fine ;)
Greetz & thanks again
Hans 


 
________________________________


J.C. Wichman . Software Engineer
Tel. +31 (0)53 - 48 00 472
[EMAIL PROTECTED] 
www.TriMM.nl
TriMM interactieve media . PO Box 1208 . 7500 BE Enschede . The Netherlands 
Oldenzaalsestraat 141-143 . tel +31 (0)53 - 48 00 480 . fax +31 (0)53 - 43
53 027
 

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Bart
Wttewaall
Sent: Tuesday, January 31, 2006 6:51 PM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] extending collectionimpl

I don't seem to have a problem with it.

Succes, Bart

// --

class Col extends mx.utils.CollectionImpl {
        
        function Col() {
                super();
                _items = new Array();
        }
        
}

// --

import Col;
var col = new Col();

col.addItem("hello");
col.addItem("world");

var it = col.getIterator();
while (it.hasNext()) {
        var item = it.next();
        trace(item);
}

2006/1/31, j.c.wichman <[EMAIL PROTECTED]>:
> Hi,
> im trying to extend mx.utils.CollectionImpl but it doesn't seem to work.
> Is there a  restriction to intrinsic classes im not aware of?
>
> greetz
> Hans
> _______________________________________________
> Flashcoders mailing list
> [email protected]
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to