5 Replies Latest reply on Jul 28, 2008 8:12 AM by kglad

    Using TextFormat() on dynamic text instance within a button

      I've created a button with instance btn_On on stage in the main timeline. The text "On" in the button's timeline in the Up state is dynamic with instance txt_On. I'm having trouble changing the text's properties as I can't navigate to it using dot syntax. I've created a simple trace() statement to see if txt_On is recognized using the code below, but the Output window says "undefined." How do I get this to work?


      To change the color of txt_On in the Up state of btn_On, I use the following code, but it does not work: