1 Reply Latest reply on Jun 21, 2006 3:36 AM by Newsgroup_User

    flash components

      i want to know how to change the style of a flash compnent. For eg, if i am using an LiST component and i want to use the alternatingRowColors style, then wht is the syntax for that.
      SUGGEST me some site which have trutorials on this topic.

        • 1. Re: flash components
          Level 7
          sprite(x).rowHeight = 16
          sprite(x).setStyle("fontFamily", "Verdana")
          sprite(x).setStyle("fontSize", 9)

          for alternatingRowColors you have to set two colors via the flash object:

          tmp = sprite(x).newObject("Array")
          tmp[0] = 00000100
          tmp[1] = 00000200
          sprite(x).setStyle("alternatingRowColors", tmp)