<?xml version="1.0" encoding="utf-8"?>
			
			<rss version="2.0">
			<channel>
			<title>Stretch Media - Adobe Flex RIA Blog</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:16:07 -0500</pubDate>
			<lastBuildDate>Wed, 20 Jan 2010 13:06: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>ColdFusion &amp; Flex Hosting</title>
				<link>http://www.stretchmedia.ca/blog/index.cfm/2010/1/20/ColdFusion--Flex-Hosting</link>
				<description>
				
				If you knew me, you&apos;d know that this post is about the last thing you&apos;d expect coming from me.  However, after recent experiences, I can&apos;t help but put a word out for GoWest Hosting.

I&apos;ve been focusing on a full-time job for the last 2 years now, and as a result, my consulting business has all but ceased to exist.  I&apos;ve maintained a dedicated server to maintain previous clients over this time, but financially, it just wasn&apos;t making sense any more.  Therefore, I undertook the arduous task of transitioning clients off of it so I could get rid of it (and its expensive monthly cost) because I wasn&apos;t recouping the cost from hosting fees.

I&apos;ve put this off for 2 years because the thought of finding a compatible hosting company to support the ColdFusion and database services most of my projects required plain scared me.  With all the remoting-config.xml and services-config.xml (not to mention data-management-config.xml with LCDS) to setup I figured it was going to take a very understanding hosting company to maintain these sites.

I found just such a company in GoWest hosting.  I have used other services in the past, and most recently an Adobe endorsed provider for the Austin Flex User Group site (I won&apos;t mention names, but it shouldn&apos;t be too hard to track down who they are).  The service and support from this (and other, but especially this) company was absolutely pathetic.  I&apos;ve found that too often these days it&apos;s easy to just expect sub par services and support because it seems to be becoming the norm... and so you just deal with it and think &apos;hey, it could be worse i guess&apos;.  Seriously though... a lot of times customer support is literally becoming an afterthought (eg. Dell&apos;s troubles in the past few years, and their 180 reversal to try and gain back disgruntled customers).

When I first contacted GoWest to ask them if they could support what I needed, not only did I get a quick response to the positive, but also an offer to setup a trial account and test it out before committing to a hosting plan.  I took them up on this offer, and in fact their system did support what we needed, and was easy... really easy... to setup.  It literally took me 10 minutes to ftp contents directly over, backup and restore the database, and fire up the site.  Not one glitch in the process, and all done through their control panel interface.  I immediately sent them an e-mail stating my joy over this.  

There was a bit more correspondence to come in setting up the ColdFusion services, and after a thread of about 30 emails back and forth we did get it working.  Now, I&apos;d like to step back and point out again, I hadn&apos;t given them a single dollar yet, and we could have potentially hit a roadblock in the setup which could have resulted in me saying &apos;thanks for your help, but I&apos;m gonna have to look elsewhere&apos;.

This didn&apos;t happen and everything got transitioned over just fine.  GoWest is now the new hosting provider for my clients, and I know they&apos;re in good hands given the service I received during the process.

That&apos;s my pitch for the day... and hope that more Flex/CF developers read this and look to GoWest for their hosting... I know I will be in the future.

&lt;a href=&quot;http://www.gowesthosting.com/&quot; target=&quot;_blank&quot;&gt;http://www.gowesthosting.com&lt;/a&gt; 
				</description>
				
				<category>General</category>				
				
				<category>Coldfusion and Flex</category>				
				
				<pubDate>Wed, 20 Jan 2010 13:06:00 -0500</pubDate>
				<guid>http://www.stretchmedia.ca/blog/index.cfm/2010/1/20/ColdFusion--Flex-Hosting</guid>
				
			</item>
			
			<item>
				<title>What happened to drag in 3.4?</title>
				<link>http://www.stretchmedia.ca/blog/index.cfm/2009/9/23/What-happened-to-drag-in-34</link>
				<description>
				
				The major app i&apos;ve been working on for the past 2 years has been happily progressing through the iterations of the 3.x framework in Flex, until 3.4.  All of a sudden my drag operations stopped functioning correctly.  To be specific, any doDrag() operation has died and my eventListeners for MOUSE_MOVE don&apos;t seem to be getting dispatched when a component is dragging.

I have deadlines, which means I&apos;ve just moved back to 3.3 and won&apos;t have time to look into this right now.... as is usual...

