Hi,
Why this code is not working…
Here I have a movie clip named ‘mainmovie’ in the scene. And inside that movie I have a text box named ‘textBox’ Look at this code the movie is duplicating in my code but the value is not coming inside the text box… I don’t know why?
[AS]
[COLOR=#993300]for[/COLOR][COLOR=#000000]([/COLOR]i = [COLOR=#000000]0[/COLOR]; i<[COLOR=#000000]10[/COLOR]; i++[COLOR=#000000])[/COLOR][COLOR=#000000]{[/COLOR]
[COLOR=#993300]var[/COLOR] dupmov = [COLOR=#0000ff]“dupmov”[/COLOR] + i;
[COLOR=#993300]_root[/COLOR].[COLOR=#000000]mainMovie[/COLOR].[COLOR=#993300]duplicateMovieClip[/COLOR][COLOR=#000000]([/COLOR]dupmov, [COLOR=#000000]20[/COLOR]+i, [COLOR=#000000]{[/COLOR][COLOR=#993300]_x[/COLOR]:[COLOR=#000000]10[/COLOR] * i , [COLOR=#993300]_y[/COLOR]:[COLOR=#000000]10[/COLOR] * i[COLOR=#000000]}[/COLOR][COLOR=#000000])[/COLOR];
[COLOR=#993300]_root[/COLOR].[COLOR=#000000]dupmov[/COLOR].[COLOR=#000000]textBox[/COLOR].[COLOR=#993300]text[/COLOR] = [COLOR=#0000ff]“abc”[/COLOR];
[COLOR=#000000]}[/COLOR]
[COLOR=#000000][AS][/COLOR]