Hi all
i want to ask something about alternatif if else function

i've 100 checkbox that  the syntax

if(data.d[1] == '1')
      image1.visible = true;
                else
      image1.visible = false;
if(data.d[1] == '1')
       image2.visible = true;
                else
      image2.visible = false;
and   i must writer until 100 times

how to make it more simple?
Thanks
cholid.r

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to