A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: Retrieving Index positions of an Array objects

  1. #1
    Junior Member
    Join Date
    Sep 2008

    Question Retrieving Index positions of an Array objects

    I have an Array full with String objects. That Array is filled form an XML file.
    I need to retrieve their numerical index (0,1,2,3....) and compare that to a variable
    that is set to CHANGE event.target.selectedIndices of a List component. So,
    basically that variable is an Array with array component positions (0,1,2,3....etc.)

  2. #2
    trace("AKA: Biro Barna");
    Join Date
    Oct 2007
    PHP Code:
    var list:Array = ["one""two""three""four"];
    Last edited by fx.barrett; 10-18-2008 at 06:56 PM.

    | Windows MSN: birobarna [at] hotmail [dot] com | Skype: barna.biro |
    WebLog: http://blog.wisebisoft.com/ |
    | Software Developer / Flash & Flex Developer | Student ( Computer Science ) | Interested in: Sharing Knowledge |
    Romanian Adobe Flash, Flex, AIR Forum: http://www.flashforum.ro/
    | By perseverance the snail reached the ark. |

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Click Here to Expand Forum to Full Width

HTML5 Development Center