Thanks Adrian, your code works exactly like mine "should" but for some
reason mine doesnt get the same results (though its the same code) ;)
Mike Boutin
Adrian Lynch wrote:
Just took your code and plonked it in a new .fla and it works for me. Is
anything else happening in the movie or any i
The movie the script is in gets loaded into another movie. I can trace
out _root.cat_color[0] etc... with no problems, even doing so in the for
loop outputs proper values for _root.cat_colors[i]. If i trace out
tempColor.length after the split, it always comes back undefined, thus
the loop aft
Just took your code and plonked it in a new .fla and it works for me. Is
anything else happening in the movie or any included movies?
See it here: http://www.adrianlynch.co.uk/temp/colours.fla
Ade
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Mike
Boutin
I tried it like you said, putting them in different frames, and it works
fine for me.
Frame 1:
_root.cat_colors = new Array();
_root.cat_colors[0] = "bob,john,betty";
Frame 3:
for (i=0; i<_root.cat_colors.length; i++) {
trace("String: "+_root.cat_colors[i]);
var tempColor:Array = _root.
4 matches
Mail list logo