Search Array with multiple values
hello,
i've been helped prototype below blemmo (thanks).
it allows me search array using 1 property == value.
now, i'd use to:
if ((prop1 == val1) &&(prop2 == val2) && (prop3 == val3) {
// search array values in array values of val1, val2 , val3
};
also, way search if 1 of prop , val's blank, ie...
((prop1 == val1) &&(prop2 == val2) && (prop3 == val3)
where prop2 , val2 "undefined"
so search search prop , val not "undefined"
make since? don't know start.
help , in advance.
i've been helped prototype below blemmo (thanks).
it allows me search array using 1 property == value.
now, i'd use to:
if ((prop1 == val1) &&(prop2 == val2) && (prop3 == val3) {
// search array values in array values of val1, val2 , val3
};
also, way search if 1 of prop , val's blank, ie...
((prop1 == val1) &&(prop2 == val2) && (prop3 == val3)
where prop2 , val2 "undefined"
so search search prop , val not "undefined"
make since? don't know start.
help , in advance.
try following returns index of element properties match values:
More discussions in ActionScript 1 and 2
adobe
Comments
Post a Comment