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");
Tab1 = (colorchange.getRGB()).toString(16);
Thank you in advance.
applying actionscript to a movieclip will break timeline tweening.
to remedy, either
1. use actionscript to change the color and tween the movieclip or
2. create a parent movieclip that you tween and use actionscript to change the color of the child movieclip.
You are my changing-colour-movie-clip God!