1 Reply Latest reply on Dec 13, 2006 12:09 PM by Newsgroup_User

    how to change the color of text to an swf file

    Level 7
      Hello:
      In a menu of four options (each option is only text) I would like to change
      the color of the text that is clicked., the menu is a group. Can you hep me
      please?
      thank you


        • 1. Re: how to change the color of text to an swf file
          Level 7
          Anne wrote:
          > Hello:
          > In a menu of four options (each option is only text) I would like to change
          > the color of the text that is clicked., the menu is a group. Can you hep me
          > please?
          > thank you
          >
          >
          Assuming each option is an individual text member in its own sprite...

          on mouseEnter me
          cursor 280
          sprite(the currentSpriteNum).color = rgb(255,0,0)
          end

          on mouseLeave me
          cursor -1
          sprite(the currentSpriteNum).color = rgb(0,0,102)
          end

          on mouseDown me
          sprite(the currentSpriteNum).color = rgb(0,0,0)
          end

          on mouseUp me
          cursor -1
          sprite(the currentSpriteNum).color = rgb(0,0,102)
          go to frame "StartMovie" of movie "Chapter1" -- or whatever you want
          to do here
          end