Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
this week in the
Joined: May 17, 2001
Mar 05, 2005 18:21:00
Is there an object in ActionScript which will behave something like a
? I am trying to store some data into an array using
var myArray:Array=new Array(); myArray.push(strKey,Object);
I am storing multiple keys object pairs this way, but now I am wondering how to get the object from the array using the key like with a hashmap? Can I do something like
Object obj = myArray.get(strKey);
I am trying to avoid looping through the array.
Thanks for any advice.
Have you checked out
singleton class or to have a static variable in a class
comaparing two arrays
singleton class or to ahve a static variable inside a class
Cast Object to Object
Map Backed Form Bean
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015