<?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: FlashVars and AS2</title>
	<atom:link href="http://www.barklund.org/blog/2006/06/06/flashvars-and-as2/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.barklund.org/blog/2006/06/06/flashvars-and-as2/</link>
	<description>work smarter when building current web trends</description>
	<lastBuildDate>Wed, 23 Nov 2011 11:48:49 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.4</generator>
	<item>
		<title>By: Barklund</title>
		<link>http://www.barklund.org/blog/2006/06/06/flashvars-and-as2/comment-page-1/#comment-124700</link>
		<dc:creator>Barklund</dc:creator>
		<pubDate>Sat, 08 May 2010 15:15:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.barklund.org/blog/2006/06/06/flashvars-and-as2/#comment-124700</guid>
		<description>Hi Presy,

FlashVars are extra parameters added in the HTML, that you can read from within flash. On your site above, you would add them by adding an extra line in the HTML after:

&lt;pre lang=&quot;javascript&quot;&gt;
                    &#039;salign&#039;, &#039;&#039;
&lt;/pre&gt;

So it becomes:

&lt;pre lang=&quot;javascript&quot;&gt;
                    &#039;salign&#039;, &#039;&#039;,
                    &#039;flashvars&#039;, &#039;myvariable=myvalue&#039;
&lt;/pre&gt;

You can the myvariable and myvalue to whatever you like.</description>
		<content:encoded><![CDATA[<p>Hi Presy,</p>
<p>FlashVars are extra parameters added in the HTML, that you can read from within flash. On your site above, you would add them by adding an extra line in the HTML after:</p>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;">                    <span style="color: #3366CC;">'salign'</span><span style="color: #339933;">,</span> <span style="color: #3366CC;">''</span></pre></div></div>

<p>So it becomes:</p>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;">                    <span style="color: #3366CC;">'salign'</span><span style="color: #339933;">,</span> <span style="color: #3366CC;">''</span><span style="color: #339933;">,</span>
                    <span style="color: #3366CC;">'flashvars'</span><span style="color: #339933;">,</span> <span style="color: #3366CC;">'myvariable=myvalue'</span></pre></div></div>

<p>You can the myvariable and myvalue to whatever you like.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Presy</title>
		<link>http://www.barklund.org/blog/2006/06/06/flashvars-and-as2/comment-page-1/#comment-124697</link>
		<dc:creator>Presy</dc:creator>
		<pubDate>Sat, 08 May 2010 14:57:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.barklund.org/blog/2006/06/06/flashvars-and-as2/#comment-124697</guid>
		<description>Hey.. I&#039;m working on an html site with an swf navigation bar, the thing is everytime we click on one of the buttons of the navigation, the html page refresh and the button regain its initial state. 
Here is the site : http://www.madeforbeirut.com/
I&#039;ve been told to use &quot;flashvars&quot; but i don&#039;t know how to do it coz i&#039;m not developer. 

Plz if anyone can give me the code for AS2 and tell me how it&#039;s done.. it would be soooo helpful !! 
I hope my explanation is clear.
Thanks for ur help!!! and hope to get an answer asap.

Presy
[email removed]</description>
		<content:encoded><![CDATA[<p>Hey.. I&#8217;m working on an html site with an swf navigation bar, the thing is everytime we click on one of the buttons of the navigation, the html page refresh and the button regain its initial state.<br />
Here is the site : <a href="http://www.madeforbeirut.com/" rel="nofollow">http://www.madeforbeirut.com/</a><br />
I&#8217;ve been told to use &#8220;flashvars&#8221; but i don&#8217;t know how to do it coz i&#8217;m not developer. </p>
<p>Plz if anyone can give me the code for AS2 and tell me how it&#8217;s done.. it would be soooo helpful !!<br />
I hope my explanation is clear.<br />
Thanks for ur help!!! and hope to get an answer asap.</p>
<p>Presy<br />
[email removed]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Abe Pazos</title>
		<link>http://www.barklund.org/blog/2006/06/06/flashvars-and-as2/comment-page-1/#comment-881</link>
		<dc:creator>Abe Pazos</dc:creator>
		<pubDate>Wed, 03 Jan 2007 11:06:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.barklund.org/blog/2006/06/06/flashvars-and-as2/#comment-881</guid>
		<description>Hi! Thanks for sharing!

What would be your approach to simulate FlashVars using this class when outside HTML? (inside FlashDevelop for example)

Thank you + happy 007 :)

aBe</description>
		<content:encoded><![CDATA[<p>Hi! Thanks for sharing!</p>
<p>What would be your approach to simulate FlashVars using this class when outside HTML? (inside FlashDevelop for example)</p>
<p>Thank you + happy 007 :)</p>
<p>aBe</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Neh</title>
		<link>http://www.barklund.org/blog/2006/06/06/flashvars-and-as2/comment-page-1/#comment-15</link>
		<dc:creator>Neh</dc:creator>
		<pubDate>Wed, 07 Jun 2006 03:30:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.barklund.org/blog/2006/06/06/flashvars-and-as2/#comment-15</guid>
		<description>really good example...</description>
		<content:encoded><![CDATA[<p>really good example&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Barklund</title>
		<link>http://www.barklund.org/blog/2006/06/06/flashvars-and-as2/comment-page-1/#comment-14</link>
		<dc:creator>Barklund</dc:creator>
		<pubDate>Tue, 06 Jun 2006 11:10:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.barklund.org/blog/2006/06/06/flashvars-and-as2/#comment-14</guid>
		<description>Yes, that would be possible, but I&#039;m not sure if it makes it &lt;em&gt;better&lt;/em&gt;. At least that would separate the two singletons completely thus creating nicer code, but I&#039;m not sure whether a separation is desirable.</description>
		<content:encoded><![CDATA[<p>Yes, that would be possible, but I&#8217;m not sure if it makes it <em>better</em>. At least that would separate the two singletons completely thus creating nicer code, but I&#8217;m not sure whether a separation is desirable.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: janosch</title>
		<link>http://www.barklund.org/blog/2006/06/06/flashvars-and-as2/comment-page-1/#comment-13</link>
		<dc:creator>janosch</dc:creator>
		<pubDate>Tue, 06 Jun 2006 11:03:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.barklund.org/blog/2006/06/06/flashvars-and-as2/#comment-13</guid>
		<description>Thx, nice idea!

You could overwrite the instance-variable too:

private static var instance:SomeSettingsClass;
public static function getInstance():SomeSettingsClass {
        return instance ? instance : instance = new SomeSettingsClass();
    }

So you can omit the SomeSettingsClass-cast.</description>
		<content:encoded><![CDATA[<p>Thx, nice idea!</p>
<p>You could overwrite the instance-variable too:</p>
<p>private static var instance:SomeSettingsClass;<br />
public static function getInstance():SomeSettingsClass {<br />
        return instance ? instance : instance = new SomeSettingsClass();<br />
    }</p>
<p>So you can omit the SomeSettingsClass-cast.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
<!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->
