local-shared-object

block third party cookies - workaround (facebook apps etc)

北城余情 提交于 2019-12-03 05:03:03
问题 Safari on a Mac has a Block cookies set to From third parties and advertisers by default. It stops the SharedObject from working if the embedded swf is from a different domain. This problem isn't new: Safari 3rd party cookie iframe trick no longer working? Has anyone found a solution (other then passing the Session ID through GET/POST params in each request)? NOTE: I have no access to the site, which is embedding the swf, so there is no way to alter that HTML or to put any JavaScript, etc.

block third party cookies - workaround (facebook apps etc)

烈酒焚心 提交于 2019-12-02 18:16:49
Safari on a Mac has a Block cookies set to From third parties and advertisers by default. It stops the SharedObject from working if the embedded swf is from a different domain. This problem isn't new: Safari 3rd party cookie iframe trick no longer working? Has anyone found a solution (other then passing the Session ID through GET/POST params in each request)? NOTE: I have no access to the site, which is embedding the swf, so there is no way to alter that HTML or to put any JavaScript, etc. sanchez function setCookie(){ if ( navigator.userAgent.indexOf('Safari') != -1 && navigator.userAgent

Actionscript 3 saving currentframe location to local hard drive?

淺唱寂寞╮ 提交于 2019-12-02 16:38:20
问题 I asked similar question sometime ago, but I am making new one to be much more specific with my question with some example! I´ve found this code snippet/tutorial from googling, but I cant seem to figure out how to modify it for my needs: // open a local shared object called "myStuff", if there is no such object - create a new one var savedstuff:SharedObject = SharedObject.getLocal("myStuff"); // manage buttons btnSave.addEventListener(MouseEvent.CLICK, SaveData); btnLoad.addEventListener

Actionscript 3 saving currentframe location to local hard drive?

六月ゝ 毕业季﹏ 提交于 2019-12-02 07:47:24
I asked similar question sometime ago, but I am making new one to be much more specific with my question with some example! I´ve found this code snippet/tutorial from googling, but I cant seem to figure out how to modify it for my needs: // open a local shared object called "myStuff", if there is no such object - create a new one var savedstuff:SharedObject = SharedObject.getLocal("myStuff"); // manage buttons btnSave.addEventListener(MouseEvent.CLICK, SaveData); btnLoad.addEventListener(MouseEvent.CLICK, LoadData); function SaveData(MouseEvent){ savedstuff.data.username = nameField.text //

Flex: How to detect if user has blocked shared object from writing

血红的双手。 提交于 2019-12-01 05:22:39
Simple question is, how do i detect in actionscript if user have blocked from writing data to shared object? sharedObj = SharedObject.getLocal("rememberme"); This return always shared object but it's size is 0, even I have blocked shared object. When I'm trying to save data to shared object and flush it, it throws me an error, because writing is blocked. So what would be the right way check if writing to shared object is disabled? Error: Error #2130: Unable to flush SharedObject. var my_so:SharedObject = SharedObject.getLocal("mySpace"); var flushStatus:String = null; try { flushStatus = my_so

Flex: How to detect if user has blocked shared object from writing

ⅰ亾dé卋堺 提交于 2019-12-01 01:58:48
问题 Simple question is, how do i detect in actionscript if user have blocked from writing data to shared object? sharedObj = SharedObject.getLocal("rememberme"); This return always shared object but it's size is 0, even I have blocked shared object. When I'm trying to save data to shared object and flush it, it throws me an error, because writing is blocked. So what would be the right way check if writing to shared object is disabled? Error: Error #2130: Unable to flush SharedObject. 回答1: var my