An "associative array" has nothing to do with Array. It was a bad choice of names, they should have just called it a "hash table".
Tracy Spratt, Lariat Services, development services available _____ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of benjamine_df Sent: Friday, October 30, 2009 10:20 AM To: flexcoders@yahoogroups.com Subject: [SPAM] [flexcoders] Re: Flexbuilder doesn't give compile error when using a undeclared variable, methods Compile time we don't need to check for data, we only need to check for declared variable, method class etc. So I am in favour for what java is doing. It will help to catch the errors during compile time I think flex allows this because of associative arrays. var data:object = new Object(); new data.length means data['length'] Is there any way I can tell flex compiler that don't assume objects as associative array unless I specifically declare as Array.