1 Reply Latest reply on Apr 2, 2008 3:13 PM by 0degreesK

    Sending MovieClip name as function argument

    0degreesK
      I have a form in Flash that contains twenty form fields comprised of a MovieClip.TextField pair. Each field has a unique parent MovieClip name and a common TextField name. Upon submission of the form, I want to write the data contained in each field to an array.

      Rather than write the same if-else if-else loop for each field, I would like to write a function that accepts the unique MovieClip name as an argument. Attached is a simplified version of my code. What am I doing wrong?!?