JS Made Easy.com  
Search This Site:
Script Categories >> Cookies >> Stop Flash Banner Animation with Cookies

Stop Flash Banner Animation with Cookies

Have you ever wanted to create a flash banner in the header of your website, however with the movement of the animation you have designed the header as a static image so that the header does not interfere with the users ability to focus on the content of your page. This tutorial will show you how to overcome the situation above. The user will see the flash animation once, returning to the page the animation will not play. In order to accomplish this you will need to write a short JavaScript to write a cookie. When the user returns to a page containing the animation the JavaScript within the page will look for a cookie, if one appears then the JavaScript will control the flash player and stop the movie.

Rating 3 stars of 5 (3 stars of 5; 6 votes)     |    
 
Compatibility All
Price Free
Visits 533   ( ~ 0.07/day)
Date Added 3/4/2003
Web Site URL http://peacock.mjsd1.ca/~jboulton/cs/js/cookies_flash2.shtml