<?xml version="1.0" encoding="utf-8"?>
			
			<rss version="2.0">
			<channel>
			<title>Stretch Media - Adobe Flex RIA Blog - Flex 2</title>
			<link>http://www.stretchmedia.ca/blog/index.cfm</link>
			<description>Stretch Media Group&apos;s blog for the RIA community!</description>
			<language>en-us</language>
			<pubDate>Tue, 07 Sep 2010 13:57:36 -0500</pubDate>
			<lastBuildDate>Sun, 14 Sep 2008 03:18:00 -0500</lastBuildDate>
			<generator>BlogCFC</generator>
			<docs>http://blogs.law.harvard.edu/tech/rss</docs>
			<managingEditor>partners@stretchmedia.ca</managingEditor>
			<webMaster>partners@stretchmedia.ca</webMaster>
			
			<item>
				<title>Using external services-config.xml files and setting up on Mac</title>
				<link>http://www.stretchmedia.ca/blog/index.cfm/2008/9/14/Using-external-servicesconfigxml-files-and-setting-up-on-Mac</link>
				<description>
				
				Problem: 

I want to reference a remote instance of the services-config.xml file for a project I&apos;m working on.  I&apos;m now developing on the mac platform (which I love) and need to figure out how to reference it.

Solution:

1) Connect to and &quot;mount&quot; the external drive on which the services-config.xml file resides.

Connecting to the remote drive via Finder by choosing Go -&gt; Connect to Server or Cmd+K will give you access to the networked drive, but doesn&apos;t help you when you need to reference that drive (mapping in Windows) within the compiler settings in FlexBuilder.  So...

Fire up Terminal and navigate to the root of your system, and then into your Volumes directory.  Create a new directory here as follows:

&lt;pre&gt;mkdir [new_name]&lt;/pre&gt;

Choose something relevant as the name as you&apos;ll be referencing it in a second.

Next, use the following command to &quot;mount&quot; your remote network drive to this new drive you&apos;ve just created.

&lt;pre&gt;mount_smbfs //[userame]:[password]@[remote_server_url]/[drive]/ /Volumes/[new_name]&lt;/pre&gt;

Each of the vars used here is pretty straight forward, but make sure you use the same &lt;new_name&gt; when you reference the &quot;mounting&quot; location in /Volumes

You won&apos;t be returned with any confirmation of success, but if you don&apos;t get any error, then it&apos;s setup successfully.

Now, go back into FlexBuilder, and setup your services pointer to:

&lt;pre&gt;-services &apos;/Volumes/[new_name]/ColdFusion8/wwwroot/WEB-INF/flex/services-config.xml&apos;&lt;/pre&gt;

or whatever your path may be. 
				</description>
				
				<category>Flex 2</category>				
				
				<category>Flex Development</category>				
				
				<category>Flex 3</category>				
				
				<category>ColdFusion</category>				
				
				<pubDate>Sun, 14 Sep 2008 03:18:00 -0500</pubDate>
				<guid>http://www.stretchmedia.ca/blog/index.cfm/2008/9/14/Using-external-servicesconfigxml-files-and-setting-up-on-Mac</guid>
				
			</item>
			
			<item>
				<title>A Persistent/Interactive Tooltip in Flex</title>
				<link>http://www.stretchmedia.ca/blog/index.cfm/2008/2/20/A-PersistentInteractive-Tooltip-in-Flex</link>
				<description>
				
				I came across a requirement at work a few weeks back which involved an &quot;interactive&quot; tooltip... We needed to provide a summary of information in the tooltip, but then provide a link button to a more detailed document.

I came up with the following example by creating some functionality around the DataGrid mouse movements to display a &quot;tooltip&quot; (in reality a Menu instance) at the mouse position.  Rather than digging into the framework to try and extend the ToolTip class to make it &quot;stick&quot; when moused over, I realized we&apos;ve got popup menu functionality like that already.  Slap a custom menu item renderer in there, skin it, and you&apos;ve got a mousable, interactive tooltip instance.

I could have gone the extra mile and created a custom DataGrid instance using this new functionality, but I&apos;m lazy so I&apos;m just going to post the instance I implemented and let you figure out how to implement it for yourself :-)  The idea being that it could be just as easily implemented on any List based control, and even with a bit of work any component in the Flex framework.  Just modify the renderer to fit the content you need!

&lt;img src=&quot;http://meutzner.com/blog/attachments/menu_tooltip/menu_tooltip.png&quot; /&gt;

&lt;a href=&quot;http://www.meutzner.com/blog/attachments/menu_tooltip/&quot; target=&quot;_blank&quot;&gt;Example Here&lt;/a&gt;

