Right very strange. If i attach a movie to the _root it works but if i target and mc within an mc on the _root timline it dosnt work.
example
Works:
ActionScript Code:
[FONT=Courier New][LEFT]</p>
<p>function getTrippin COLOR=#66cc66[/COLOR] [COLOR=#66cc66]{[/COLOR]</p>
<p> [COLOR=#0066cc]trace[/COLOR] [COLOR=#66cc66]([/COLOR][COLOR=#ff0000]“running tripper”[/COLOR][COLOR=#66cc66])[/COLOR];</p>
<p> trips = [COLOR=#cc66cc]52[/COLOR];</p>
<p> nextX = [COLOR=#cc66cc]0[/COLOR];</p>
<p> nextY = [COLOR=#cc66cc]0[/COLOR];</p>
<p> [COLOR=#b1b100]for[/COLOR] [COLOR=#66cc66]([/COLOR]count = [COLOR=#cc66cc]0[/COLOR]; count < trips; count++[COLOR=#66cc66])[/COLOR] [COLOR=#66cc66]{[/COLOR]</p>
<p> [COLOR=#0066cc]_root[/COLOR].[COLOR=#0066cc]attachMovie[/COLOR] [COLOR=#66cc66]([/COLOR][COLOR=#ff0000]“trip”[/COLOR], [COLOR=#ff0000]“trippin”[/COLOR] + count, count[COLOR=#66cc66])[/COLOR];</p>
<p> [COLOR=#0066cc]_root[/COLOR][COLOR=#66cc66][[/COLOR][COLOR=#ff0000]“trippin”[/COLOR] + count[COLOR=#66cc66]][/COLOR].[COLOR=#0066cc]_x[/COLOR] = nextX;</p>
<p> [COLOR=#0066cc]_root[/COLOR][COLOR=#66cc66][[/COLOR][COLOR=#ff0000]“trippin”[/COLOR] + count[COLOR=#66cc66]][/COLOR].[COLOR=#0066cc]_y[/COLOR] = nextY;</p>
<p> nextX += [COLOR=#0066cc]_root[/COLOR][COLOR=#66cc66][[/COLOR][COLOR=#ff0000]“trippin”[/COLOR] + count[COLOR=#66cc66]][/COLOR].[COLOR=#0066cc]_width[/COLOR];</p>
<p> [COLOR=#0066cc]trace[/COLOR] [COLOR=#66cc66]([/COLOR][COLOR=#ff0000]“nextX=”[/COLOR] + nextX[COLOR=#66cc66])[/COLOR];</p>
<p> [COLOR=#66cc66]}[/COLOR]</p>
<p>[COLOR=#66cc66]}[/COLOR]</p>
<p>
[/LEFT]
[/FONT]
Dosnt work:
ActionScript Code:
[FONT=Courier New][LEFT]</p>
<p>function getTrippin COLOR=#66cc66[/COLOR] [COLOR=#66cc66]{[/COLOR]</p>
<p> [COLOR=#0066cc]trace[/COLOR] [COLOR=#66cc66]([/COLOR][COLOR=#ff0000]“running tripper”[/COLOR][COLOR=#66cc66])[/COLOR];</p>
<p> trips = [COLOR=#cc66cc]52[/COLOR];</p>
<p> nextX = [COLOR=#cc66cc]0[/COLOR];</p>
<p> nextY = [COLOR=#cc66cc]0[/COLOR];</p>
<p> [COLOR=#b1b100]for[/COLOR] [COLOR=#66cc66]([/COLOR]count = [COLOR=#cc66cc]0[/COLOR]; count < trips; count++[COLOR=#66cc66])[/COLOR] [COLOR=#66cc66]{[/COLOR]</p>
<p> win11.[COLOR=#006600]holder[/COLOR].[COLOR=#0066cc]attachMovie[/COLOR] [COLOR=#66cc66]([/COLOR][COLOR=#ff0000]“trip”[/COLOR], [COLOR=#ff0000]“trippin”[/COLOR] + count, count[COLOR=#66cc66])[/COLOR];</p>
<p> win11.[COLOR=#006600]holder[/COLOR][COLOR=#66cc66][[/COLOR][COLOR=#ff0000]“trippin”[/COLOR] + count[COLOR=#66cc66]][/COLOR].[COLOR=#0066cc]_x[/COLOR] = nextX;</p>
<p> win11.[COLOR=#006600]holder[/COLOR][COLOR=#66cc66][[/COLOR][COLOR=#ff0000]“trippin”[/COLOR] + count[COLOR=#66cc66]][/COLOR].[COLOR=#0066cc]_y[/COLOR] = nextY;</p>
<p> nextX += win11.[COLOR=#006600]holder[/COLOR][COLOR=#66cc66][[/COLOR][COLOR=#ff0000]“trippin”[/COLOR] + count[COLOR=#66cc66]][/COLOR].[COLOR=#0066cc]_width[/COLOR];</p>
<p> [COLOR=#0066cc]trace[/COLOR]COLOR=#66cc66[/COLOR]</p>
<p> [COLOR=#66cc66]}[/COLOR]</p>
<p>[COLOR=#66cc66]}[/COLOR]</p>
<p>
[/LEFT]
[/FONT]
Anyone??? i am gazumped