But has anyone else had this issue? 
				</description>
				
				<category>Flex 3</category>				
				
				<pubDate>Wed, 23 Sep 2009 12:38:00 -0500</pubDate>
				<guid>http://www.stretchmedia.ca/blog/index.cfm/2009/9/23/What-happened-to-drag-in-34</guid>
				
			</item>
			
			<item>
				<title>trace() output stops working with -optimize=true</title>
				<link>http://www.stretchmedia.ca/blog/index.cfm/2009/8/31/trace-output-stops-working-with-optimizetrue</link>
				<description>
				
				I guess this one could be filed under the &apos;guess that makes sense&apos; category, but none the less was a bit of a head-scratcher to figure out.

Basically, I have a couple of external libraries which I&apos;m using in my current Flex project.  I was trying to use the global trace() function within these libraries, but there was nothing getting output.  Wha?  I was in debug mode... I have the debug player... this has worked before... wtf?

Skip back... about a month ago my Subversion provider did a major migration which caused me massive headaches, and basically, I had to wipe out all my projects, and check them out fresh from the new svn repository locations, instead of just updating the repo address.  In doing this, I thought I got all my settings correct, but alas...

One particular Library project (the project in question above) had -optimize=true as compiler argument.  I saw this and didn&apos;t figure it for the issue as you have the -debug argument, and -debug-verbose which deal with output stuff.

Finally, after googling/flexcodering/blog searching/etc... along with confirming my mm.cfg file and flashlog.txt setup was correct, I began trying stuff willy-nilly to get this fixed.  That&apos;s when I discovered that -optimize=true does indeed prevent any trace outputs.

And that&apos;s the morale of this blog post :-) 
				</description>
				
				<category>Flex 3</category>				
				
				<pubDate>Mon, 31 Aug 2009 21:39:00 -0500</pubDate>
				<guid>http://www.stretchmedia.ca/blog/index.cfm/2009/8/31/trace-output-stops-working-with-optimizetrue</guid>
				
			</item>
			
			<item>
				<title>Dynamic Datasources with Flex &amp; LCDS</title>
				<link>http://www.stretchmedia.ca/blog/index.cfm/2009/5/10/Dynamic-Datasources-with-Flex--LCDS</link>
				<description>
				
				Here&apos;s some info from recent posts I made re: a feature I was trying to figure out using ColdFusion, Flex and LCDS... the ability to change the database being used by destinations for different client logins.
&lt;br&gt;&lt;br&gt;
ORIGINAL POST:
&lt;br&gt;&lt;br&gt;
I&apos;m hitting a wall on a requirement for a Flex application which utilizes the LCDS version included with ColdFusion.
 &lt;br&gt;&lt;br&gt;
I have the project setup to use DAO&apos;s, Assemblers and ValueObject (cfc&apos;s) which I call from Flex via DataService implmentation and the fill(), getItem(), etc... methods.
 &lt;br&gt;&lt;br&gt;
I need to setup my ColdFusion layer to access multiple datasources from the same Flex application.  However, because of the way LCDS gets called from Flex, it doesn&apos;t seem that Application or Session variables in ColdFusion persist when I set them.  I was thinking I could just have the HTML (cfm) wrapper page for my Flex application set that, but it is not recognized when I go to make a fill or get call against the assembler.
 &lt;br&gt;&lt;br&gt;
I thought about passing the datasource as a parameter each time a call is made, but while that would work when I initiate fill and get methods, the sync methods are &quot;invisible&quot; and I wouldn&apos;t be able to append an argument to them.
 &lt;br&gt;&lt;br&gt;
So my issue is... how do I go about having ColdFusion read a dynamic variable to define it&apos;s datasource?

&lt;br&gt;&lt;br&gt;&lt;br&gt;

ANSWER:
&lt;br&gt;&lt;br&gt;
Tom Jordahl provided the answer on this for me.  Here&apos;s the solution:
 &lt;br&gt;&lt;br&gt;
1) Prior to implementing this solution, it&apos;s important to realize that because LCDS manages the data, switching datasources dynamically could potentially cause issues if there is overlap between identifiers on the records you are retrieving.  In my case, I&apos;m using GUID fields as primary key and identifiers in my destinations, so this is not a problem.  However, for example, if you were to use an incrementing integer for the identifier, then you could feasibly have LCDS managing a record, which would match identifiers with a record if you switched datasources on the fly.
 &lt;br&gt;&lt;br&gt;
