1 Reply Latest reply on Jul 23, 2006 9:01 AM by alien4m_mars

    convert variable to movieclip

    alien4m_mars
      hi i am trying to set a moveclip name

      this is my code

      var selectedColor:String = "green"
      var mcNew:MovieClip = "_root.mcFigures.mcColor"+selectedColor;
      mcNew._visible = false

      how do i get the moveclip name "_root.mcFigures.mcColorgreen"

      please help

      thanks