Hey I tried that, nothing happens when I run it..
so I altered it and tried this...
Code:
if (_root.my_txt.length == 6) {
d = '0x'+_root.my_txt;
d = parseInt(d, 16);
var c = new Color(_root.my_mc);
c.setRGB(d);
}
all that did was turn the mc black every time.
Anyways this is exactly what I did...
Put your (unaltered)code in frame 2.
Frame one I put stop();
On frame one and two there is a
MC instance name: my_mc
and an
input text, instance name: my_txt
I run the program, type in 00DDBB, right click and play.... nothing happens.
I know I'm triple posting, sorry, but I still haven't figured this out, I need, probably that same code nunomira gave me, but converted for Flash MX.
Plz nunomira could you convert that fla. to Flash MX, actionscript 2.0
Or somebody else help? plz?