<?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>jloop == outburst &#187; interesting techniques</title>
	<atom:link href="http://outburst.jloop.com/category/interesting-techniques/feed/" rel="self" type="application/rss+xml" />
	<link>http://outburst.jloop.com</link>
	<description>our daily brew of rich media</description>
	<lastBuildDate>Thu, 10 Feb 2011 00:07:43 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>SWFObject and Dreamweaver FLV Player</title>
		<link>http://outburst.jloop.com/2010/04/22/swfobject-and-dreamweaver-flv-player/</link>
		<comments>http://outburst.jloop.com/2010/04/22/swfobject-and-dreamweaver-flv-player/#comments</comments>
		<pubDate>Fri, 23 Apr 2010 01:28:28 +0000</pubDate>
		<dc:creator>daniel</dc:creator>
				<category><![CDATA[interesting techniques]]></category>

		<guid isPermaLink="false">http://outburst.jloop.com/?p=538</guid>
		<description><![CDATA[So Dreamweaver has some nice little built in FLV Players and functionality to insert them on a page for you. Only problem is they make use of the old &#8216;object&#8217; and &#8216;embed&#8217; tags. SWFObject is a much more graceful, standards-compliant method for adding Flash to your site, so why not combine the two? I wanted [...]]]></description>
			<content:encoded><![CDATA[<p>So Dreamweaver has some nice little built in FLV Players and functionality to insert them on a page for you. Only problem is they make use of the old &#8216;object&#8217; and &#8216;embed&#8217; tags. <a href="http://code.google.com/p/swfobject/">SWFObject</a> is a much more graceful, standards-compliant method for adding Flash to your site, so why not combine the two?</p>
<p>I wanted to use the progressive player that Dreamweaver provides, so I generated the code, pulled out the flashvars and parameters and inserted them into the SWFObject code like so:</p>
<p>(Line wraps marked »)</p>
<pre>&lt;script type="text/javascript"&gt;
    var flashvars = {
        skinName: "video/Clear_Skin_3",
        streamName: "MyVideoTitle",
	autoPlay: true,
	autoRewind: false
    };
    var params = {
        movie: "video/FLVPlayer_Progressive.swf",
	salign: "tl",
	quality: "high",
	scale: "noscale"
    };
    var attributes = {};

    swfobject.embedSWF("video/FLVPlayer_Progressive.swf", "FLVPlayer", »
    "800", "600", "9.0.0","video/expressInstall.swf", flashvars, params, »
    attributes);
&lt;/script&gt;
</pre>
<p>The important thing here being, that the path to the video file is relative to the <strong>player SWF</strong> (in this case &#8216;FLVPlayer_Progressive.swf) <strong>NOT</strong> the page calling it &#8211; Nice!</p>
]]></content:encoded>
			<wfw:commentRss>http://outburst.jloop.com/2010/04/22/swfobject-and-dreamweaver-flv-player/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Call Fancybox from Flash</title>
		<link>http://outburst.jloop.com/2009/08/06/call-fancybox-from-flash/</link>
		<comments>http://outburst.jloop.com/2009/08/06/call-fancybox-from-flash/#comments</comments>
		<pubDate>Thu, 06 Aug 2009 21:52:23 +0000</pubDate>
		<dc:creator>jay</dc:creator>
				<category><![CDATA[geek stuff]]></category>
		<category><![CDATA[interesting techniques]]></category>

		<guid isPermaLink="false">http://outburst.jloop.com/?p=405</guid>
		<description><![CDATA[So we searched high and low for a good answer to this one and finally cobbled together a good solution. Fancybox is a really nice jQuery plugin that gives you some handsome options for the div overlay.  We are using it in a new project, but needed to call it from Flash, and there was [...]]]></description>
			<content:encoded><![CDATA[<p>So we searched high and low for a good answer to this one and finally cobbled together a good solution.</p>
<p><a href="http://fancybox.net/" target="_blank">Fancybox</a> is a really nice <a href="http://jquery.com/" target="_blank">jQuery</a> plugin that gives you some handsome options for the div overlay.  We are using it in a new project, but needed to call it from Flash, and there was really no documentation for how to do this.  Hopefully our solution will help someone else.</p>
<p>Here&#8217;s the really simple javascript function we added onto our page:</p>
<pre class="brush: jscript;">&lt;script type=&quot;text/javascript&quot; &gt;
function callFancy(my_href) {
var j1 = document.getElementById(&quot;hiddenclicker&quot;);
j1.href = my_href;
$('#hiddenclicker').trigger('click');
}
&lt;/script&gt;
</pre>
<p>Now somewhere on the page we had to add a &#8220;hidden&#8221; &lt;a&gt; tag that we could manipulate with javascript like this:</p>
<pre class="brush: xml;">&lt;div id=&quot;hidden_clicker&quot; style=&quot;display:none;&quot;&gt;
&lt;a class=&quot;overlay-flash&quot; id=&quot;hiddenclicker&quot; href=&quot;#&quot; &gt;Hidden Clicker&lt;/a&gt;
&lt;/div&gt;</pre>
<p>The tag is wrapped in a div tag that has a display:none set so it doesn&#8217;t show in the browser.</p>
<p>Next part is the ActionScript.  We embedded the SWF using <a href="http://code.google.com/p/swfobject/" target="_blank">SWFObject</a> and can call the javascript function just like this:</p>
<pre class="brush: php;">getURL(&quot;javascript:callFancy('/linktopage.html');&quot;);</pre>
<p>That&#8217;s it.  Hope it helps someone out there.  <img src='http://outburst.jloop.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>UPDATE 8/18/09:  I neglected to point out that the A class assigned to our &#8220;hiddenclicker&#8221; div is a custom javascript implementation to launch a certain window.  Here is the code we added to an included .js file:</p>
<pre class="brush: jscript;">

$(document).ready(function() {
 $(&quot;a.overlay-flash&quot;).fancybox({
 'padding'                : 0,
 'zoomOpacity'            : true,
 'zoomSpeedIn'            : 500,
 'zoomSpeedOut'            : 500,
 'overlayOpacity'        : 0.75,
 'frameWidth'            : 530,
 'frameHeight'            : 400,
 'hideOnContentClick'    : false
 });
});
</pre>
<p>Sorry for the omission&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://outburst.jloop.com/2009/08/06/call-fancybox-from-flash/feed/</wfw:commentRss>
		<slash:comments>55</slash:comments>
		</item>
		<item>
		<title>magentocommerce.com 400 bad request solved</title>
		<link>http://outburst.jloop.com/2009/05/12/magentocommercecom-400-bad-request-solved/</link>
		<comments>http://outburst.jloop.com/2009/05/12/magentocommercecom-400-bad-request-solved/#comments</comments>
		<pubDate>Tue, 12 May 2009 17:40:16 +0000</pubDate>
		<dc:creator>jay</dc:creator>
				<category><![CDATA[geek stuff]]></category>
		<category><![CDATA[interesting techniques]]></category>

		<guid isPermaLink="false">http://outburst.jloop.com/?p=382</guid>
		<description><![CDATA[This is super geeky. But if I&#8217;ve been having this problem this long I have to believe there are others.  For the last two months, I&#8217;ve been completely unable to browse the magentocommerce.com website in Firefox &#8211; major pain, considering I&#8217;ve been working on two magento projects.  Every time I visited I would get a [...]]]></description>
			<content:encoded><![CDATA[<p>This is super geeky.</p>
<p>But if I&#8217;ve been having this problem this long I have to believe there are others.  For the last two months, I&#8217;ve been completely unable to browse the <a href="http://www.magentocommerce.com/" target="_blank">magentocommerce.com</a> website in Firefox &#8211; major pain, considering I&#8217;ve been working on two magento projects.  Every time I visited I would get a &#8220;400 Bad Request&#8221; error.</p>
<p>I tried turning off all my Firefox add-ons &#8211; to no avail.  Finally figured it out.  It was a bad cookie that somehow the site had stored on my machine.</p>
<p>I used the <a href="https://addons.mozilla.org/en-US/firefox/addon/60" target="_blank">Web Developer Toolbar</a> to clear out all the site cookies for magentocommerce.com and that did the trick.  Hope this helps someone else from pulling all their hair out.</p>
]]></content:encoded>
			<wfw:commentRss>http://outburst.jloop.com/2009/05/12/magentocommercecom-400-bad-request-solved/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>Plugoo</title>
		<link>http://outburst.jloop.com/2008/04/10/plugoo/</link>
		<comments>http://outburst.jloop.com/2008/04/10/plugoo/#comments</comments>
		<pubDate>Thu, 10 Apr 2008 23:36:15 +0000</pubDate>
		<dc:creator>jay</dc:creator>
				<category><![CDATA[interesting techniques]]></category>

		<guid isPermaLink="false">http://outburst.jloop.com/?p=309</guid>
		<description><![CDATA[I&#8217;m trying out this little IM widget for quickly creating a way for users of your website to IM with your existing IM client.]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m trying out this little IM widget for quickly creating a way for users of your website to IM with your existing IM client.</p>
<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="160" height="300" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="id" value="plugoo" /><param name="allowScriptAccess" value="always" /><param name="wmode" value="transparent" /><param name="src" value="http://www.plugoo.com/plug.swf?go=0E00LIDADIFJRUZ" /><embed id="plugoo" type="application/x-shockwave-flash" width="160" height="300" src="http://www.plugoo.com/plug.swf?go=0E00LIDADIFJRUZ" wmode="transparent" allowscriptaccess="always"></embed></object></p>
]]></content:encoded>
			<wfw:commentRss>http://outburst.jloop.com/2008/04/10/plugoo/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress 2.5 and SVN updating</title>
		<link>http://outburst.jloop.com/2008/03/31/wordpress-25-and-svn-updating/</link>
		<comments>http://outburst.jloop.com/2008/03/31/wordpress-25-and-svn-updating/#comments</comments>
		<pubDate>Mon, 31 Mar 2008 16:37:06 +0000</pubDate>
		<dc:creator>jay</dc:creator>
				<category><![CDATA[interesting techniques]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[blog]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[svn]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://outburst.jloop.com/?p=305</guid>
		<description><![CDATA[I spent some time this weekend upgrading a bunch of WordPress sites to the newly released 2.5. So far, I&#8217;m completely impressed with this upgrade. The admin functions are truly improved and the overall design is beautiful and much more intuitive than the last admin panel. The dashboard alone is worth the upgrade. We&#8217;ve also [...]]]></description>
			<content:encoded><![CDATA[<p>I spent some time this weekend upgrading a bunch of WordPress sites to the <a href="http://wordpress.org/download/" target="_blank" >newly released 2.5</a>.  So far, I&#8217;m completely impressed with this upgrade.  The admin functions are truly improved and the overall design is beautiful and much more intuitive than the last admin panel.  The dashboard alone is worth the upgrade.</p>
<p>We&#8217;ve also taken to a new approach for updating our WordPress sites.  Since we&#8217;ve had a love affair recently with <a href="http://subversion.tigris.org/" target="_blank" >SVN </a>for version control, I decided it made a lot more sense to use direct SVN checkouts of the tagged releases in the WordPress SVN, rather than FTP&#8217;ing the entire WordPress directory every time we get a minor release.  So&#8230; here&#8217;s how we&#8217;ve got it set up:</p>
<ol>
<li>First, we run an SVN checkout to get the tagged release.  This gives us all the core WordPress files.</li>
<li>Next, we upload via FTP all the files that don&#8217;t belong to the core WordPress file structure.  These files are:</li>
<li>wp-config.php</li>
<li>.htaccess</li>
<li>our custom theme</li>
<li>our plugins (besides akismet and hello)</li>
<li>the wp-content/uploads folder</li>
<li>Then we make sure that uploads folder is writeable by the server, and all should be well.</li>
</ol>
<p>So with this setup, the next time that we need to upgrade the WordPress release, we can simply SSH into the server and run an svn switch command to the newest tagged release and it will update the changed files.  Then we run the upgrade script and we&#8217;re there.  Much easier when you have to update a dozen WordPress sites at once.  </p>
<p>So.  Anyone see any gotchas in this approach?</p>
]]></content:encoded>
			<wfw:commentRss>http://outburst.jloop.com/2008/03/31/wordpress-25-and-svn-updating/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Suckerfish Dropdowns and Blueprint CSS</title>
		<link>http://outburst.jloop.com/2008/03/03/suckerfish-dropdowns-and-blueprint-css/</link>
		<comments>http://outburst.jloop.com/2008/03/03/suckerfish-dropdowns-and-blueprint-css/#comments</comments>
		<pubDate>Mon, 03 Mar 2008 22:32:49 +0000</pubDate>
		<dc:creator>daniel</dc:creator>
				<category><![CDATA[interesting techniques]]></category>

		<guid isPermaLink="false">http://outburst.jloop.com/2008/03/03/suckerfish-dropdowns-and-blueprint-css/</guid>
		<description><![CDATA[I&#8217;m a big fan of the Son of Suckerfish CSS dropdown menus at HTML Dog &#8211; executed entirely using CSS with just a touch of JavaScript to give a little extra help to certain browsers out there. Lately, we&#8217;ve also been making use of the Blueprint CSS framework on a few projects and I ran [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m a big fan of the <em>Son of Suckerfish</em> CSS dropdown menus at <a href="http://www.htmldog.com/articles/suckerfish/dropdowns/">HTML Dog</a> &#8211; executed entirely using CSS with just a touch of JavaScript to give a little extra help to certain browsers out there. Lately, we&#8217;ve also been making use of the <a href="http://code.google.com/p/blueprintcss/">Blueprint CSS framework</a> on a few projects and I ran into an issue when combining the two. The dropdown menus were appearing behind content when viewed in Internet Explorer.</p>
<p>By default, Blueprint has a stylesheet for IE that adds a <strong>position: relative</strong> declaration to certain classes. Took me a little while to track this down and the solution is pretty simple: add a <strong>z-index</strong> property to the nearest positioned ancestor of the dropdown navigation, and set the value to something greater than the z-index of the content (e.g. 100). VoilÃ ! You&#8217;re back up and running.</p>
<p>In short, I changed the first line of this:</p>
<pre>
&lt;div class="column span-42 pull-10 last"&gt;
  &lt;ul id="nav"&gt;
    &lt;li&gt;&lt;a href="#"&gt;COMPANY&lt;/a&gt;
      &lt;ul&gt;
        &lt;li&gt;&lt;a href="/ourstory"&gt;OUR STORY&lt;/a&gt;&lt;/li&gt;
        &lt;li&gt;&lt;a href="/executivemanagement"&gt;EXECUTIVE MANAGEMENT&lt;/a&gt;&lt;/li&gt;
        &lt;li&gt;&lt;a href="/news"&gt;LATEST NEWS&lt;/a&gt;&lt;/li&gt;
      &lt;/ul&gt;
    &lt;/li&gt;
  &lt;/ul&gt;&lt;!-- end #nav --&gt;
&lt;/div&gt;
</pre>
<p></p>
<p>to this:</p>
<pre>&lt;div class="column span-42 pull-10 last" style="z-index: 100;"&gt;</pre>
<p></p>
<p>Oh yeah, and to keep the Suckerfish dropdown menus from appearing behind Flash pieces, make sure that you set the Flash parameter &#8216;WMODE&#8217; to &#8216;transparent&#8217;</p>
<p>If you&#8217;re using SWFObject to display your Flash pieces, you would add the line:</p>
<pre>so.addParam("wmode", "transparent");</pre>
]]></content:encoded>
			<wfw:commentRss>http://outburst.jloop.com/2008/03/03/suckerfish-dropdowns-and-blueprint-css/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Dreamweaver 8.02 contains EOLA / IE Fix</title>
		<link>http://outburst.jloop.com/2006/05/12/dreamweaver-802-contains-eola-ie-fix/</link>
		<comments>http://outburst.jloop.com/2006/05/12/dreamweaver-802-contains-eola-ie-fix/#comments</comments>
		<pubDate>Fri, 12 May 2006 16:12:15 +0000</pubDate>
		<dc:creator>greg</dc:creator>
				<category><![CDATA[geek stuff]]></category>
		<category><![CDATA[interesting techniques]]></category>

		<guid isPermaLink="false">http://outburst.jloop.com/?p=158</guid>
		<description><![CDATA[It seems that Adobe was on the case, updating dreamweaver to include revisions to the OBJECT/EMBED tags (Which makes the recently remodeled Internet Explorer happy). The update is included in the latest revision to dreamweaver 8. Dreamweaver 8.02 Update Those of us who appreciate the WYSIWYG will be able to view their flash files again.]]></description>
			<content:encoded><![CDATA[<p>It seems that Adobe was on the case, updating dreamweaver to include revisions to the OBJECT/EMBED tags (Which makes the recently remodeled Internet Explorer happy). The update is included in the latest revision to dreamweaver 8.<br />
<a href="http://www.adobe.com/support/dreamweaver/downloads_updaters.html#dw8">Dreamweaver 8.02 Update</a></p>
<p>Those of us who appreciate the WYSIWYG will be able to view their flash files again.</p>
]]></content:encoded>
			<wfw:commentRss>http://outburst.jloop.com/2006/05/12/dreamweaver-802-contains-eola-ie-fix/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Nice CSS Tip</title>
		<link>http://outburst.jloop.com/2006/02/23/nice-css-tip/</link>
		<comments>http://outburst.jloop.com/2006/02/23/nice-css-tip/#comments</comments>
		<pubDate>Fri, 24 Feb 2006 00:59:04 +0000</pubDate>
		<dc:creator>greg</dc:creator>
				<category><![CDATA[geek stuff]]></category>
		<category><![CDATA[interesting techniques]]></category>

		<guid isPermaLink="false">http://outburst.jloop.com/?p=132</guid>
		<description><![CDATA[Seems that every one has their own legitimate way of organizing code that does not have a specific linear order. I find the only thing better than hours of mind numbing all nighters is to check out other developers practices. Here is a nice one on css organization. CSS Organization]]></description>
			<content:encoded><![CDATA[<p>Seems that every one has their own legitimate way of organizing code that does not have a specific linear order. I find the only thing better than hours of mind numbing all nighters is to check out other developers practices. Here is a nice one on css organization.</p>
<p><a href="http://www.huddletogether.com/2006/02/16/practical-web-development-tips/">CSS Organization</a></p>
]]></content:encoded>
			<wfw:commentRss>http://outburst.jloop.com/2006/02/23/nice-css-tip/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Reloadable Firefox Source</title>
		<link>http://outburst.jloop.com/2006/01/30/reloadable-firefox-source/</link>
		<comments>http://outburst.jloop.com/2006/01/30/reloadable-firefox-source/#comments</comments>
		<pubDate>Mon, 30 Jan 2006 17:25:56 +0000</pubDate>
		<dc:creator>greg</dc:creator>
				<category><![CDATA[geek stuff]]></category>
		<category><![CDATA[interesting techniques]]></category>

		<guid isPermaLink="false">http://outburst.jloop.com/?p=75</guid>
		<description><![CDATA[I thought this was a good tip. Control-R or View-> Reload will refresh the source code of a page directly. Sort of handy i thought. I read it somewhere this morning but i can seem to find the article to give appropriate credit.]]></description>
			<content:encoded><![CDATA[<p>I thought this was a good tip. Control-R or View-> Reload will refresh the source code of a page directly. Sort of handy i thought. I read it somewhere this morning but i can seem to find the article to give appropriate credit.</p>
]]></content:encoded>
			<wfw:commentRss>http://outburst.jloop.com/2006/01/30/reloadable-firefox-source/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>&#8220;View&#8221; Seating Chart UI</title>
		<link>http://outburst.jloop.com/2005/01/14/view-seating-chart-ui/</link>
		<comments>http://outburst.jloop.com/2005/01/14/view-seating-chart-ui/#comments</comments>
		<pubDate>Fri, 14 Jan 2005 16:51:45 +0000</pubDate>
		<dc:creator>greg</dc:creator>
				<category><![CDATA[interesting techniques]]></category>

		<guid isPermaLink="false">/?p=37</guid>
		<description><![CDATA[Chicago Symphony Orchestra]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.cso.org/main.taf?p=3,9,2&#038;eventid=6119">Chicago Symphony Orchestra</a></p>
]]></content:encoded>
			<wfw:commentRss>http://outburst.jloop.com/2005/01/14/view-seating-chart-ui/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Proposal</title>
		<link>http://outburst.jloop.com/2004/12/30/proposal/</link>
		<comments>http://outburst.jloop.com/2004/12/30/proposal/#comments</comments>
		<pubDate>Thu, 30 Dec 2004 16:58:17 +0000</pubDate>
		<dc:creator>greg</dc:creator>
				<category><![CDATA[interesting techniques]]></category>

		<guid isPermaLink="false">/?p=29</guid>
		<description><![CDATA[A design companies proposal for some work on the new Bobby Darin Film. Interesting angle. http://www.iamalwayshungry.com/new/BTS-pro.html]]></description>
			<content:encoded><![CDATA[<p>A design companies proposal for some work on the new Bobby Darin Film. Interesting angle.<br />
<a href="http://www.iamalwayshungry.com/new/BTS-pro.html">http://www.iamalwayshungry.com/new/BTS-pro.html</a></p>
]]></content:encoded>
			<wfw:commentRss>http://outburst.jloop.com/2004/12/30/proposal/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