2) I&apos;m using ColdFusion as my middle-tier layer, but this could be applied to any form by accessing the flex.messaging.FlexContext class within your solution of choice.
 &lt;br&gt;&lt;br&gt;
3) The solution involves extracting the ID value of Flex client which makes calls against your Destination.  Grab the identifier by calling FlexContext.getFlexClient().getId() to get a unique key for the &quot;session&quot;.  I use the term &quot;session&quot; loosely, as it&apos;s really just representative of the particular swf instance which has been loaded with your Flex Application.  However, the ID doesn&apos;t change and persists across all calls you make against your destinations. 
 &lt;br&gt;&lt;br&gt;
4) On application load, make a call to your CF layer which gets the ID, and sets it to the Application scope of the CF server as follows:
 &lt;br&gt;&lt;br&gt;&lt;font face=&quot;courier&quot;&gt;
     &amp;lt;cffunction name=&quot;set&quot; access=&quot;remote&quot;&amp;gt;&lt;br&gt;
          &amp;lt;cfargument name=&quot;datasource&quot; type=&quot;string&quot; required=&quot;yes&quot; default=&quot;&quot;&amp;gt;&lt;br&gt;
          &amp;lt;cfset var clientID=&quot;&quot;&amp;gt;&lt;br&gt;
          &amp;lt;cfscript&amp;gt;&lt;br&gt;
               clientID = CreateObject(&apos;java&apos;, &apos;flex.messaging.FlexContext&apos;).getFlexClient().getId();
               APPLICATION[clientID] = arguments.datasource;&lt;br&gt;
          &amp;lt;/cfscript&amp;gt;&lt;br&gt;
   &amp;lt;/cffunction&amp;gt;&lt;/font&gt;
 &lt;br&gt;&lt;br&gt;
The function above receives a unique string which I want to be my datasource of choice.  You could call this &quot;set&quot; function again anytime to reset the Application variable for this &quot;session&quot;.
 &lt;br&gt;&lt;br&gt;
5) The only other thing to do, is now access this Application variable for each datasource.
 &lt;br&gt;&lt;br&gt;&lt;font face=&quot;courier&quot;&gt;
     datasource=&quot;#APPLICATION[CreateObject(&apos;java&apos;, &apos;flex.messaging.FlexContext&apos;).getFlexClient().getId()]#&quot;&lt;/font&gt;
 &lt;br&gt;&lt;br&gt;
6) The last consideration is that each connection that is made via Flex will be setting a new variable in the Application scope on the Coldfusion server.  This is a pretty minor concern for me, and I&apos;ll just run a schedule to clear the Application scope once a day, but if you have a high volume of users, a better solution would have to be found. 
				</description>
				
				<category>Coldfusion and Flex</category>				
				
				<pubDate>Sun, 10 May 2009 18:12:00 -0500</pubDate>
				<guid>http://www.stretchmedia.ca/blog/index.cfm/2009/5/10/Dynamic-Datasources-with-Flex--LCDS</guid>
				
			</item>
			
			<item>
				<title>Cool New Flex App</title>
				<link>http://www.stretchmedia.ca/blog/index.cfm/2008/12/1/Cool-New-Flex-App</link>
				<description>
				
				Check out this new cool new Flex app: Rombla.

Rombla is an online &quot;no programming&quot; site builder that enables designers to create fully-editable websites using simple visual editing tools and then share them with their clients to edit and maintain. 

I was able to design and build a basic template in about 5 minutes and a full site in about 25. Some cool features but my favorite has to be the color scheme mixer where you can create your own palettes in Kuler then import them into Rombla. Then you can really experiment by changing layouts and navigation. You can literally change the entire look and feel of your site in seconds.

It&apos;s addictive for a designer and super easy and fast for clients to do their own edits - great for people who don&apos;t like getting caught up with endless text edits.

