2 Replies Latest reply on Feb 20, 2007 3:59 AM by Like2Flex

    Problem to display items from an Array

    Like2Flex Level 1
      I have a comma delimited list called "listtest".

      I have put each item of the list in an Array called "params".
      Now I am using a "for" loop to get each item of the Array.
      I tried the code below but am not getting the items.

      See code below :

      var params:Array = listtest.split(",");

      for(var i: int = 0; i< params.length; i++){
      Alert.show(new String(params ));
      Alert.show(new String(params
      .displayName));
      }

      Can anyone tell me how to get the items in the Alertbox.

      Thx