# How to read cookie directly?

**URL:** <https://forum.kirupa.com/t/how-to-read-cookie-directly/315562>\
**Category:** flash\
**Created:** [October 29, 2010, 3:30am UTC](https://forum.kirupa.com/t/how-to-read-cookie-directly/315562 "2010-10-29T03:30:10Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![seventy9](https://avatars.discourse-cdn.com/v4/letter/s/8e8cbc/32.png) [@seventy9](https://forum.kirupa.com/u/seventy9)\
**Post date:** [October 29, 2010, 3:30am UTC](https://forum.kirupa.com/t/how-to-read-cookie-directly/315562/1 "2010-10-29T03:30:10Z")

</div>

I need to read the contents from the browser’s cookie.  
I tried to use FlashVars to pass the contents from html to flash.  
However, the contents of the cookie may change after the swf is loaded.  
So I need to setup a listener to read the cookie directly.  
Any idea? Thanks!
