<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: The Trick to Using SharedObject</title>
	<atom:link href="http://jaycsantos.com/flash/the-trick-to-using-sharedobject/feed/" rel="self" type="application/rss+xml" />
	<link>http://jaycsantos.com/flash/the-trick-to-using-sharedobject/</link>
	<description>Games, Development, Blog</description>
	<lastBuildDate>Sun, 11 Mar 2012 14:15:11 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
	<item>
		<title>By: Jayc Santos</title>
		<link>http://jaycsantos.com/flash/the-trick-to-using-sharedobject/comment-page-1/#comment-358</link>
		<dc:creator>Jayc Santos</dc:creator>
		<pubDate>Sun, 11 Mar 2012 14:15:11 +0000</pubDate>
		<guid isPermaLink="false">http://jaycsantos.com/?p=470#comment-358</guid>
		<description>I don&#039;t see anything wrong with that, it should fine.

You can also use xml to organize it easier, if you&#039;re already known to it. I&#039;ll probably write something about using xml on SharedObjects when I get the time.</description>
		<content:encoded><![CDATA[<p>I don&#8217;t see anything wrong with that, it should fine.</p>
<p>You can also use xml to organize it easier, if you&#8217;re already known to it. I&#8217;ll probably write something about using xml on SharedObjects when I get the time.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jayc Santos</title>
		<link>http://jaycsantos.com/flash/the-trick-to-using-sharedobject/comment-page-1/#comment-357</link>
		<dc:creator>Jayc Santos</dc:creator>
		<pubDate>Sun, 11 Mar 2012 14:11:16 +0000</pubDate>
		<guid isPermaLink="false">http://jaycsantos.com/?p=470#comment-357</guid>
		<description>I don&#039;t think its possible to share .sol files from different machines, you might be better to check on server services or use the FileReference class if its just loading/saving of files.</description>
		<content:encoded><![CDATA[<p>I don&#8217;t think its possible to share .sol files from different machines, you might be better to check on server services or use the FileReference class if its just loading/saving of files.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: 4ucai</title>
		<link>http://jaycsantos.com/flash/the-trick-to-using-sharedobject/comment-page-1/#comment-356</link>
		<dc:creator>4ucai</dc:creator>
		<pubDate>Sun, 11 Mar 2012 10:03:21 +0000</pubDate>
		<guid isPermaLink="false">http://jaycsantos.com/?p=470#comment-356</guid>
		<description>&lt;code&gt;mySo.data.gamedata = {
  player:{
    score: world.gameObject.player.score,
    health: world.gameObject.player.health,
    currentLevel: world.gameObject.player.currentLevel
  },
  settings:{
    mute: world.gameObject.settings.mute,
    quality: world.gameObject.settings.quality,
    particles: world.gameObject.settings.particles,
  }
}&lt;/code&gt;

Am I correct, in getting the data as 
&lt;code&gt;var playerObj:Object = mySo.data.gamedata.player;
trace(playerObj.score) //output the score&lt;/code&gt;</description>
		<content:encoded><![CDATA[<p><code>mySo.data.gamedata = {<br />
  player:{<br />
    score: world.gameObject.player.score,<br />
    health: world.gameObject.player.health,<br />
    currentLevel: world.gameObject.player.currentLevel<br />
  },<br />
  settings:{<br />
    mute: world.gameObject.settings.mute,<br />
    quality: world.gameObject.settings.quality,<br />
    particles: world.gameObject.settings.particles,<br />
  }<br />
}</code></p>
<p>Am I correct, in getting the data as<br />
<code>var playerObj:Object = mySo.data.gamedata.player;<br />
trace(playerObj.score) //output the score</code></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jay</title>
		<link>http://jaycsantos.com/flash/the-trick-to-using-sharedobject/comment-page-1/#comment-355</link>
		<dc:creator>Jay</dc:creator>
		<pubDate>Thu, 08 Mar 2012 16:30:34 +0000</pubDate>
		<guid isPermaLink="false">http://jaycsantos.com/?p=470#comment-355</guid>
		<description>I&#039;m trying to save/load .sol files using the same swfs on different computers. How can I make it so that the .sol file can be loaded from the desktop?</description>
		<content:encoded><![CDATA[<p>I&#8217;m trying to save/load .sol files using the same swfs on different computers. How can I make it so that the .sol file can be loaded from the desktop?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Doctor Dalek</title>
		<link>http://jaycsantos.com/flash/the-trick-to-using-sharedobject/comment-page-1/#comment-346</link>
		<dc:creator>Doctor Dalek</dc:creator>
		<pubDate>Wed, 19 Oct 2011 15:40:38 +0000</pubDate>
		<guid isPermaLink="false">http://jaycsantos.com/?p=470#comment-346</guid>
		<description>I am trying to use the shared object .getRemote() method, but I can&#039;t seem to get it working. Once I  got it to say that flash player stopped a potentially unsafe action, does this mean that it worked? I want the data to show up for multiple users. IE, if someone clicks the button, everyone knows that someone clicked it, and how many times it has been clicked by everyone. The button is a movie clip that looks like a button.</description>
		<content:encoded><![CDATA[<p>I am trying to use the shared object .getRemote() method, but I can&#8217;t seem to get it working. Once I  got it to say that flash player stopped a potentially unsafe action, does this mean that it worked? I want the data to show up for multiple users. IE, if someone clicks the button, everyone knows that someone clicked it, and how many times it has been clicked by everyone. The button is a movie clip that looks like a button.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gerbear</title>
		<link>http://jaycsantos.com/flash/the-trick-to-using-sharedobject/comment-page-1/#comment-343</link>
		<dc:creator>Gerbear</dc:creator>
		<pubDate>Sun, 31 Jul 2011 20:49:03 +0000</pubDate>
		<guid isPermaLink="false">http://jaycsantos.com/?p=470#comment-343</guid>
		<description>Beautiful, solved my problem as well. I have users saving in multiple slots, and couldn&#039;t for the life of me figure why the game was only allowing two slots to be filled. Fixed it right up!</description>
		<content:encoded><![CDATA[<p>Beautiful, solved my problem as well. I have users saving in multiple slots, and couldn&#8217;t for the life of me figure why the game was only allowing two slots to be filled. Fixed it right up!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: coggia</title>
		<link>http://jaycsantos.com/flash/the-trick-to-using-sharedobject/comment-page-1/#comment-342</link>
		<dc:creator>coggia</dc:creator>
		<pubDate>Tue, 03 May 2011 15:56:14 +0000</pubDate>
		<guid isPermaLink="false">http://jaycsantos.com/?p=470#comment-342</guid>
		<description>Nice tips,
but in your way of saving objects to the Shared object,
how can you retrieve the values?

if I save to So like in your example, and the, try to trace the (mySo.gamedata) i get undefined value

But if i save things to Shared Object like :
 mySo.data.gamedata = &quot;data&quot;;

I&#039;m able to retrieve the data

Why&#039;s that?</description>
		<content:encoded><![CDATA[<p>Nice tips,<br />
but in your way of saving objects to the Shared object,<br />
how can you retrieve the values?</p>
<p>if I save to So like in your example, and the, try to trace the (mySo.gamedata) i get undefined value</p>
<p>But if i save things to Shared Object like :<br />
 mySo.data.gamedata = &#8220;data&#8221;;</p>
<p>I&#8217;m able to retrieve the data</p>
<p>Why&#8217;s that?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nkululeko Msimang</title>
		<link>http://jaycsantos.com/flash/the-trick-to-using-sharedobject/comment-page-1/#comment-339</link>
		<dc:creator>Nkululeko Msimang</dc:creator>
		<pubDate>Tue, 12 Apr 2011 13:02:29 +0000</pubDate>
		<guid isPermaLink="false">http://jaycsantos.com/?p=470#comment-339</guid>
		<description>I have a similar problem with Flash &#039;remembering&#039; Shared Object data. I need to create an app that checks if SO&#039;s can be stored locally but what happens is, even though the user may deny that data be stored locally, you can still read SO.data.* variables although there is nothing inside %appData%...localhost. This caused a lot of confusion because it could recall data but if you closed the instance it wouldn&#039;t be able to recall the data again. So for a while the program would return false results and say it could store Shared Objects on the machine.

Is there anyway of actually forcing Flash to read from disk, besides say, flushing and using the result to see if it could flush and reading if true else return an error.</description>
		<content:encoded><![CDATA[<p>I have a similar problem with Flash &#8216;remembering&#8217; Shared Object data. I need to create an app that checks if SO&#8217;s can be stored locally but what happens is, even though the user may deny that data be stored locally, you can still read SO.data.* variables although there is nothing inside %appData%&#8230;localhost. This caused a lot of confusion because it could recall data but if you closed the instance it wouldn&#8217;t be able to recall the data again. So for a while the program would return false results and say it could store Shared Objects on the machine.</p>
<p>Is there anyway of actually forcing Flash to read from disk, besides say, flushing and using the result to see if it could flush and reading if true else return an error.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

