<?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>Geoff Evason &#187; js</title>
	<atom:link href="http://geoff.evason.name/tag/js/feed/" rel="self" type="application/rss+xml" />
	<link>http://geoff.evason.name</link>
	<description></description>
	<lastBuildDate>Wed, 30 Nov 2011 03:41:06 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Swiff Uploader argumentsToXML Error</title>
		<link>http://geoff.evason.name/2009/05/06/swiff-uploader-argumentstoxml-error/</link>
		<comments>http://geoff.evason.name/2009/05/06/swiff-uploader-argumentstoxml-error/#comments</comments>
		<pubDate>Wed, 06 May 2009 07:57:30 +0000</pubDate>
		<dc:creator>Geoff</dc:creator>
				<category><![CDATA[tech]]></category>
		<category><![CDATA[fancyuploader]]></category>
		<category><![CDATA[js]]></category>
		<category><![CDATA[swiff]]></category>

		<guid isPermaLink="false">http://geoff.evason.name/?p=68</guid>
		<description><![CDATA[I was working on getting the Swiff uploader working with a wedding vendors application and was getting the following javascript error:

__flash__argumentsToXML is not defined

After banging my head for a while (the exact same code was working fine on another website) I discovered the problem.  It was a really silly oversight on my part.  [...]]]></description>
			<content:encoded><![CDATA[<p>I was working on getting the <a href="http://digitarald.de/project/fancyupload/">Swiff uploader</a> working with a <a href="http://vendors.momentville.com">wedding vendors</a> application and was getting the following javascript error:</p>
<pre><code>
__flash__argumentsToXML is not defined
</code></pre>
<p>After banging my head for a while (the exact same code was working fine on another website) I discovered the problem.  It was a really silly oversight on my part.  I didn&#8217;t have the file Swiff.Uploader.swf in the right location!!!</p>
<p>Make sure that when create a swiffy object you have a the above swiff file where you set it in the path:</p>
<pre><code class='html'>
    $('upload-fallback').removeClass('hide');
  	var swiffy = new Fancyuploader2($('upload-status'), $('upload-list'), {
  	...
        /* This is the important bit re: this blog post */
  		'path': '/swf/Swiff.Uploader.swf',
  	...
  		'target': 'upload-browse-images', /* This is for flash 10 */
  		'onLoad': function() {
  			$('upload-status').removeClass('hide');
  			$('upload-fallback').destroy();
  		}

  	});
</code></pre>
]]></content:encoded>
			<wfw:commentRss>http://geoff.evason.name/2009/05/06/swiff-uploader-argumentstoxml-error/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

