<?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"
	>
<channel>
	<title>Comments on: Using Value Objects in Flash</title>
	<atom:link href="http://www.flashmonkey.co.uk/using-value-objects-in-flash/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.flashmonkey.co.uk/using-value-objects-in-flash/</link>
	<description>Stephen Burgess - Interactive Developer</description>
	<pubDate>Sun, 05 Feb 2012 20:53:32 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.5</generator>
		<item>
		<title>By: FlashMonkey</title>
		<link>http://www.flashmonkey.co.uk/using-value-objects-in-flash/#comment-3289</link>
		<dc:creator>FlashMonkey</dc:creator>
		<pubDate>Fri, 20 May 2011 07:57:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.flashmonkey.co.uk/?p=889#comment-3289</guid>
		<description>Hi Craig,

What I meant was if your XML looks like this:

&lt;code width="320"&gt;
&lt;config&gt;
  &lt;videos&gt;
    &lt;video&gt;../src/video.mp4&lt;/video&gt;
  &lt;/videos&gt;
&lt;/config&gt;
&lt;/code&gt;

and you change it to this:

&lt;code width="320"&gt;
&lt;config&gt;
  &lt;section&gt;
    &lt;videos&gt;
      &lt;video&gt;../src/video.mp4&lt;/video&gt;
    &lt;/videos&gt;
  &lt;/section&gt;
&lt;/config&gt;
&lt;/code&gt;

Then you would only need to change the reference to video node in the XML parser that stores the data to VOs rather than at every point in the project that uses that node.

I hope that clears it up and it makes more sense, let me know if not and I can provide a more detailed example.</description>
		<content:encoded><![CDATA[<p>Hi Craig,</p>
<p>What I meant was if your XML looks like this:</p>
<div class="codecolorer-container text " style="overflow:auto;white-space:nowrap;width:320px"><div class="text codecolorer" style="font-family:Monaco,Lucida Console,monospace">&lt;config&gt;<br />
&nbsp; &lt;videos&gt;<br />
&nbsp; &nbsp; &lt;video&gt;../src/video.mp4&lt;/video&gt;<br />
&nbsp; &lt;/videos&gt;<br />
&lt;/config&gt;</div></div>
<p>and you change it to this:</p>
<div class="codecolorer-container text " style="overflow:auto;white-space:nowrap;width:320px"><div class="text codecolorer" style="font-family:Monaco,Lucida Console,monospace">&lt;config&gt;<br />
&nbsp; &lt;section&gt;<br />
&nbsp; &nbsp; &lt;videos&gt;<br />
&nbsp; &nbsp; &nbsp; &lt;video&gt;../src/video.mp4&lt;/video&gt;<br />
&nbsp; &nbsp; &lt;/videos&gt;<br />
&nbsp; &lt;/section&gt;<br />
&lt;/config&gt;</div></div>
<p>Then you would only need to change the reference to video node in the XML parser that stores the data to VOs rather than at every point in the project that uses that node.</p>
<p>I hope that clears it up and it makes more sense, let me know if not and I can provide a more detailed example.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Craig</title>
		<link>http://www.flashmonkey.co.uk/using-value-objects-in-flash/#comment-3286</link>
		<dc:creator>Craig</dc:creator>
		<pubDate>Fri, 20 May 2011 06:41:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.flashmonkey.co.uk/?p=889#comment-3286</guid>
		<description>You said in your article "Secondly it is quicker to update things. ... the XML structure changes. I would have to go through and edit every place within my project that references the XML. However, if I parse my XML once when it’s loaded, and store the data in VOs, I only have to change path referencing in one place."

But that's not true.  If the "structure of your xml changes" then the structure of your VO is going to need to change too.</description>
		<content:encoded><![CDATA[<p>You said in your article &#8220;Secondly it is quicker to update things. &#8230; the XML structure changes. I would have to go through and edit every place within my project that references the XML. However, if I parse my XML once when it’s loaded, and store the data in VOs, I only have to change path referencing in one place.&#8221;</p>
<p>But that&#8217;s not true.  If the &#8220;structure of your xml changes&#8221; then the structure of your VO is going to need to change too.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: gavin payne</title>
		<link>http://www.flashmonkey.co.uk/using-value-objects-in-flash/#comment-2887</link>
		<dc:creator>gavin payne</dc:creator>
		<pubDate>Wed, 16 Feb 2011 16:39:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.flashmonkey.co.uk/?p=889#comment-2887</guid>
		<description>nice touch with the tweenVO....I like</description>
		<content:encoded><![CDATA[<p>nice touch with the tweenVO&#8230;.I like</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: FlashMonkey</title>
		<link>http://www.flashmonkey.co.uk/using-value-objects-in-flash/#comment-1797</link>
		<dc:creator>FlashMonkey</dc:creator>
		<pubDate>Tue, 23 Feb 2010 15:02:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.flashmonkey.co.uk/?p=889#comment-1797</guid>
		<description>Thanks John. With regards to your problem, yes Vector is a top level Class. It sounds like the FP10 library is not being referenced properly in FDT. Try this:

&gt; Right click on your project in FDT, hover over 'Flash Project' and click on 'Remove Flash Nature'
&gt; Right click on the project again, hover over 'Flash Project' and click on 'Add Flash Nature'
&gt; From the dropdown in the pop-up select 'Flex_3_SDK_0_Pure_for_FP_10' and your class should recognize Vector.

Hope that helps.</description>
		<content:encoded><![CDATA[<p>Thanks John. With regards to your problem, yes Vector is a top level Class. It sounds like the FP10 library is not being referenced properly in FDT. Try this:</p>
<p>> Right click on your project in FDT, hover over &#8216;Flash Project&#8217; and click on &#8216;Remove Flash Nature&#8217;<br />
> Right click on the project again, hover over &#8216;Flash Project&#8217; and click on &#8216;Add Flash Nature&#8217;<br />
> From the dropdown in the pop-up select &#8216;Flex_3_SDK_0_Pure_for_FP_10&#8242; and your class should recognize Vector.</p>
<p>Hope that helps.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John Persson</title>
		<link>http://www.flashmonkey.co.uk/using-value-objects-in-flash/#comment-1796</link>
		<dc:creator>John Persson</dc:creator>
		<pubDate>Tue, 23 Feb 2010 14:41:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.flashmonkey.co.uk/?p=889#comment-1796</guid>
		<description>Really like the xml example, seams like a very clean way to reference assets.
Though the Vector class is new to me so I did some quick research.

Someone said itś a top level class. Even so my class dosen´t seam to recognize it.
I use compile with in fp10 using FDT.

Thanks!</description>
		<content:encoded><![CDATA[<p>Really like the xml example, seams like a very clean way to reference assets.<br />
Though the Vector class is new to me so I did some quick research.</p>
<p>Someone said itś a top level class. Even so my class dosen´t seam to recognize it.<br />
I use compile with in fp10 using FDT.</p>
<p>Thanks!</p>
]]></content:encoded>
	</item>
</channel>
</rss>

