ActionScript Code:
[FONT=Courier New][LEFT]</p>
<p>a = [COLOR=#000000][[/COLOR][COLOR=#000000][[/COLOR][COLOR=#000080]1[/COLOR], [COLOR=#000080]2[/COLOR][COLOR=#000000]][/COLOR], [COLOR=#000000][[/COLOR][COLOR=#000080]3[/COLOR], [COLOR=#000080]4[/COLOR][COLOR=#000000]][/COLOR][COLOR=#000000]][/COLOR];</p>
<p>var so = [COLOR=#0000ff]SharedObject[/COLOR].[COLOR=#0000ff]getLocal[/COLOR]COLOR=#000000[/COLOR];</p>
<p>so.[COLOR=#0000ff]data[/COLOR].[COLOR=#000080]a[/COLOR] = a;</p>
<p>so.[COLOR=#0000ff]flush[/COLOR]COLOR=#000000[/COLOR];</p>
<p>[COLOR=#808080]// !!!</p>[/COLOR]
<p>delete so;</p>
<p>[COLOR=#808080]// !!!</p>[/COLOR]
<p>a[COLOR=#000000][[/COLOR][COLOR=#000080]0[/COLOR][COLOR=#000000]][/COLOR][COLOR=#000000][[/COLOR][COLOR=#000080]0[/COLOR][COLOR=#000000]][/COLOR] = [COLOR=#0000ff]random[/COLOR]COLOR=#000000[/COLOR];</p>
<p>traceCOLOR=#000000[/COLOR];</p>
<p>traceCOLOR=#000000[/COLOR];</p>
<p>[COLOR=#808080]//</p>[/COLOR]
<p>var so = [COLOR=#0000ff]SharedObject[/COLOR].[COLOR=#0000ff]getLocal[/COLOR]COLOR=#000000[/COLOR];</p>
<p>trace[COLOR=#000000]([/COLOR][COLOR=#ff0000]"**** **** **** !!! "[/COLOR]+so.[COLOR=#0000ff]data[/COLOR].[COLOR=#000080]a[/COLOR][COLOR=#000000])[/COLOR];</p>
<p>[COLOR=#808080]//</p>[/COLOR]
<p>[COLOR=#808080]///// </p>[/COLOR]
<p>
[/LEFT]
[/FONT]
i need to store data when a button is pressed
then it coud by that the data is altered but NOT saved
but this ****ing SO saves it whitout any interaction !