<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>solemone design&#039;art &#187; AS3</title>
	<atom:link href="http://solemone.de/tag/as3/feed/" rel="self" type="application/rss+xml" />
	<link>http://solemone.de</link>
	<description>Design Inspiration Blog of solemone</description>
	<lastBuildDate>Sat, 31 Dec 2011 22:59:49 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>AS3 fullsize background image with pixel pattern</title>
		<link>http://solemone.de/flash/as3-fullsize-background-image/</link>
		<comments>http://solemone.de/flash/as3-fullsize-background-image/#comments</comments>
		<pubDate>Wed, 18 Nov 2009 18:28:20 +0000</pubDate>
		<dc:creator>solemone</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Free Stuff]]></category>
		<category><![CDATA[ActionScript]]></category>
		<category><![CDATA[AS3]]></category>
		<category><![CDATA[class]]></category>
		<category><![CDATA[free]]></category>

		<guid isPermaLink="false">http://www.solemone.de/?p=705</guid>
		<description><![CDATA[I have written a small class, which you may be interested.  With this class you can create a fullsize background image which fits to the width of the stage. The height of the image is proportional to the width. So it´s good to use an image with a ratio of 4:3 otherwise empty bars can show [...]]]></description>
			<content:encoded><![CDATA[<p>I have written a small class, which you may be interested.  With this class you can create a fullsize background image which fits to the width of the stage. The height of the image is proportional to the width. So it´s good to use an image with a ratio of 4:3 otherwise empty bars can show up.[loadprettifier]</p>
<p>To round it up I create a pixel pattern overlay so the image quality is acceptable by streching it. Known from other sites&#8230;</p>
<p><span id="more-705"></span><a id="downloadbutton" title="download the files" href="http://www.solemone.de/wp-content/uploads/2009/11/as3FullsizeBackgroundImage.zip">Download<span> &#8211; get the source</span></a></p>
<p><a id="previewbutton" title="show a demo" href="http://solemone.de/wp-content/uploads/2009/11/fullsizebackgroundflash/index.html" target="_blank">Demo<span> &#8211; see an example</span></a></p>
<p>So thats the way to do it:</p>
<pre><code class="language-as3 brush: as3" style="min-width:900px;">
// import the class
import com.fullsizeBackgroundImage.fullsizeBackgroundImage;

// create a new object, give the url to the image as string
var backgroundImage:fullsizeBackgroundImage = new fullsizeBackgroundImage("images/background.jpg");

// add the object to stage
stage.addChild(backgroundImage);
</code></pre>
<p>If you have any question about the script feel free to leave a comment <img src='http://solemone.de/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://solemone.de/flash/as3-fullsize-background-image/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
	</channel>
</rss>

