On 10/10/06, Hans Wichman <[EMAIL PROTECTED]> wrote:
Hi, and one other note,don't do: class ArrayTest { public var items_arr:Array = []; } becoz that will be the same as : class ArrayTest { public static var items_arr:Array = []; } initialize the array in your constructor instead. greetz JC ps flash bug
Not so much a bug as a feature of the fact that the language is prototype based. See here for more info: http://www.osflash.org/flashcoders/as2#why_does_my_initializer_get_shared_across_all_instances_like_it_s_static (watch for line wraps) Ian _______________________________________________ [email protected] 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