Check it out at: http://www.rombla.com/ 
				</description>
				
				<category>Flex 3</category>				
				
				<pubDate>Mon, 01 Dec 2008 22:55:00 -0500</pubDate>
				<guid>http://www.stretchmedia.ca/blog/index.cfm/2008/12/1/Cool-New-Flex-App</guid>
				
			</item>
			
			<item>
				<title>Double click to edit DataGrid/List</title>
				<link>http://www.stretchmedia.ca/blog/index.cfm/2008/9/20/Double-click-to-edit-DataGridList</link>
				<description>
				
				After some brief searching on this topic I pulled up an entry from FlexCoders back in August of 2007 where &lt;a href=&quot;http://www.huyler.net&quot; target=&quot;_blank&quot;&gt;Chris Huyler&lt;/a&gt; had figured out and put together a custom DataGrid to listen for a double click event rather than the default single click for itemEditor instances.

I needed both DataGrid and List support using this feature, so using Chris&apos; example for DG, I modified for List as well.

All credit goes to Chris for figuring this out, and my thanks... here&apos;s an example of each below:

&lt;b&gt;DataGrid&lt;/b&gt;

&lt;pre&gt;
package com.bm.custom_components&lt;br&gt;
{&lt;br&gt;
import flash.events.MouseEvent;&lt;br&gt;
import flash.geom.Point;&lt;br&gt;
&lt;br&gt;
import mx.controls.DataGrid;&lt;br&gt;
import mx.controls.listClasses.IListItemRenderer;&lt;br&gt;
import mx.events.DataGridEvent;&lt;br&gt;
&lt;br&gt;
public class DoubleClickEditDataGrid extends DataGrid&lt;br&gt;
{&lt;br&gt;
public function DoubleClickEditDataGrid() {&lt;br&gt;
	super();&lt;br&gt;
}&lt;br&gt;
&lt;br&gt;
private var triggeredEditable:Boolean = false;&lt;br&gt;
&lt;br&gt;
public function triggerItemEditor(event:MouseEvent):void&lt;br&gt;
{&lt;br&gt;
	var r:IListItemRenderer = mouseEventToItemRenderer(event);&lt;br&gt;
	var p:Point = itemRendererToIndices(r);&lt;br&gt;
	if ( columns[p.x].editable != false )&lt;br&gt;
	{&lt;br&gt;
		if (!editable)&lt;br&gt;
		{&lt;br&gt;
			editable=true;&lt;br&gt;
			triggeredEditable = true;&lt;br&gt;
			addEventListener(DataGridEvent.ITEM_EDIT_END,&lt;br&gt; triggeredEditorEnd);&lt;br&gt;
		}&lt;br&gt;
		var dEvent:DataGridEvent = new DataGridEvent(DataGridEvent.ITEM_EDIT_BEGINNING, &lt;br&gt;false, &lt;br&gt;false, &lt;br&gt;p.x, &lt;br&gt;null, &lt;br&gt;p.y, &lt;br&gt;null, &lt;br&gt;r, &lt;br&gt;p.y);&lt;br&gt;
		dispatchEvent(dEvent);&lt;br&gt;
	}&lt;br&gt;
}&lt;br&gt;
&lt;br&gt;
private function triggeredEditorEnd(event:DataGridEvent):void&lt;br&gt;
{&lt;br&gt;
	if ( triggeredEditable )&lt;br&gt;
	{&lt;br&gt;
		editable = false;&lt;br&gt;
		triggeredEditable = false;&lt;br&gt;
		removeEventListener( DataGridEvent.ITEM_EDIT_END, triggeredEditorEnd);&lt;br&gt;
	}&lt;br&gt;
}&lt;br&gt;
}&lt;br&gt;
}&lt;br&gt;
&lt;/pre&gt;


&lt;b&gt;List&lt;/b&gt;

