1 Reply Latest reply on Jun 6, 2008 2:32 AM by Noelbaland

    reading array value

    phil1943 Level 1
      Hello, I have a sprite object which contains a textfield.
      I have saved that sprite into an array.
      How do I construct a trace statement to read the value of the textfield within the sprite, within the array.

      thanks for any help.
        • 1. Re: reading array value
          Noelbaland Level 1
          Hello there,

          In Actionscript 3 you would trace it out like this...


          spriteArray[0] // First item in array
          getChildAt(0) // First object of item
          .text // First object's text property

          Hope that helps