Hi, your question is not clarifying enough. Can you send the original code and explain briefly what you want.
I think you can do the same using for loop. In your question you are checking data.d[1] == '1' for both image1 and image2. Why? If your values in data.d array then why don't you check with for loop? Regards, Sumant --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Flex India Community" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/flex_india?hl=en -~----------~----~----~----~------~----~------~--~---

