<?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>Buyxonline.com - eCommerce &#124; eMarketing &#124; Linux Systems</title>
	<atom:link href="http://www.buyxonline.com/ecommerceblog/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.buyxonline.com/ecommerceblog</link>
	<description>Buyxonline.com - eCommerce &#124; eMarketing &#124; Linux Systems</description>
	<lastBuildDate>Mon, 26 Jul 2010 06:37:13 +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>How to bring in Related Product Data into View.phtml with Downloadable Sample Links</title>
		<link>http://www.buyxonline.com/ecommerceblog/2010/07/26/how-to-bring-in-related-product-data-into-view-phtml-with-downloadable-sample-links/</link>
		<comments>http://www.buyxonline.com/ecommerceblog/2010/07/26/how-to-bring-in-related-product-data-into-view-phtml-with-downloadable-sample-links/#comments</comments>
		<pubDate>Mon, 26 Jul 2010 06:04:50 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Magento]]></category>
		<category><![CDATA[eCommerce]]></category>

		<guid isPermaLink="false">http://www.buyxonline.com/ecommerceblog/?p=239</guid>
		<description><![CDATA[Morning Guys and Girls,
Today we will learn how to bring in related product data into the View.phtml or product colum or middle column.
To see a demo of this have a look at this page:
3AM Psytrance Timecode Records &#8211; Multistate &#8211; Collaborating with machines 
Ready? Let&#8217;s do it!


&#60;?php foreach ($_product-&#62;getRelatedProducts() as $related_product) {
 if (sizeof($_product-&#62;getRelatedProducts())&#62;0):
 ?&#62;
 [...]]]></description>
			<content:encoded><![CDATA[<p>Morning Guys and Girls,</p>
<p>Today we will learn how to bring in related product data into the View.phtml or product colum or middle column.</p>
<p>To see a demo of this have a look at this page:</p>
<p><a href="http://www.3am.co.za/music/timecode-records/timecode-records-multistate-collaborating-with-machines" title="3am Psytrance, your #1 source for the latest Psytrance Parties, Music and News" alt="3am Psytrance, your #1 source for the latest Psytrance Parties, Music and News">3AM Psytrance Timecode Records &#8211; Multistate &#8211; Collaborating with machines</a> </p>
<p>Ready? Let&#8217;s do it!</p>
<pre class="brush: php;">

&lt;?php foreach ($_product-&gt;getRelatedProducts() as $related_product) {
 if (sizeof($_product-&gt;getRelatedProducts())&gt;0):
 ?&gt;
 &lt;?php

$ids[] = $related_product-&gt;getId();

echo $relatedproduct-&gt;getName(); ?&gt;
</pre>
<p>That will get you related products. However, I actually extended it quite a bit more, in the sense that my related products are downloadable products, and I needed to get the sample link from these products. The complete code that I used therefor looks like this:</p>
<pre class="brush: php;">

&lt;?php $i = 1; ?&gt;
 &lt;?php foreach ($_product-&gt;getRelatedProducts() as $related_product) {
 if (sizeof($_product-&gt;getRelatedProducts())&gt;0):
 ?&gt;
 &lt;?php
 $ids[] = $related_product-&gt;getId();

 //Download product samples code <img src='http://www.buyxonline.com/ecommerceblog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  Ninja Go!!
 $_myprodsamples = Mage::getModel('downloadable/sample');
 $_mySampleCollection = $_myprodsamples-&gt;getCollection()-&gt;addProductToFilter($related_product-&gt;getId());

 $relatedproduct = Mage::getModel('catalog/product');
 $relatedproduct-&gt;load($related_product-&gt;getId());

 if (sizeof($_mySampleCollection)&gt;0):
 ?&gt;

 &lt;?php
 foreach ($_mySampleCollection as $_sample) {
 //$_samplelink = $this-&gt;getUrl('downloadable/download/sample/sample_id/'.$_sample-&gt;getId());
 $_samplelink = Mage::getModel('downloadable/sample')-&gt;load($_sample-&gt;getId())-&gt;getUrl();
 ?&gt;
 &lt;span&gt;&lt;?php echo $i++; ?&gt;&lt;?php echo $this-&gt;__('. ') ?&gt;&lt;a href=&quot;javascript:void(0)&quot; onclick=&quot;player1.sendEvent('STOP'); player1.sendEvent('LOAD', {'image':'&lt;?php echo $_product-&gt;getImageUrl(); ?&gt;', 'file':'&lt;?php echo $_samplelink ?&gt;', 'provider':'sound', 'buffer':0, 'autostart':true});&quot; title=&quot;Click to play &lt;?php echo $relatedproduct-&gt;getName(); ?&gt;&quot;&gt;&lt;?php echo $relatedproduct-&gt;getName(); ?&gt;&lt;/a&gt;&lt;/span&gt;
 &lt;?php } ?&gt;
 &lt;?php /*endforeach;*/ ?&gt;

 &lt;?php endif; ?&gt;

 &lt;?php //Mage::Helper('debug')-&gt;log($_sample) ?&gt;
 &lt;?php endif; ?&gt;
 &lt;?php } ?&gt;
 &lt;?php /*endforeach;*/ ?&gt;
</pre>
<p>Beer time!<br />
There you have it, if you don&#8217;t come right, use the contact form to contact me, and I will set this up for you.</p>
<p>Have a wonderful day!</p>
<p>Winston</p>
]]></content:encoded>
			<wfw:commentRss>http://www.buyxonline.com/ecommerceblog/2010/07/26/how-to-bring-in-related-product-data-into-view-phtml-with-downloadable-sample-links/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Magento Cape Town</title>
		<link>http://www.buyxonline.com/ecommerceblog/2010/07/19/buyx-online-your-magento-friend-in-cape-town/</link>
		<comments>http://www.buyxonline.com/ecommerceblog/2010/07/19/buyx-online-your-magento-friend-in-cape-town/#comments</comments>
		<pubDate>Mon, 19 Jul 2010 04:18:28 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Magento]]></category>
		<category><![CDATA[eCommerce]]></category>

		<guid isPermaLink="false">http://www.buyxonline.com/ecommerceblog/?p=236</guid>
		<description><![CDATA[We work with Magento all day long, and know this system very well now.
At BUYX Online, we will be able to support, host, and develop your on-line store. We have also made Magento Partners throughout the world and can recommend someone in Europe, America, and India.
Should you have a Magento related query, contact us here.
]]></description>
			<content:encoded><![CDATA[<p>We work with Magento all day long, and know this system very well now.<br />
At BUYX Online, we will be able to support, host, and develop your on-line store. We have also made Magento Partners throughout the world and can recommend someone in Europe, America, and India.</p>
<p>Should you have a Magento related query, <a title="BUYX Online, Magento eCommerce" href="http://www.buyxonline.com/contacts/index/" target="_self">contact us here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.buyxonline.com/ecommerceblog/2010/07/19/buyx-online-your-magento-friend-in-cape-town/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>HOWTO Compile JW Player from Longtail on Windows</title>
		<link>http://www.buyxonline.com/ecommerceblog/2010/07/17/howto-compile-jw-player-from-longtail-on-windows/</link>
		<comments>http://www.buyxonline.com/ecommerceblog/2010/07/17/howto-compile-jw-player-from-longtail-on-windows/#comments</comments>
		<pubDate>Sat, 17 Jul 2010 11:52:26 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[JW Player]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[eCommerce]]></category>

		<guid isPermaLink="false">http://www.buyxonline.com/ecommerceblog/?p=227</guid>
		<description><![CDATA[Okay today we will learn howto compile Actionscript, and JW Player on Windows Vista.
Normally I only work on Linux but since I have never done this I took the dummy way out. Sue me  
Okay We will need this software:

* Flex SDK 3.3: http://opensource.adobe.com/wiki/display/flexsdk/Downloads
* Ant 1.7.0: http://ant.apache.org/bindownload.cgi
* FlexUnit 4: http://opensource.adobe.com/wiki/display/flexunit/FlexUnit (for testing the player)

Make [...]]]></description>
			<content:encoded><![CDATA[<p>Okay today we will learn howto compile Actionscript, and JW Player on Windows Vista.</p>
<p>Normally I only work on Linux but since I have never done this I took the dummy way out. Sue me <img src='http://www.buyxonline.com/ecommerceblog/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> </p>
<p>Okay We will need this software:</p>
<pre class="brush: plain;">
* Flex SDK 3.3: http://opensource.adobe.com/wiki/display/flexsdk/Downloads
* Ant 1.7.0: http://ant.apache.org/bindownload.cgi
* FlexUnit 4: http://opensource.adobe.com/wiki/display/flexunit/FlexUnit (for testing the player)
</pre>
<p>Make sure you get Flex version 3.3!! This is so Important otherwise you&#8217;ll get strange errors.</p>
<p>Okay I put Flex in this directory:</p>
<pre class="brush: plain;">
C:\Program Files\Adobe Flex Builder 3\sdks\3.3.0\
</pre>
<p>Inside this directory is the following contents:</p>
<pre class="brush: plain;">
ant
asdoc
bin
build.properties
build.xml
frameworks
lib
license-mpl.htm
readme-open.htm
samples
templates
</pre>
<p>That&#8217;s Flex done.<br />
Now for Ant</p>
<p>I downloaded ant and put it in the directory</p>
<pre class="brush: plain;">
C:\ant
</pre>
<p>There is no install, just copy the files. Inside the directory is the following contents:</p>
<pre class="brush: plain;">
bin
docs
etc
fetch.xml
get-m2.xml
INSTALL
KEYS
lib
LICENSE
NOTICE
README
WHATSNEW
</pre>
<p>That&#8217;s Ant done.</p>
<p>Now for JAVA SDK. I downloaded this file:<br />
jdk-6u21-windows-i586.exe and installed it. I chose the location:</p>
<pre class="brush: plain;">
C:\jdk_6
</pre>
<p>That&#8217;s JAVA SDK done.</p>
<p>Now grab your version of the JW Player source, and copy it to your C drive. My source is in this directory.</p>
<pre class="brush: plain;">
C:\trunk\fl5\
</pre>
<p>Inside this directory is the following contents:</p>
<pre class="brush: plain;">
assets
bin-release
build
doc
libs   ###NOTE### THIS DIRECTORY I COPIED FROM THE FLEX DIRECTORY
C:\Program Files\Adobe Flex Builder 3\sdks\3.3.0\frameworks
player.swf
player.xml
README.txt
src
test
yt.as
yt.fla
yt.swf
</pre>
<p>That&#8217;s our source Done!<br />
Now before we compile to open up our command line and give the following commands. You have to do this everytime you restart Windows and before you want to compile.</p>
<pre class="brush: plain;">
set ANT_HOME=c:\ant
set JAVA_HOME=c:\jdk_6
set PATH=%PATH%;%ANT_HOME%\bin
</pre>
<p>Now for the goodstuff or the bad stuff, to compile the source code in the command line, navigate to</p>
<pre class="brush: plain;">
C:\ant\bin and give this command
</pre>
<pre class="brush: plain;">
ant -buildfile C:\trunk\fl5\build\build.xml
</pre>
<p>And that&#8217;s it! Good luck! Let&#8217;s go have a beer <img src='http://www.buyxonline.com/ecommerceblog/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> </p>
<p>Winston</p>
]]></content:encoded>
			<wfw:commentRss>http://www.buyxonline.com/ecommerceblog/2010/07/17/howto-compile-jw-player-from-longtail-on-windows/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>JW Player 5.2 Autostart BUG: Ticket #928</title>
		<link>http://www.buyxonline.com/ecommerceblog/2010/07/17/jw-player-5-2-autostart-bug-ticket-928/</link>
		<comments>http://www.buyxonline.com/ecommerceblog/2010/07/17/jw-player-5-2-autostart-bug-ticket-928/#comments</comments>
		<pubDate>Sat, 17 Jul 2010 10:30:50 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[eCommerce]]></category>

		<guid isPermaLink="false">http://www.buyxonline.com/ecommerceblog/?p=218</guid>
		<description><![CDATA[Hi there,
My awesome twin brother and I recently re-launched our super-cool-oh-my-gosh-this-rocks website www.3am.co.za
With the relaunch we changed frameworks and our old Flash media player no longer could do the job.
I looked into using the awesome Flowplayer but was suggested by my good friend Bruno
(balexandre #magento) to use JW player from Longtail.
I built the flash JW [...]]]></description>
			<content:encoded><![CDATA[<p>Hi there,</p>
<p>My awesome <a title="Riaan Nolan" href="http://riaannolan.com" target="_blank">twin brother</a> and I recently re-launched our <a title="www.3am.co.za" href="http://www.3am.co.za" target="_blank">super-cool-oh-my-gosh-this-rocks website www.3am.co.za</a></p>
<p>With the relaunch we changed frameworks and our old Flash media player no longer could do the job.<br />
I looked into using the awesome <a title="Flowplayer" href="http://flowplayer.org/" target="_blank">Flowplayer</a> but was suggested by my good friend Bruno<br />
(balexandre #magento) to use <a title="JW Player @ www.longtailvideo.com" href="http://www.longtailvideo.com" target="_blank">JW player from Longtail</a>.</p>
<p>I built the flash JW Player into my <a title="Magento eCommerce" href="http://magentocommerce.com" target="_blank">Magento</a> website and started plugging in my samples.<br />
The JW Player is quite cool, and it took me a couple of days to get to grips with the framework and how it functions. When all was setup I noticed that my Autostart function doesn&#8217;t work. This was bad because of the following.</p>
<p>- When a user click on a song to play, it would start the autoplay, and downloading the song, but no sound would come through<br />
- The user then had to click Pause and then Play for the song to start playing.</p>
<p>So 3 clicks made a play.</p>
<p>I then decided to look into it and came across this <a title="http://developer.longtailvideo.com/trac/ticket/928" href="http://developer.longtailvideo.com/trac/ticket/928" target="_blank">BUG post</a>.</p>
<p>The fix there was stated by Pablo as</p>
<p>This issue can probably be tracked down to the following line: <a href="http://developer.longtailvideo.com/trac/browser/trunk/fl5/src/com/longtailvideo/jwplayer/media/SoundMediaProvider.as#L150">trunk/fl5/src/com/longtailvideo/jwplayer/media/SoundMediaProvider.as#L150</a></p>
<p>Replace</p>
<pre class="brush: as3;">
if (_sound.isBuffering == true &amp;&amp; _sound.bytesTotal &gt; _sound.bytesLoaded) {
</pre>
<p>with</p>
<pre class="brush: as3;">
if (_sound.isBuffering == true &amp;&amp; _sound.bytesTotal &gt; _sound.bytesLoaded &gt; 0) {
</pre>
<p>So I decided to give it a try, nevermind the fact that I have never in my life compiled Actionscript. But hey..more on that later. See my blog Post on How to Compile Actionscript and JW Player 5.2</p>
<p>This change did not make a huge difference so I went back into the code this morning and came up with this:<br />
In the file:<br />
/trac/browser/trunk/fl5/src/com/longtailvideo/jwplayer/media/SoundMediaProvider.as#L150&#8243;&gt;trunk/fl5/src/com/longtailvideo/jwplayer/media/SoundMediaProvider.as</p>
<p>I changed this protected function positionHandler(progressEvent:ProgressEvent=null):void function</p>
<p>For sake of clarity I&#8217;m just going to paste the whole file. Look for my changes around Line 141, Line 144, Line 155 and Line 157. Let me just tell you now, that I have NEVER in my whole entire life written even one line of ActionScript. This code is not the prettiest, but as you can see on <a title="http://www.3am.co.za/music/timecode-records/timecode-records-multistate-collaborating-with-machines.html" href="http://www.3am.co.za/music/timecode-records/timecode-records-multistate-collaborating-with-machines.html" target="_blank">this page</a> it does work <img src='http://www.buyxonline.com/ecommerceblog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<pre class="brush: as3;">
/**
 * Wrapper for playback of mp3 sounds.
 **/
package com.longtailvideo.jwplayer.media {
 import com.jeroenwijering.events.*;
 import com.longtailvideo.jwplayer.events.MediaEvent;
 import com.longtailvideo.jwplayer.model.PlayerConfig;
 import com.longtailvideo.jwplayer.model.PlaylistItem;
 import com.longtailvideo.jwplayer.player.PlayerState;

 import flash.events.*;
 import flash.media.*;
 import flash.net.URLRequest;
 import flash.utils.*;

 public class SoundMediaProvider extends MediaProvider {
 /** _sound object to be instantiated. **/
 private var _sound:Sound;
 /** Sound control object. **/
 private var _transformer:SoundTransform;
 /** Sound _channel object. **/
 private var _channel:SoundChannel;
 /** Sound _context object. **/
 private var _context:SoundLoaderContext;
 /** ID for the position interval. **/
 protected var _positionInterval:Number;
 /** Whether the buffer has filled **/
 private var _bufferFull:Boolean;
 /** Whether the enitre video has been buffered **/
 private var _bufferingComplete:Boolean;
 /** User-defined item duration **/
 private var _userDuration:Number = -1;

 /** Constructor; sets up the connection and display. **/
 public function SoundMediaProvider() {
 super('_sound');

 }

 public override function initializeMediaProvider(cfg:PlayerConfig):void {
 super.initializeMediaProvider(cfg);
 _transformer = new SoundTransform();
 _context = new SoundLoaderContext(config.bufferlength * 1000, true);
 }

 /** Sound completed; send event. **/
 private function completeHandler(evt:Event):void {
 complete();
 }

 /** Catch errors. **/
 private function errorHandler(evt:ErrorEvent):void {
 stop();
 error(evt.text);
 }

 /** Forward ID3 data from the _sound. **/
 private function id3Handler(evt:Event):void {
 try {
 var id3:ID3Info = _sound.id3;
 var obj:Object = {type: 'id3', album: id3.album,
 artist: id3.artist, comment: id3.comment,
 genre: id3.genre, name: id3.songName, track: id3.track,
 year: id3.year}
 sendMediaEvent(MediaEvent.JWPLAYER_MEDIA_META, {metadata:obj});
 } catch (err:Error) {
 }
 }

 /** Load the _sound. **/
 override public function load(itm:PlaylistItem):void {
 _position = 0;
 _bufferFull = false;
 _bufferingComplete = false;
 _userDuration = itm.duration &gt; 0 ? itm.duration : -1;
 if (!_item || _item.file != itm.file) {
 _item = itm;
 _sound = new Sound();
 _sound.addEventListener(IOErrorEvent.IO_ERROR, errorHandler);
 _sound.addEventListener(Event.ID3, id3Handler);
 _sound.addEventListener(ProgressEvent.PROGRESS, positionHandler);
 _sound.load(new URLRequest(encodeURI(_item.file)), _context);
 }
 if (!_positionInterval) {
 _positionInterval = setInterval(positionHandler, 100);
 }

 sendMediaEvent(MediaEvent.JWPLAYER_MEDIA_LOADED);
 setState(PlayerState.BUFFERING);
 sendBufferEvent(0);
 streamVolume(config.mute ? 0 : config.volume);
 }

 /** Pause the _sound. **/
 override public function pause():void {
 if (_positionInterval){
 clearInterval(_positionInterval);
 _positionInterval = undefined;
 }
 if (_channel) {
 _channel.stop();
 }
 super.pause();
 }

 /** Play the _sound. **/
 override public function play():void {
 if (position == 0 &amp;&amp; _item.start &gt; 0) {
 seek(item.start);
 return;
 }
 if (!_positionInterval) {
 _positionInterval = setInterval(positionHandler, 100);
 }
 if (_channel){
 _channel.stop();
 _channel = null;
 }
 _channel = _sound.play(_position * 1000, 0, _transformer);
 _channel.addEventListener(Event.SOUND_COMPLETE, completeHandler);
 super.play();
 }

 /** Interval for the _position progress **/
 protected function positionHandler(progressEvent:ProgressEvent=null):void {
 var bufferPercent:Number;

 if (_sound.bytesTotal &gt; 0 &amp;&amp; _sound.bytesLoaded / _sound.bytesTotal &gt; 0.1 &amp;&amp; (_item.duration &lt;= 0 || _userDuration &lt; 0)) {
 _item.duration = _sound.length / 1000 / _sound.bytesLoaded * _sound.bytesTotal;
 }

 if (_channel &amp;&amp; _sound &amp;&amp; _sound.bytesTotal &gt; 0) {
 _position = Math.round(_channel.position / 100) / 10;
 bufferPercent = Math.floor(_sound.bytesLoaded / _sound.bytesTotal * 100);
 } else if (!_channel &amp;&amp; progressEvent &amp;&amp; progressEvent.bytesTotal &gt; 0) {
 bufferPercent = Math.floor(progressEvent.bytesLoaded / progressEvent.bytesTotal * 100);
 } else {
 bufferPercent = 0;
 }

 //if (_sound.isBuffering == true &amp;&amp; _sound.bytesTotal &gt; _sound.bytesLoaded) {
 if (_sound.isBuffering == true &amp;&amp; _sound.bytesTotal &gt; _sound.bytesLoaded &gt; 0) {
 if (state != PlayerState.BUFFERING) {
 //_bufferFull = false;
 _bufferFull = true;
 if (_channel) {
 _channel.stop();
 play();
 }
 if (!progressEvent) {
 setState(PlayerState.BUFFERING);
 }
 }
 } else if (state == PlayerState.BUFFERING &amp;&amp; _sound.bytesLoaded &gt; 0 &amp;&amp; !_bufferFull) {
 //_bufferFull = true;
 _bufferFull = false;
 //sendMediaEvent(MediaEvent.JWPLAYER_MEDIA_BUFFER_FULL);
 play();
 }

 if (!isNaN(bufferPercent) &amp;&amp; !_bufferingComplete){
 if (bufferPercent == 100 &amp;&amp; _bufferingComplete == false) {
 _bufferingComplete = true;
 }
 sendBufferEvent(bufferPercent, 0, {loaded:_sound.bytesLoaded, total:_sound.bytesTotal});
 }

 if (state != PlayerState.PLAYING) {
 return;
 }

 if (_position &lt; _item.duration) {
 sendMediaEvent(MediaEvent.JWPLAYER_MEDIA_TIME, {position: _position, duration: _item.duration});
 } else if (_item.duration &gt; 0) {
 complete();
 }
 }

 /** Seek in the _sound. **/
 override public function seek(pos:Number):void {
 if (_sound &amp;&amp; _sound.bytesTotal &gt; 0 &amp;&amp; (pos &lt; (_sound.bytesLoaded / _sound.bytesTotal) * item.duration) || item.start) {
 clearInterval(_positionInterval);
 _positionInterval = undefined;
 if (_channel) {
 _channel.stop();
 }
 _position = pos;
 play();
 }
 }

 /** Destroy the _sound. **/
 override public function stop():void {
 clearInterval(_positionInterval);
 _positionInterval = undefined;
 super.stop();
 if (_channel) {
 _channel.stop();
 _channel = null;
 }
 try {
 _sound.close();
 } catch (err:Error) {
 }
 }

 /** Set the volume level. **/
 override public function setVolume(vol:Number):void {
 streamVolume(vol);
 super.setVolume(vol);
 }

 /** Set the stream's volume, without sending a volume event **/
 protected function streamVolume(level:Number):void {
 _transformer.volume = level / 100;
 if (_channel) {
 _channel.soundTransform = _transformer;
 }
 }
 }
}
</pre>
<p>Okay, so now we have that covered. I&#8217;ll submit my changes to the Longtail forums and then maybe a pro can make some changes &#8211; and then we have opensource going &#8211; and then we can all go and drink some beer at the Pub *YAY!*</p>
<p>I hope this helps you in any way,</p>
<p>Winston</p>
]]></content:encoded>
			<wfw:commentRss>http://www.buyxonline.com/ecommerceblog/2010/07/17/jw-player-5-2-autostart-bug-ticket-928/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Magento Contact Us &#8211; Unable to submit your request. Please, try again later error</title>
		<link>http://www.buyxonline.com/ecommerceblog/2010/05/08/magento-contact-us-unable-to-submit-your-request-please-try-again-later-error/</link>
		<comments>http://www.buyxonline.com/ecommerceblog/2010/05/08/magento-contact-us-unable-to-submit-your-request-please-try-again-later-error/#comments</comments>
		<pubDate>Sat, 08 May 2010 09:52:44 +0000</pubDate>
		<dc:creator>star</dc:creator>
				<category><![CDATA[Debug]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[Howto's]]></category>
		<category><![CDATA[Magento]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[eCommerce]]></category>

		<guid isPermaLink="false">http://www.buyxonline.com/ecommerceblog/?p=200</guid>
		<description><![CDATA[I had an issue with Magento CE Version 1.4.0.1 where an email would not be sent when a visitor used the contact us page, I found the fix using Google, on ScreencastWorld
In WEBROOT/app/design/frontend/base/default/template/contacts/form.phtml
Look for

&#60;div class=&#34;buttons-set&#34;&#62;

It should look like this, the important part is the input file name=&#8221;hideit&#8221;

&#60;div class=&#34;buttons-set&#34;&#62;
        [...]]]></description>
			<content:encoded><![CDATA[<p>I had an issue with Magento CE Version 1.4.0.1 where an email would not be sent when a visitor used the contact us page, I found the fix using Google, on <a href="http://screencastworld.com/2010/03/articles/magento-commerce-1-4-how-to-fix-unable-to-submit-your-request-please-try-again-later%E2%80%99-on-the-contact-us-form">ScreencastWorld</a></p>
<p>In <strong>WEBROOT/app/design/frontend/base/default/template/contacts/form.phtml</strong><br />
Look for</p>
<pre class="brush: xml;">
&lt;div class=&quot;buttons-set&quot;&gt;
</pre>
<p>It should look like this, the important part is the input file name=&#8221;hideit&#8221;</p>
<pre class="brush: xml;">
&lt;div class=&quot;buttons-set&quot;&gt;
        &lt;p class=&quot;required&quot;&gt;&lt;?php echo Mage::helper('contacts')-&gt;__('* Required Fields') ?&gt;&lt;/p&gt;
        &lt;input type=&quot;text&quot; name=&quot;hideit&quot; id=&quot;hideit&quot; value=&quot;&quot; style=&quot;display:none !important;&quot; /&gt;
        &lt;button type=&quot;submit&quot; title=&quot;&lt;?php echo Mage::helper('contacts')-&gt;__('Submit') ?&gt;&quot; class=&quot;button&quot;&gt;&lt;span&gt;&lt;span&gt;&lt;?php echo Mage::helper('contacts')-&gt;__('Submit') ?&gt;&lt;/span&gt;&lt;/span&gt;&lt;/button&gt;
&lt;/div&gt;
</pre>
<p>Good luck !</p>
]]></content:encoded>
			<wfw:commentRss>http://www.buyxonline.com/ecommerceblog/2010/05/08/magento-contact-us-unable-to-submit-your-request-please-try-again-later-error/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
