Help with cookies

Hi, when should i call the setCookie() function for it to be functionnal?

All i want is to put a cookie on the hard drive, but i don’t know when and where to call the function.

Thx.

Kirupa has a tutorial on Cookies for Flash MX… check it out here…

http://www.kirupa.com/developer/mx/sharedobjects.asp