How to create an object from 2 arrays?

Posted by Ole Jak on Stack Overflow See other posts from Stack Overflow or by Ole Jak
Published on 2010-05-23T13:31:40Z Indexed on 2010/05/23 13:40 UTC
Read the original article Hit count: 270

Filed under:
|
|
|
|

So I hava array Links and array Params with same langth N

So what I need is to create an object where for each link from Links I will be able to see param from Params

And than for example to be abble to call something like

for each( item in object) 
if (item.param == "some value") {
// some code
} else...

How to do such thing (Code exaMple, please)

© Stack Overflow or respective owner

Related posts about flex

Related posts about flash