Hi guys,
I have a array where I put the products id and the amount of that same product in it.
example:
cart[23443] = 1; (where the array key is the id)
when I trace the cart array, flash walks trough all the keys (from 0 to 23443) and that takes a long time.
Is there a other way to do it? like this maybey:
cart[0][id] = 23443
cart[0][amount] = 1
thnx in advance!!!:beam:
PS: How can you trace the key of an array in AS?