<?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>CleVR » Panoramic photography and image stitching blog &#187; tips</title>
	<atom:link href="http://www.clevr.com/blog/category/tips/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.clevr.com/blog</link>
	<description>Panoramic photography, virtual tours and stitching software</description>
	<lastBuildDate>Wed, 22 Jul 2009 18:24:57 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1</generator>
		<item>
		<title>Share your CleVR panoramas on Facebook and MySpace.</title>
		<link>http://www.clevr.com/blog/2008/share-panoramas-on-facebook/</link>
		<comments>http://www.clevr.com/blog/2008/share-panoramas-on-facebook/#comments</comments>
		<pubDate>Sun, 31 Aug 2008 14:15:35 +0000</pubDate>
		<dc:creator>matt</dc:creator>
				<category><![CDATA[photography]]></category>
		<category><![CDATA[tips]]></category>
		<category><![CDATA[Viewer]]></category>
		<category><![CDATA[facebook]]></category>
		<category><![CDATA[myspace]]></category>

		<guid isPermaLink="false">http://www.clevr.com/blog/?p=80</guid>
		<description><![CDATA[I&#8217;m pleased to announce that we&#8217;ve been approved by Facebook as a multimedia Share Partner. This means that you can share and display panoramas on Facebook. You can send them as messages and post them to your profile, and they will be displayed properly in the page. Previously you could only send links to the [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m pleased to announce that we&#8217;ve been approved by Facebook as a multimedia Share Partner. This means that you can share and display panoramas on Facebook. You can send them as messages and post them to your profile, and they will be displayed properly in the page. Previously you could only send links to the panorama page, but now they can be embedded properly. It&#8217;s dead easy to do: just click the Facebook button on any panorama page. There is also a MySpace button that lets you do similar, which has been working for a few weeks now.</p>
<p>Try it out with this one of <a href="http://www.clevr.com/pano/5194/share/facebook">Beijing Olympic Green, the Birds&#8217; Nest Stadium and Water Cube</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.clevr.com/blog/2008/share-panoramas-on-facebook/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Hiding Flex DataGrid columns using a context menu in AIR</title>
		<link>http://www.clevr.com/blog/2008/hide-flex-datagrid-columns-with-context-menu/</link>
		<comments>http://www.clevr.com/blog/2008/hide-flex-datagrid-columns-with-context-menu/#comments</comments>
		<pubDate>Thu, 28 Aug 2008 14:04:52 +0000</pubDate>
		<dc:creator>matt</dc:creator>
				<category><![CDATA[Actionscript]]></category>
		<category><![CDATA[Adobe]]></category>
		<category><![CDATA[Adobe AIR]]></category>
		<category><![CDATA[AIR]]></category>
		<category><![CDATA[AS3]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://www.clevr.com/blog/2008/hide-flex-datagrid-columns-with-context-menu/</guid>
		<description><![CDATA[A Flex/AIR project I&#8217;m working on at the moment uses a DataGrid to display a lot of data. There needs to be lots of columns, but this means that the view can be a bit cluttered. What I wanted was an easy for the user to show or hide columns as they prefer. In Cocoa [...]]]></description>
			<content:encoded><![CDATA[<p>A Flex/AIR project I&#8217;m working on at the moment uses a DataGrid to display a lot of data. There needs to be lots of columns, but this means that the view can be a bit cluttered. What I wanted was an easy for the user to show or hide columns as they prefer. In Cocoa on Mac OS X you can right-click (or ctrl-click) to show a context menu to do this, which seems to be a good way. I thought there may be a way of doing this in Flex, but there didn&#8217;t appear to be. It was quite simple to implement and could be useful in lots of cases, so I thought I&#8217;d share the code. I put this in a creationComplete handler.</p>
<p>I&#8217;ve attached it as a context menu on the DataGrid, but you could also attach it to the header or to a button. I hope it helpful to someone.</p>

<div class="wp_syntax"><div class="code"><pre class="actionscript3" style="font-family:monospace;"><span style="color: #6699cc; font-weight: bold;">var</span> context<span style="color: #000000; font-weight: bold;">:</span>NativeMenu = <span style="color: #0033ff; font-weight: bold;">new</span> NativeMenu<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>;
<span style="color: #0033ff; font-weight: bold;">for</span> <span style="color: #0033ff; font-weight: bold;">each</span> <span style="color: #000000;">&#40;</span><span style="color: #6699cc; font-weight: bold;">var</span> col<span style="color: #000000; font-weight: bold;">:</span>DataGridColumn <span style="color: #0033ff; font-weight: bold;">in</span> myDataGrid.columns<span style="color: #000000;">&#41;</span><span style="color: #000000;">&#123;</span>
	<span style="color: #6699cc; font-weight: bold;">var</span> menuI<span style="color: #000000; font-weight: bold;">:</span>NativeMenuItem = <span style="color: #0033ff; font-weight: bold;">new</span> NativeMenuItem<span style="color: #000000;">&#40;</span>col.headerText<span style="color: #000000;">&#41;</span>;
	menuI.checked = col.<span style="color: #004993;">visible</span>;
	menuI.<span style="color: #004993;">data</span> = col;
	context.addItem<span style="color: #000000;">&#40;</span>menuI<span style="color: #000000;">&#41;</span>;
<span style="color: #000000;">&#125;</span>
context.<span style="color: #004993;">addEventListener</span><span style="color: #000000;">&#40;</span><span style="color: #004993;">Event</span>.<span style="color: #004993;">SELECT</span>, <span style="color: #339966; font-weight: bold;">function</span><span style="color: #000000;">&#40;</span>e<span style="color: #000000; font-weight: bold;">:</span><span style="color: #004993;">Event</span><span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">:</span><span style="color: #0033ff; font-weight: bold;">void</span> <span style="color: #000000;">&#123;</span>
	<span style="color: #6699cc; font-weight: bold;">var</span> t<span style="color: #000000; font-weight: bold;">:</span>NativeMenuItem = e.<span style="color: #004993;">target</span> <span style="color: #0033ff; font-weight: bold;">as</span> NativeMenuItem;
	t.checked = <span style="color: #000000; font-weight: bold;">!</span>t.checked;
	t.<span style="color: #004993;">data</span>.<span style="color: #004993;">visible</span> = t.checked;
<span style="color: #000000;">&#125;</span><span style="color: #000000;">&#41;</span>;
&nbsp;
myDataGrid.<span style="color: #004993;">contextMenu</span> = context;</pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://www.clevr.com/blog/2008/hide-flex-datagrid-columns-with-context-menu/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
	</channel>
</rss>