&lt;pre&gt;
package com.bm.custom_components&lt;br&gt;
{&lt;br&gt;
import flash.events.MouseEvent;&lt;br&gt;
import flash.geom.Point;&lt;br&gt;
	
import mx.controls.List;&lt;br&gt;
import mx.controls.listClasses.IListItemRenderer;&lt;br&gt;
import mx.events.ListEvent;&lt;br&gt;
	
public class DoubleClickEnabledList extends List&lt;br&gt;
{&lt;br&gt;
	public function DoubleClickEnabledList(){}&lt;br&gt;
		&lt;br&gt;
	private var triggeredEditable:Boolean = false;&lt;br&gt;
&lt;br&gt;
	public function triggerItemEditor(event:MouseEvent):void&lt;br&gt;
	{&lt;br&gt;
		var r:IListItemRenderer = mouseEventToItemRenderer(event);&lt;br&gt;
		var p:Point = itemRendererToIndices(r);&lt;br&gt;
		if (!editable)&lt;br&gt;
		{&lt;br&gt;
			editable=true;&lt;br&gt;
			triggeredEditable = true;&lt;br&gt;
			addEventListener(ListEvent.ITEM_EDIT_END, triggeredEditorEnd);&lt;br&gt;
		}&lt;br&gt;
		var dEvent:ListEvent = new ListEvent(ListEvent.ITEM_EDIT_BEGINNING,&lt;br&gt;false,&lt;br&gt; false, &lt;br&gt;-1, &lt;br&gt;p.y, &lt;br&gt;null, &lt;br&gt;null);
		dispatchEvent(dEvent);&lt;br&gt;
	}&lt;br&gt;
		&lt;br&gt;
	private function triggeredEditorEnd(event:ListEvent):void&lt;br&gt;
	{&lt;br&gt;
		if ( triggeredEditable )&lt;br&gt;
		{&lt;br&gt;
			editable = false;&lt;br&gt;
			triggeredEditable = false;&lt;br&gt;
			removeEventListener( ListEvent.ITEM_EDIT_END, triggeredEditorEnd);&lt;br&gt;
		}&lt;br&gt;
	}&lt;br&gt;
}&lt;br&gt;
}
&lt;/pre&gt; 
				</description>
				
				<category>Flex 3</category>				
				
				<category>Code Snippets</category>				
				
				<pubDate>Sat, 20 Sep 2008 16:10:00 -0500</pubDate>
				<guid>http://www.stretchmedia.ca/blog/index.cfm/2008/9/20/Double-click-to-edit-DataGridList</guid>
				
			</item>
			
			<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>FlexMDI is ported to FlexLib</title>
				<link>http://www.stretchmedia.ca/blog/index.cfm/2008/2/27/FlexMDI-is-ported-to-FlexLib</link>
				<description>
				
				So after a lot of hard work on the part of 
&lt;a href=&quot;http://returnundefined.com&quot; target=&quot;_blank&quot;&gt;Ben Clinkinbeard&lt;/a&gt; over the past few months, the FlexMDI project has been moved into the FlexLib project maintained by 
&lt;a href=&quot;http://www.dougmccune.com&quot; target=&quot;_blank&quot;&gt;Doug McCune&lt;/a&gt; and others.


As I mentioned, Ben&apos;s done a lot of shit to the project over the past few months (most of which I freely admit I don&apos;t know anything about and had nothing to do with :-) which he summarizes in his latest post
&lt;a href=&quot;http://www.returnundefined.com/2008/02/flexmdi-11-release-enhancements-and-bug-fixes&quot; target=&quot;_blank&quot;&gt;release&lt;/a&gt;.  I will say that I did have some border resizing functionality ready to add, but didn&apos;t quite make the deadline for this release.  I&apos;ll be updating the FlexLib project with code in short order.

So a big thanks to Ben for continuing to drive this project.  He just presented on this in part of his presentation at 360Flex in Atlanta so hopefully there will be a lot more folks that check out this little framework we put together. 
				</description>
				
				<category>FlexMDI</category>				
				
				<category>FlexLib</category>				
				
				<pubDate>Wed, 27 Feb 2008 21:13:00 -0500</pubDate>
				<guid>http://www.stretchmedia.ca/blog/index.cfm/2008/2/27/FlexMDI-is-ported-to-FlexLib</guid>
				
			</item>
			
			<item>
				<title>Virtual Mapping in ColdFusion 8</title>
				<link>http://www.stretchmedia.ca/blog/index.cfm/2008/2/26/Virtual-Mapping-in-ColdFusion-8</link>
				<description>
				
				I was setting up the ColdFusion 8 server on my new Mac Pro today and am using the development server now in lieu of IIS which I always used on my Windows dev boxes previously.  When setting up a virtual directory, I&apos;d always just set it up through IIS.  Setting up virtual directories in ColdFusion was a bit of a change for me, and after an hour of head scratching when my CF mapping didn&apos;t work when trying to call CFM files through browser, I figured out the following to setup a virtual directory for built-in ColdFusion development server:

