2 Replies Latest reply on Mar 30, 2007 7:08 AM by mae_ling

    Simple setStyle question

      I am trying to learn how to edit the styles of components in Flash 8. I found a simple exercise where I opened a new document, placed a Scroll Pane component on the stage, named it myScrollPane, and then frame 1 I put in the following Action Script -

      myScrollPane.setStyle("backgroundColo ","0x003366");

      It was supposed to change the back ground color, but when I tested the movie it remained white.

      Is there something basic I'm missing here? Are there overriding global styles I'm not aware of, or additional script needed to edit the styles?

      Any help would be appreciated.