&lt;a href=&quot;http://www.meutzner.com/blog/attachments/menu_tooltip/srcview/index.html&quot; target=&quot;_blank&quot;&gt;Source Here&lt;/a&gt; 
				</description>
				
				<category>Flex 2</category>				
				
				<category>Flex 2 Components</category>				
				
				<category>Flex Development</category>				
				
				<category>General</category>				
				
				<category>Flex 3</category>				
				
				<pubDate>Wed, 20 Feb 2008 12:12:00 -0500</pubDate>
				<guid>http://www.stretchmedia.ca/blog/index.cfm/2008/2/20/A-PersistentInteractive-Tooltip-in-Flex</guid>
				
			</item>
			
			<item>
				<title>Copy from DataGrid to Clipboard/Excel in Flex</title>
				<link>http://www.stretchmedia.ca/blog/index.cfm/2008/2/20/Copy-from-DataGrid-to-ClipboardExcel-in-Flex</link>
				<description>
				
				A really simple example today for a pretty useful feature... being able to copy contents from a datagrid (or any structure which uses a dataProvider for that matter) onto the system clipboard, and into an application like Excel.

Excel is able to recognize an HTML table format and pastes the structure into appropriate cells.  The following example is tailored to that type of structure, but can really be formatted to whatever needs you have by modifying the createHTML() (or more appropriately named) method.

View example here : &lt;a href=&quot;http://www.meutzner.com/blog/attachments/flex_copy_to_clipboard/&quot; target=&quot;_blank&quot;&gt;Example&lt;/a&gt;


And source here : &lt;a href=&quot;http://www.meutzner.com/blog/attachments/flex_copy_to_clipboard/srcview/index.html&quot; target=&quot;_blank&quot;&gt;Source Code&lt;/a&gt; 
				</description>
				
				<category>Flex 2</category>				
				
				<category>Flex Development</category>				
				
				<category>General</category>				
				
				<category>Flex 3</category>				
				
				<pubDate>Wed, 20 Feb 2008 12:00:00 -0500</pubDate>
				<guid>http://www.stretchmedia.ca/blog/index.cfm/2008/2/20/Copy-from-DataGrid-to-ClipboardExcel-in-Flex</guid>
				
			</item>
			
			<item>
				<title>Set &quot;Loading&quot; screen background color on Flex</title>
				<link>http://www.stretchmedia.ca/blog/index.cfm/2007/12/15/Set-Loading-screen-background-color-on-Flex</link>
				<description>
				
				If I had a nickel for every time I&apos;ve looked at a Flex application these days and seen that dull, default greyish blue color... 

So here&apos;s my tip for the day:

Check out the compiler arguments line in the Flex properties and add 

-default-background-color #PUTYOURCOLORHERE

Easy to do, and then your Flex apps won&apos;t look like everyone else&apos;s anymore :-)

More compiler arguments are available if you&apos;d like to get frisky...

&lt;a href=&quot;http://livedocs.adobe.com/flex/201/html/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Book_Parts&amp;file=compilers_123_24.html&quot;  target=&quot;_blank&quot;&gt;
http://livedocs.adobe.com/flex/201/html/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Book_Parts&amp;file=compilers_123_24.html
&lt;/a&gt;

And better yet, check out Ted Patrick&apos;s blog on creating custom preloaders and be a real rock star.

&lt;a href=&quot;http://www.onflex.org/ted/2006/07/flex-2-preloaders-swf-png-gif-examples.php&quot; target=&quot;_blank&quot;&gt;
http://www.onflex.org/ted/2006/07/flex-2-preloaders-swf-png-gif-examples.php
&lt;/a&gt; 
				</description>
				
				<category>Flex 2</category>				
				
				<category>Flex Development</category>				
				
				<pubDate>Sat, 15 Dec 2007 20:33:00 -0500</pubDate>
				<guid>http://www.stretchmedia.ca/blog/index.cfm/2007/12/15/Set-Loading-screen-background-color-on-Flex</guid>
				
			</item>
			
			<item>
				<title>Disable single button in ToggleButtonBar</title>
				<link>http://www.stretchmedia.ca/blog/index.cfm/2007/11/21/Disable-single-button-in-ToggleButtonBar</link>
				<description>
				
				So after a short period of searching, there doesn&apos;t seem to be a straight-forward way to disable a single ToggleButtonBar button instance... here&apos;s what I found worked:


UIComponent(tBBInstance.rawChildren.getChildAt(X)).enabled/disabled


Anyone find a clearer way? 
				</description>
				
				<category>Flex 2</category>				
				
				<category>Flex 3</category>				
				
				<pubDate>Wed, 21 Nov 2007 22:51:00 -0500</pubDate>
				<guid>http://www.stretchmedia.ca/blog/index.cfm/2007/11/21/Disable-single-button-in-ToggleButtonBar</guid>
				
			</item>
			</channel></rss>