Local Shared Object not working in Firefox 2

This is a discussion on Local Shared Object not working in Firefox 2 within the Macromedia Flash forums in Adobe Tools category; I'm using a local shared object in my flash animation so that the animation plays only once per user visit. It works fine in IE 6/7, but doesn't work at all in FF (the movie still plays when I refresh the homepage, or come back to the homepage from another page). This is what I'm using: var my_so = SharedObject.getLocal("animationPlayed"); if (my_so.data.played == undefined) { my_so.data.played = true; my_so.flush(); } else { gotoAndStop(258); } // end else if clearLSO_btn.onRelease = function () { my_so.clear(); }; stop (); And this is the site: http://qualitycateringforkids.com/default.aspx Any ideas? Thanks RK...

Go Back   Application Development Forum > Adobe Tools > Macromedia Flash

Object Mix

Register FAQ Calendar Search Today's Posts Mark Forums Read
  #1  
Old 10-13-2008, 07:44 PM
ricking
Guest
 
Default Local Shared Object not working in Firefox 2

I'm using a local shared object in my flash animation so that the animation
plays only once per user visit. It works fine in IE 6/7, but doesn't work at
all in FF (the movie still plays when I refresh the homepage, or come back to
the homepage from another page).

This is what I'm using:

var my_so = SharedObject.getLocal("animationPlayed");
if (my_so.data.played == undefined)
{
my_so.data.played = true;
my_so.flush();
}
else
{
gotoAndStop(258);
} // end else if
clearLSO_btn.onRelease = function ()
{
my_so.clear();
};
stop ();


And this is the site:
http://qualitycateringforkids.com/default.aspx

Any ideas?
Thanks
RK

Reply With Quote
Reply


Thread Tools
Display Modes


All times are GMT -5. The time now is 12:45 AM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
vB Ad Management by =RedTyger=

In an effort to better serve ads to our visitors, cookies are used on objectmix.com. For more information, check out our Privacy Policy.