You have to initialize (create) the array. Same as in AS 1.0.
myArray = new Array();
This:
>> public var items_arr:Array;
Doesn't create the array, it only typecasts the variable.
hah, wicked - thought it'd be s basic error but didn't think it would
be _that_ basic ;)
thanks!
jon
--
jon bennett
t: +44 (0) 1225 341 039 w: http://www.jben.net/
iChat (AIM): jbendotnet Skype: jon-bennett
_______________________________________________
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com