Flex Tutorials

Flex Video Tutorials and Examples

CookieUtil

It is a small class that makes it possible to set Cookies via Actionscript without adding anything to the HTML Wrapper, all the code will be injected at runtime. I have packaged the whole thing as a ready to use flex project but feel free to use it in any other Actionscript 3 environment (Flash or pure AS3). The Util comes with methods for setting, getting and removing cookies - as mentioned before you do not have to change a single line in your wrapper, just import the class and start setting cookies from flash or flex. I have made this util because of some concerns using Flash Cookies (Shared Objects) with Internet Explorer 6 - now i do not use Shared Objects anymore if I do not really need them. I really do not know why this doesn’t come with any of the Adobe utils.

Feel free to use the util for any commercial, private or educational purposes and drop me a comment if you like it.

0 comments:

Post a Comment

Sponsors

Latest Flex Tutorials