FLASH in the String.

onClipEvent (enterFrame) (
oldRGB = _parent.myColor.toString (16); / / extract COLOR hexadecimal string
a1 = trace (oldRGB.slice (0,2));
a2 = trace (oldRGB.slice (2,4));
a3 = trace (oldRGB.slice (4,6));
a1 = _parent.a1.getRGB ();
a2 = _parent .a2.getRGB ();
a3 = _parent.a3.getRGB ();
a1 = a1 +10;
a2 = a2 +10;
a3 = a3 +10;
newRGB = a1 + a2 + a3;
newRGB = newRGB.toString (16)
newRGB = “0x” + newRGB
_parent.myColor.setRGB (newRGB);
)
help I look at where you wrong?
Stage has been set up a component

Leave a Reply