<?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>Dolbex &#187; Flash AS3</title>
	<atom:link href="http://www.dolbex.com/category/flash-as3/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.dolbex.com</link>
	<description>Just another WordPress weblog</description>
	<lastBuildDate>Wed, 14 Oct 2009 14:21:11 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Adding and Manipulating Sound in AS3</title>
		<link>http://www.dolbex.com/adding-and-manipulating-sound-in-as3/</link>
		<comments>http://www.dolbex.com/adding-and-manipulating-sound-in-as3/#comments</comments>
		<pubDate>Wed, 29 Jul 2009 10:49:06 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Flash AS3]]></category>
		<category><![CDATA[AS3]]></category>
		<category><![CDATA[Audio]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Sound]]></category>

		<guid isPermaLink="false">http://www.dolbex.com/?p=37</guid>
		<description><![CDATA[For some reason I had a really tough time finding a quick and easy tutorial on how to add a .mp3 to to an AS3 project and lower the volume. 
First, import your .mp3 to the library and set a linkage classname.
You can then address it with the following code:
var snd:neonstart4 = new neonstart4&#40;&#41;;
var sc:SoundChannel [...]]]></description>
			<content:encoded><![CDATA[<p>For some reason I had a really tough time finding a quick and easy tutorial on how to add a .mp3 to to an AS3 project and lower the volume. </p>
<p>First, import your .mp3 to the library and set a linkage classname.</p>
<div id="attachment_38" class="wp-caption alignnone" style="width: 467px"><img src="http://www.dolbex.com/wp-content/uploads/2009/07/linkage_screenshot.jpg" alt="Linkage Screenshot" title="linkage_screenshot" width="457" height="244" class="size-full wp-image-38" /><p class="wp-caption-text">Right click on the .mp3 you have imported to your library and select 'Linkage'.  Essentially, this allows you to address the .mp3 as a class.</p></div>
<p>You can then address it with the following code:</p>
<div class="codecolorer-container actionscript twitlight" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;"><div class="actionscript codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #000000; font-weight: bold;">var</span> snd:neonstart4 = <span style="color: #000000; font-weight: bold;">new</span> neonstart4<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;<br />
<span style="color: #000000; font-weight: bold;">var</span> sc:SoundChannel = snd.<span style="color: #0066CC;">play</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>; <br />
<span style="color: #000000; font-weight: bold;">var</span> st:SoundTransform = sc.<span style="color: #006600;">soundTransform</span>;<br />
st.<span style="color: #006600;">volume</span> = .2; <span style="color: #808080; font-style: italic;">// set to 20% volume</span><br />
sc.<span style="color: #006600;">soundTransform</span> = st;</div></div>
]]></content:encoded>
			<wfw:commentRss>http://www.dolbex.com/adding-and-manipulating-sound-in-as3/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