1) Open up the jrun-web.xml file located in ColdFusion8/wwwroot/WEB-INF directory.
&lt;br&gt;
2) Add a virtual directory mapping as follows:
&lt;pre&gt;
&amp;lt;virtual-mapping&amp;gt;&lt;br&gt;
  &amp;lt;resource-path&amp;gt;/cf/*&amp;lt;/resource-path&amp;gt;
&lt;br&gt;    &amp;lt;system-path&amp;gt;/Users/meutznerb/Documents/dev_flex3/CFMiddleTier/&amp;lt;/system-path&amp;gt;
&lt;br&gt;
&amp;lt;/virtual-mapping&amp;gt;
&lt;/pre&gt;
&lt;br&gt;
3) Save the file, and restart the CF server instance.


The mapping above will now allow me to call files from &lt;pre&gt;http://localhost:8500/cf/&lt;/pre&gt; and reference the CFMiddleTier directory in my Documents/dev_flex3 directory.

The trick was getting the directory path correct... starting from /Documents/... would not work, and required the full path with /Users/meutznerb/Documents/... to be defined.

That&apos;s my mac newbie tip for the day :-) 
				</description>
				
				<category>ColdFusion</category>				
				
				<pubDate>Tue, 26 Feb 2008 11:46:00 -0500</pubDate>
				<guid>http://www.stretchmedia.ca/blog/index.cfm/2008/2/26/Virtual-Mapping-in-ColdFusion-8</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>Flex Prominent on Webware 2007 Hits &amp; Misses</title>
				<link>http://www.stretchmedia.ca/blog/index.cfm/2007/12/12/Flex-Prominent-on-Webware-2007-Hits--Misses</link>
				<description>
				
				It was nice to see that Flex was right up there with Google in the &quot;Hits&quot; category for 2007 with &lt;a href=&quot;http://labs.adobe.com/technologies/air/&quot; target=&quot;_blank&quot;&gt;AIR&lt;/a&gt; from Adobe as well as the online photo editing site &lt;a href=&quot;http://www.picnik.com/&quot; target=&quot;_blank&quot;&gt;Picnik&lt;/a&gt;.

&lt;a href=&quot;http://www.webware.com/8301-1_109-9831779-2.html?tag=bubbl_2&quot; target=&quot;_blank&quot;&gt;See Full List&lt;/a&gt;

A good indication of great things to come in 2008! 
				</description>
				
				<category>General</category>				
				
				<pubDate>Wed, 12 Dec 2007 12:16:00 -0500</pubDate>
				<guid>http://www.stretchmedia.ca/blog/index.cfm/2007/12/12/Flex-Prominent-on-Webware-2007-Hits--Misses</guid>
				
			</item>
			
			<item>
				<title>riajobs.com &amp; riacareers.com</title>
				<link>http://www.stretchmedia.ca/blog/index.cfm/2007/12/11/riajobscom--riacareerscom</link>
				<description>
				
				So let me start off by saying I&apos;m not really fond of domain name squatters, but unfortunately I&apos;ve become one of them :-)

I registered a couple of domain names back in 05 while doing contract work through recruiting agencies.  It didn&apos;t take long for me to establish a sincere dislike for recruiters, and  although I&apos;m sure there are great ones out there, I feel the vast majority aren&apos;t qualified to do their jobs.

But enough about that...

I registered both riajobs.com and riacareers.com with the intention of creating a marketplace where developers could get in contact &quot;directly&quot; with employers... and vice versa... I noticed another site recently (&lt;a href=&quot;http://www.nauglegroup.com&quot;&gt;www.nauglegroup.com&lt;/a&gt;) founded by Kevin Langdon and upon seeing it though &quot;that&apos;s what I intended to do&quot;.

However, given time and commitment constraints, it hasn&apos;t happened yet, and probably won&apos;t for quite a while.

So that leaves me to ask the question, what/where/how can these be put to best use?  I&apos;d obviously love to sell them for a million bucks, but that&apos;s unlikely.  I talked with John/Tom over at 360 Conferences about using them for their recent ideas on RIACommunity.  

Does anyone else have thoughts on this topic? 
				</description>
				
				<category>General</category>				
				
				<pubDate>Tue, 11 Dec 2007 00:34:00 -0500</pubDate>
				<guid>http://www.stretchmedia.ca/blog/index.cfm/2007/12/11/riajobscom--riacareerscom</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>