<?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: Dynamic background color</title>
	<atom:link href="http://brajeshwar.com/2003/dynamic-background-color/feed/" rel="self" type="application/rss+xml" />
	<link>http://brajeshwar.com/2003/dynamic-background-color/</link>
	<description>Brajeshwar is an ardent believer of KISS (Keep It Simple Stupid), he envision pushing the technical envelop time and again for the betterment of commercial and practical applications.</description>
	<lastBuildDate>Sun, 14 Mar 2010 23:39:04 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: le boudouil</title>
		<link>http://brajeshwar.com/2003/dynamic-background-color/comment-page-1/#comment-23888</link>
		<dc:creator>le boudouil</dc:creator>
		<pubDate>Fri, 10 Oct 2008 18:13:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.brajeshwar.com/wp/2003/dynamic-background-color/#comment-23888</guid>
		<description>&lt;pre name=&quot;code&quot; class=&quot;ActionScript&quot;&gt;
//define a var for sh and sw   
//let us add 2 px each as flash eats them   
//in the Stage Object from the actual flash dimension   
var sh = Stage.height + 4;   
var sw = Stage.width + 4;   
var rp = 0;//let us have a start point   
trace(&quot;stage height = &quot; + sh + &quot; &amp; stage width = &quot; + sw + &quot; in pixels&quot;);   
setBG = function (col) {   
 with (_level0) {   
  clear();   
  if (col != undefined) {   
   beginFill(col);   
   moveTo(rp, rp);   
   lineTo(sw, rp);   
   lineTo(sw, sh);   
   lineTo(rp, sh);   
   endFill();   
  }   
 }   
 this.__bg__ = col;   
};   
//   
getBG = function () {   
 return this.__bg__;   
};   
//   
Stage.addProperty(&quot;bgColor&quot;, getBG, setBG);   
delete setBG;   
delete getBG;   
//Usage   
Stage.bgColor = 0x0000ff;
&lt;/pre&gt;</description>
		<content:encoded><![CDATA[<pre name="code" class="ActionScript">
//define a var for sh and sw
//let us add 2 px each as flash eats them
//in the Stage Object from the actual flash dimension
var sh = Stage.height + 4;
var sw = Stage.width + 4;
var rp = 0;//let us have a start point
trace(&quot;stage height = &quot; + sh + &quot; &amp;amp; stage width = &quot; + sw + &quot; in pixels&quot;);
setBG = function (col) {
 with (_level0) {
  clear();
  if (col != undefined) {
   beginFill(col);
   moveTo(rp, rp);
   lineTo(sw, rp);
   lineTo(sw, sh);
   lineTo(rp, sh);
   endFill();
  }
 }
 this.__bg__ = col;
};
//
getBG = function () {
 return this.__bg__;
};
//
Stage.addProperty(&quot;bgColor&quot;, getBG, setBG);
delete setBG;
delete getBG;
//Usage
Stage.bgColor = 0x0000ff;
</pre>
]]></content:encoded>
	</item>
	<item>
		<title>By: Per Jensen</title>
		<link>http://brajeshwar.com/2003/dynamic-background-color/comment-page-1/#comment-2778</link>
		<dc:creator>Per Jensen</dc:creator>
		<pubDate>Fri, 20 Apr 2007 20:27:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.brajeshwar.com/wp/2003/dynamic-background-color/#comment-2778</guid>
		<description>Could this dynamic background color, script by any chance be put into flash 8 scripting. I have tryed but cant seem to figure it out. Thank you.</description>
		<content:encoded><![CDATA[<p>Could this dynamic background color, script by any chance be put into flash 8 scripting. I have tryed but cant seem to figure it out. Thank you.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lewis</title>
		<link>http://brajeshwar.com/2003/dynamic-background-color/comment-page-1/#comment-89</link>
		<dc:creator>Lewis</dc:creator>
		<pubDate>Wed, 29 Sep 2004 08:16:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.brajeshwar.com/wp/2003/dynamic-background-color/#comment-89</guid>
		<description>I like this BUT just wondering what the &#039;this.__bg__ = col;&#039; and &#039;return this.__bg__&#039; are for??
</description>
		<content:encoded><![CDATA[<p>I like this <span class="caps">BUT </span>just wondering what the &#8216;this.__bg__ = col;&#8217; and &#8216;return this.__bg__&#8217; are for??</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Johny Hobson</title>
		<link>http://brajeshwar.com/2003/dynamic-background-color/comment-page-1/#comment-88</link>
		<dc:creator>Johny Hobson</dc:creator>
		<pubDate>Thu, 01 Jul 2004 05:16:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.brajeshwar.com/wp/2003/dynamic-background-color/#comment-88</guid>
		<description>You are very welcome to visit my website.

Johny Hobson o</description>
		<content:encoded><![CDATA[<p>You are very welcome to visit my website.</p>
<p>Johny Hobson o</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Carey Richardosn</title>
		<link>http://brajeshwar.com/2003/dynamic-background-color/comment-page-1/#comment-87</link>
		<dc:creator>Carey Richardosn</dc:creator>
		<pubDate>Thu, 27 May 2004 16:00:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.brajeshwar.com/wp/2003/dynamic-background-color/#comment-87</guid>
		<description>I keep getting a static script error on this code? i&#039;m using Mx pro 2004? Please help...</description>
		<content:encoded><![CDATA[<p>I keep getting a static script error on this code? i&#8217;m using Mx pro 2004? Please help&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: inw</title>
		<link>http://brajeshwar.com/2003/dynamic-background-color/comment-page-1/#comment-86</link>
		<dc:creator>inw</dc:creator>
		<pubDate>Wed, 12 May 2004 04:29:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.brajeshwar.com/wp/2003/dynamic-background-color/#comment-86</guid>
		<description>i need your help urgently if you feel free and having little bit time to give me to answer my few question that i have bg compenet i have seen your given code and try its work fine after fixing small erors. i want to edit bg color from external text file can you help me to solve this issue actully i have not much experaince in flash i am new but i can say i can work little bit good ...........i hope you will reply me as soon as possible when you have spare time....</description>
		<content:encoded><![CDATA[<p>i need your help urgently if you feel free and having little bit time to give me to answer my few question that i have bg compenet i have seen your given code and try its work fine after fixing small erors. i want to edit bg color from external text file can you help me to solve this issue actully i have not much experaince in flash i am new but i can say i can work little bit good &#8230;&#8230;&#8230;..i hope you will reply me as soon as possible when you have spare time&#8230;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: reinhard</title>
		<link>http://brajeshwar.com/2003/dynamic-background-color/comment-page-1/#comment-85</link>
		<dc:creator>reinhard</dc:creator>
		<pubDate>Wed, 24 Sep 2003 19:01:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.brajeshwar.com/wp/2003/dynamic-background-color/#comment-85</guid>
		<description>can you insert the date to the comments? it would be helpful</description>
		<content:encoded><![CDATA[<p>can you insert the date to the comments? it would be helpful</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: david</title>
		<link>http://brajeshwar.com/2003/dynamic-background-color/comment-page-1/#comment-84</link>
		<dc:creator>david</dc:creator>
		<pubDate>Sun, 04 May 2003 10:48:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.brajeshwar.com/wp/2003/dynamic-background-color/#comment-84</guid>
		<description>one more question now were at it, I am starting with a white background that turns darkblue at scene 2. would it be possible to gradually fade it from white to blue instead of having it switch instantly over 25 frames time for instance?

:p</description>
		<content:encoded><![CDATA[<p>one more question now were at it, I am starting with a white background that turns darkblue at scene 2. would it be possible to gradually fade it from white to blue instead of having it switch instantly over 25 frames time for instance?</p>
<p>:p</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: david</title>
		<link>http://brajeshwar.com/2003/dynamic-background-color/comment-page-1/#comment-83</link>
		<dc:creator>david</dc:creator>
		<pubDate>Sun, 04 May 2003 10:38:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.brajeshwar.com/wp/2003/dynamic-background-color/#comment-83</guid>
		<description>AHa great, Thanks!
What we tried was this;
var sh = Stage.height + 3000;
var sw = Stage.width + 3000;
var rp = -1200;//let us have a start point

cheers,

David</description>
		<content:encoded><![CDATA[<p>AHa great, Thanks!<br />
What we tried was this;<br />
var sh = Stage.height + 3000;<br />
var sw = Stage.width + 3000;<br />
var rp = -1200;//let us have a start point</p>
<p>cheers,</p>
<p>David</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brajeshwar</title>
		<link>http://brajeshwar.com/2003/dynamic-background-color/comment-page-1/#comment-82</link>
		<dc:creator>Brajeshwar</dc:creator>
		<pubDate>Sun, 04 May 2003 04:52:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.brajeshwar.com/wp/2003/dynamic-background-color/#comment-82</guid>
		<description>David, just replace the initials variables that defines initial position, stage height and stage width to be full screen, in short, use this instead
moveTo(-2880, -2880);
lineTo(-2880, 2880);
lineTo(2880, 2880);
lineTo(2880, -2880);
lineTo(-2880, -2880);</description>
		<content:encoded><![CDATA[<p>David, just replace the initials variables that defines initial position, stage height and stage width to be full screen, in short, use this instead<br />
moveTo(-2880, -2880);<br />
lineTo(-2880, 2880);<br />
lineTo(2880, 2880);<br />
lineTo(2880, -2880);<br />
lineTo(-2880, -2880);</p>
]]></content:encoded>
	</item>
</channel>
</rss>
