ActionScript Code:
[FONT=Courier New][LEFT]</p>
<p>function flasher COLOR=#66cc66[/COLOR] [COLOR=#66cc66]{[/COLOR]</p>
<p> [COLOR=#0066cc]trace[/COLOR] [COLOR=#66cc66]([/COLOR][COLOR=#ff0000]“flasher running”[/COLOR][COLOR=#66cc66])[/COLOR];</p>
<p> count = [COLOR=#cc66cc]20[/COLOR];</p>
<p> [COLOR=#b1b100]for[/COLOR] [COLOR=#66cc66]([/COLOR]i = [COLOR=#cc66cc]0[/COLOR]; i < count; i++[COLOR=#66cc66])[/COLOR] [COLOR=#66cc66]{[/COLOR]</p>
<p> flashs = [COLOR=#66cc66]([/COLOR]i % [COLOR=#cc66cc]5[/COLOR][COLOR=#66cc66])[/COLOR] ? [COLOR=#ff0000]“0”[/COLOR] : [COLOR=#ff0000]“1”[/COLOR];</p>
<p> [COLOR=#0066cc]trace[/COLOR] [COLOR=#66cc66]([/COLOR][COLOR=#ff0000]“flasher=”[/COLOR] + flashs[COLOR=#66cc66])[/COLOR];</p>
<p> win11.[COLOR=#0066cc]_visible[/COLOR] = flashs;</p>
<p> [COLOR=#66cc66]}[/COLOR]</p>
<p>[COLOR=#66cc66]}[/COLOR]</p>
<p>
[/LEFT]
[/FONT]
If i am right this should make win11 flicker 4 times but it aint:confused:
I dont need to use a onEnterFrame for this do i?