3 Replies Latest reply on Nov 13, 2009 1:52 PM by kglad

    MC colour changing

    MonkeyFace999

      I have this code in a function to change the colour of a mc called Tab1.  It works fine.  But when the mc is tweened it doesn't move.  If I don't change it's colour with this function it tweens fine.  What have I done wrong?

       

      colorchange = new Color("/Tabs_mc/Tab1"); 
      colorchange.setRGB(genHex()); 
      Tab1 = (colorchange.getRGB()).toString(16);

       

      Thank you in advance.