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
Both of these load no problems in my FF3
Similar Messages
-
Shared Object not working in FF 2.0
Hi all,
anyone with experience with Shared Object finding issues
getting it to work
with FireFox?
var my_so:SharedObject = SharedObject.getLocal("visited",
if (my_so.data.newVisitor != undefined) {
//object exists: return user
_root.gotoAndStop("skip");
} else {
//object doesn't exist: new user
my_so.data.newVisitor = "no";
my_so.flush();
_root.play();
It works fine in IE. Any insight is greatly appreciated.
-chris
Adobe Certified Expert
www.keyframer.com
www.mudbubble.com
(if you want to email me, don't look)Does your SCC timecode begin at 1 hr or 0 hr? If the former, try the latter.
-
AS3 getRemote shared object not working
Hey,
I am having trouble with my shared object. It shows up as a
SO in the FMS console however the .data does not show up in debug
mode. I think the problem may be in the object Encoding. The onSync
event is called only once it connects but is not called again. And
when I call it, it traces back undefined.
Any help please?
Cheers,
Pablo
import flash.events.MouseEvent;
import flash.events.NetStatusEvent;
import flash.net.SharedObject;
import flash.net.ObjectEncoding;
NetConnection.defaultObjectEncoding=ObjectEncoding.AMF0;
var nc:NetConnection=new NetConnection();
nc.objectEncoding = ObjectEncoding.AMF0;
nc.addEventListener(NetStatusEvent.NET_STATUS, netStatus);
nc.addEventListener(SecurityErrorEvent.SECURITY_ERROR,
netSecurityError);
nc.connect("rtmp://***.***.**.**/test");
var mySO:SharedObject= SharedObject.getRemote("mySO", nc.uri,
false);
this.mySO.addEventListener(SyncEvent.SYNC, mySync);
this.mySO.connect(nc);
//var xPos:Number = ball_mc.x;
this.mySO.data.xPosD=Number(60);
status_txt.text="Not Connected";
function netStatus(e:NetStatusEvent):void {
var info:Object =e.info;
if (info.code=="NetConnection.Connect.Success") {
status_txt.text="Connected";
function netSecurityError(e:SecurityErrorEvent):void {
//trace("netSecurityError: "+ e);
status_txt.text="Security Error";
var xPos:Number;
function mySync(e:SyncEvent):void {
xPos=e.target.data.xPosD;
trace("Sync xPosD: "+e.target.data.xPosD);
ball_mc.addEventListener(MouseEvent.MOUSE_DOWN, mouseD);
function mouseD(e:MouseEvent):void {
e.target.startDrag();
ball_mc.addEventListener(MouseEvent.MOUSE_UP, mouseU);
function mouseU(e:MouseEvent):void {
e.target.stopDrag();
this.mySO.data.xPosD=ball_mc.x;
}I am using AS3 on FMS 2
-
Problem Assigning Local Shared Object
I have created a swf that increments a dollar amount every
five seconds. My clients want this dollar counter to be consistent
between HTML pages. That is where the local shared object comes in.
I can create it fine, and even read it (I know this by a trace() I
used). But for the life of me I can't get the value from the shared
object passed to the dynamic text field as soon as the swf is
loaded. It always starts at the beginning increment of 0.192!
I'm pretty sure what is messing me up is either the function
that formats the number to a dollar format or the function that
increments the dollar value up every five seconds and saves that
value to the shared object.
Using the code below, you can create a flash file with a
dynamic text labeled 'money' and the actionscript copied into the
first frame on the timeline.
Any help would be great appreciated!aasimmomin wrote:
> Hi,
>
> I have 2 files *.swf files. The first one is creating a
shared object while
> the second one reads the created shared object.
> The files works perfectly on my local machine and on my
server, but the second
> file is not able to read the shared object on the
client's server.
> Although both files work perfectly well on the client's
local machine.
>
> I have checked and found that there is no synchronizing
problem between the
> writing and reading of the shared object.
>
> Could there be some settings on the client's server
which may be missing?
do not post same question to multiple forums, post in one and
stick to it.
http://www.adobe.com/support/forums/guidelines.html
Adobe forums posting guidelines
When posting messages...
- in DON'T Section :
Don't cross-post or double-post. Posting a message to more
than one forum (i.e "cross-posting" is
unnecessary, and creates extra traffic for you and others to
read through. If you've already posted
a question, please don't repeat your posts in order to get
more attention- this makes it very
difficult for others to see if and/or where your question was
answered.
Regards
Urami
Happy New Year guys - all the best there is in the 2006 :)
<urami>
http://www.Flashfugitive.com
</urami>
<web junk free>
http://www.firefox.com
</web junk free> -
Flash drag and drop not working on Firefox for android browser
Drag and drop functionality is not working using Firefox Browser for Android on tablet. We tested with flash action script 2.0 & 3.0 content, both have same issue. Specs of the tab and OS are as follows.
Android - Kitkat 4.4.2
Tab models - Lenovo A7600H and Samsung Tab4 T531
Please refer to a previous case raised on the same issue here at this link (Case 1029615) - https://support.mozilla.org/en-US/questions/1029615
Additionally, we observed that the object on which Drag and Drop event was triggered, is moving little bit when we double tap.
Does Firefox provide any libraries to support Drag and Drop functionality on Flash? We are using Geekoview api to execute flash content in our app. Will the same support be provided in Geekoview as well?
Are there other folks facing the same issue? Is there a solution or workaround to get this feature running?Flash on Android is no longer supported by Adobe. While Firefox does support basic functionality we mainly focus on legacy video applications. You may run into issues with Flash and Geckoview. I doubt we have any resources to support that configuration.
-
Npapi or webkit plugin are not working in firefox
I have a Webkit plugin and NPAPI plugin. Both work fine in Safari but just would not work in Firefox (Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3) .
about:plugins shows it as installed but when I try to access it from html page none of the entry points in a code are being called.(None of trace statement are being hit)
I think Firefox has problem loading those plugins.
I have similar NPAPI plugin working fine in Windows environment on all browsers, but MAC is giving me this problem.
Does anyone has any ideas of what could be the problem?
I even took a BASICPLUGIN sample for MAC and it has the same problem. Anyb
== This happened ==
Every time Firefox openedChristofer,
I solved my problem after not getting any responses.....
Turns out that some of my xcode compilation switches had to be changed, send me your minimal code that I can compile and i will help you finding it......My NSAPI plugin works just great with all mac browsers....in fact it is the same code excatly as i have for windows, just had to rename some files from .cpp to .m so that I could yuse some cocoa objects....
Mark -
LOCAL SHARED OBJECT in CAIRNGORM
Hi,
I am new to Cairngorm framework.
I want to use Local shared object in Cairngorm framework,I am confused where i have to create and where i will get data and how i can add to lso.
If any example or suggestions to use Local shared object It is helpful for me.
Thanks in Advance.
Regards
NareshHi,
I am also new to flex.
But here is what I think.
You may want put it into servicelocator since sharedobject is not part of you cilent datamodel.
Use delegate to update your modellocator with value from sharedobject.
Hope it can help.
If you solved the problem, pls also post it and we can learn together:)
Best -
Shared object not found.
Installed Oracle 10g on SUSE 9.2 server. When I reboot, Oracle does not come up. I get the error Shared object not found. The object it is looking for is libhasgen.so. I verified that this library exists on the system.
Does any one have any ideas?
Thanks
Kasupublish the one that doesnt work to AS2 and see
-
Paypal plug-in does not work on Firefox
As with others I see, the Paypal plug-in does not work with Firefox
== This happened ==
Every time Firefox opened
== When I downloaded the appThis is a Paypal problem. Paypal has not updated their plugin to be compatible with Firefox 3.6.x. See the following (read the last paragraph):
[https://www.paypal.com/helpcenter/panels/solution/printSolution.jsp;jsessionid=tSQcMKWGhpC1gF5TscjTvqGgR89SSQy40mWymRYM12RX2PVG6rTL!1610223101?t=solutionTab&ft=browseTab&locale=en_US&brand=&segment=&ps=solutionPanels&solutionId=39780&highlightInfo=highlightInfo&viewMode=NORMAL&windowType=SAME&isRecord=false&highlightInfo=highlightInfo&t=solutionTab&ft=browseTab&ps=solutionPanels&locale=en_US&_dyncharset=UTF-8&countrycode=US&cmd=_help&serverInstance=9024&viewMode=NORMAL&windowType=SAME&highlightInfo=&isRecord=false&no_strip= What is the PayPal Plug-In and how does it work?]
I have seen some users posting that the plugin works with Firefox 3.5.x -
Can Local Shared Objects Be Moved to a New Computer?
We are awaiting the arrival of our new computer. My 8-year old son is concerned that when he plays his favorite Flash games on the new computer, the games won't remember his previous score or level in the game.
I understand that this information is typically stored in Local Shared Objects. Therefore, my question:
Can the LSOs on our existing [Windows XP] computer be moved to our new [Windows 7] computer? If so, do I store them in the same location in Windows 7 as they are stored in Windows XP?
Thanks for your advice.
The DaddyI think these data are stored in one of the following locations (in Windows XP):
C:\Documents and Settings\[username]\Application Data\Adobe\Flash Player\AssetCache
and/or
C:\Documents and Settings\[username]\Application Data\Macromedia\Flash Player
Easier than to type the full access path for these two folders would be to use the %APPDATA% environment variable; you would type the following into Windows Explorer's address bar:
%appdata%\Adobe\Flash Player\AssetCache
and/or
%appdata%\Macromedia\Flash Player
Now in Windows 7 these are in a slightly different place:
C:\users\[username]\AppData\Roaming\Adobe\Flash Player\AssetCache
and/or
C:\users\[username]AppData\Roaming\Macromedia\Flash Player
which would be, using the environment variable:
%appdata%\Roaming\Adobe\Flash Player\AssetCache
and/or
%appdata%\Roaming\Macromedia\Flash Player
What I would do is to copy the full contents of both folders from XP to 7, before installing Flash Player on the new machine.
Let us know if this worked. -
Home sharing does not work with new mountain lion update.
home sharing does not work with new mountain lion update. Does anyone else have the same issue. Updated all computers in my home, deauthorized and reauthorized each computer. turn off home sharing and turned it back on. don't know what else to do..please help...
Our Apple TVs continue to lose connection ever since installing Mountain Lion on the host computer. The only thing that fixes them is to quit and relaunch iTunes, which only works unti the ATV goes to sleep. If a movie is paused for more than a few minutes and the ATV goes to sleep, pressing play again on the remote is greeted with "There are no movies on this computer" or "Turn on Home Sharing."
If we stop a video on one ATV and attempt to resume it in another room, the error begins again. The other ATV can't connect until iTunes is relaunched.
My guess is that it has something to do with the new [annoying] security settings. But I still haven't found a fix other than restarting iTunes everytime we want to watch something from our downloads. Fail. -
Home Sharing does not work. It's time for Apple to act.
My specific question: Does anyone from Apple read these discussions *and* use the information to fix iTunes?
My issue (and I've given up on this): Home Sharing does not work and it needs to be fixed. I use a Windows 7 based PC and can successfully access my iTunes library from my iPad, meaning all network requirements are met. However many artists and albums do not appear. I know this is not about the tagging/data for the albums.
I found recommendations in these forums regarding the iTunes database (.itl), that this is a sign that the database is corrupted, and how to re-create it from the xml version. I used this technique and it did fix the problem - all albums and artists appeared. But within a day or so, they disappear again, meaning the .itl file is corrupted again and has to be re-created again. Also - if the .itl file is corrupted, then why does everything appear fine in iTunes? Somewhere, somehow the data are good enough to make iTunes work properly.
Bottom line: If you can't get the basics right, then Home Sharing does not work. Some very helpful forum commenters said it could have something to do with the anti-virus software, but that is just passing the buck. I should not have to know how to do all this. I should be able to turn on Home Sharing and enjoy the music from my iPads, iPhone, etc. Imagine you have to know how fuel injection works and be able to fix it every two days just to use your car - you should be able to turn the key and drive.
There are more problems - I won't even get into how the album won't display properly on the iPad and other annoyances.
Apple? Are you listening? Home Sharing does not work. It is the opposite of the image projected of easy-to-use, people-friendly products.
I suggest you either make it work or turn off the feature.
JoeIf your database is constantly becoming corrupt, you have a problem on your computer, it is nothing to do with homesharing. The corrupt database does not affect iTunes because that uses another file. It's not passing the buck, by considering whether anti-virus software might be causing this, this is the sort of stuff anti-virus software does (although I'm not saying that's what it is in your case-I don't know at this stage), you can't hold Apple accountable for badly written software that you have put on your computer yourself.
If you can't correctly identify what is causing your problem, you are never going to fix it. -
My Home Sharing does not work any more after latest iTunes update
After iTunes update to 11.1.3 my Home Sharing does not work any more!
It worked just fine for several years...
I tryed to do everything I could find on Apple support... NOTHING works.
Most of Apple so called updates turn out real crap...
I am wondering whats happening to Apple?...Hello igor_rena,
Thanks for using Apple Support Communities.
For more information on this, take a look at:
Troubleshooting Home Sharing
http://support.apple.com/kb/ts2972
Best of luck,
Mario -
Updated itunes now home sharing does not work
i updated my itunes from 10.2 to the new 10.3 but now my home sharing does not work. the apple tv can not see the computer..my apple tv has the latest updated software as well. any help would be appreciated.. this seems to be an on going thing with apple lately where updated software causes more hea
Troubleshooting Home Sharing
Troubleshooting Home Sharing with Apple TV (2nd generation) -
My itunes 11 Home sharing is not working with my windows 7 PC and iPad it shows up on iPad and when I go to share the music app does loading for 3 mins and crashes I am using a virgin super hub router please please please help
My itunes 11 Home sharing is not working with my windows 7 PC and iPad it shows up on iPad and when I go to share the music app does loading for 3 mins and crashes I am using a virgin super hub router please please please help
Maybe you are looking for
-
Getting beyond Garage Band capability and would like to upgrade. Will my MacBook (Intel Core Duo 2GHz 1GB memory 60GB hard drive)support Logic Pro 7? I realize the screen (13.3") is on the small size, but don't really want to buy a new machine right
-
i do not even update my iphone through 3G also...
-
Fishing data from a java script
Hi all, there is an internet site which runs a java script to collect data and print them on the screen in a table. To be more precise, there is a button on that site; when the mouse goes upon that button the status bar writes something like "javascr
-
Appearance of field "Profit Center" in MB1C
Hello, I would like be able to perfom via transaction MB1C a stock entrance, indicating in this movement a Profit Center. I copied movement type 561 to 901 and added the field PRCTR (Profit Center) in the Enjoy field-slection of the movement type 901
-
Has anyone heard what OS will be needed to upgrade to the comming new OS? I am still running OS X v10.7.5 Lion on my MacBook Pro.