3 Replies Latest reply on Dec 22, 2010 5:16 PM by Flex harUI

    ActionScript instantiated component id not found?

    learner_doug Level 1

      We have to populate the "stage" about 40 different times during this application via menu choices.  Each time someone chooses a different menu choice we need to re-populate the stage with new graphics, TextAreas etc.  But when I instantiate the TextAreas in AS, rather than in a component,  my external AS application that "feeds" in the actual text string, can't seem to find the "id" of that TextArea and throws an error.  Is the id property not settable in AS?  I'm trying to find a way to add all the elements through code so I don't have to pre-establish very many objects on my stage.