<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>Adobe: 50 most recent comments in "Flex" Cookbook</title>
    <link>http://cookbooks.adobe.com/rss/recent/comments?technology=flex</link>
    <description>Check out the latest comments.</description>
    <pubDate>Sat, 07 Nov 2009 15:05:42 GMT</pubDate>
    <item>
      <title>http://cookbooks.adobe.com/index.cfm?event=showdetails&amp;postId=10963</title>
      <link>http://cookbooks.adobe.com/index.cfm?event=showdetails&amp;postId=10963</link>
      <description>Very nice indeed. Indeed with the OO purists certainly the Memento Design Pattern is needed as well as the Command Design Pattern for the actions would be a great addition.</description>
      <pubDate>Fri, 06 Nov 2009 06:27:03 GMT</pubDate>
      <author>psat</author>
    </item>
    <item>
      <title>http://cookbooks.adobe.com/index.cfm?event=showdetails&amp;postId=16479</title>
      <link>http://cookbooks.adobe.com/index.cfm?event=showdetails&amp;postId=16479</link>
      <description>we can achieve this by setting 'showdataTips' property to true and writing a 'dataTipFunction' as below:
public function fun():String
{
return data.label;//label is the property which we want to display in tooltip;
}

we can customized tooltip also using this like by change the return statement to:

return data.Name+'  ' +data.rank;</description>
      <pubDate>Fri, 06 Nov 2009 03:34:14 GMT</pubDate>
      <author>munagapraveen</author>
    </item>
    <item>
      <title>http://cookbooks.adobe.com/index.cfm?event=showdetails&amp;postId=11986</title>
      <link>http://cookbooks.adobe.com/index.cfm?event=showdetails&amp;postId=11986</link>
      <description>waste of time IMHO. use httpservice and forget all the alphabet soup with ZEND, AMFPHP, WEBORB. By the time you get it set up on a production server you'll be old and gray. If you compile your mxml into swf and have a secure PHP server you are wasting your time with ZEND and the rest of them, plus, enterprise won't foot the bill for all the downtime.</description>
      <pubDate>Thu, 05 Nov 2009 14:06:04 GMT</pubDate>
      <author>tweensteeples</author>
    </item>
    <item>
      <title>http://cookbooks.adobe.com/index.cfm?event=showdetails&amp;postId=11606</title>
      <link>http://cookbooks.adobe.com/index.cfm?event=showdetails&amp;postId=11606</link>
      <description>Thanks for posting this - v helpful.  FWIW I found I could achieve the goal by looking up the item renderer when the 'contextMenu' event is fired - i.e. when the menu is opened, rather than when something is selected:

&lt;mx:Script&gt;
			private function onCreationComplete():void {
				contextMenu = createContextMenu();
			}
...
			private function onContextMenuOpen(event:MouseEvent):void {
				if (event.target is IListItemRenderer) {
					var r:IListItemRenderer = event.target as IListItemRenderer;
					var selectedIndex:int = collectionGrid.itemRendererToIndex(r);
					collectionGrid.selectedIndex = selectedIndex;
				}
			}
&lt;/mx:Script&gt;

&lt;mx:DataGrid id="collectionGrid" 
   creationComplete="onCreationComplete()"
   contextMenu="onContextMenuOpen(event)"&gt;
...</description>
      <pubDate>Wed, 04 Nov 2009 13:35:31 GMT</pubDate>
      <author>KDW27</author>
    </item>
    <item>
      <title>http://cookbooks.adobe.com/index.cfm?event=showdetails&amp;postId=16066</title>
      <link>http://cookbooks.adobe.com/index.cfm?event=showdetails&amp;postId=16066</link>
      <description>Oops! I just said the exact opposite of what I think : repository id should NOT make use of dots. I replaced it by flexpmd-opensource-adobe</description>
      <pubDate>Tue, 03 Nov 2009 12:47:26 GMT</pubDate>
      <author>Prog13 Prog13</author>
    </item>
    <item>
      <title>http://cookbooks.adobe.com/index.cfm?event=showdetails&amp;postId=16066</title>
      <link>http://cookbooks.adobe.com/index.cfm?event=showdetails&amp;postId=16066</link>
      <description>It seems that the plugin repository ID should make use of dots. I can't have it worked until I renamed its id : flexpmd.opensource.adobe

Hope this may be of help :)</description>
      <pubDate>Tue, 03 Nov 2009 12:45:59 GMT</pubDate>
      <author>Prog13 Prog13</author>
    </item>
    <item>
      <title>http://cookbooks.adobe.com/index.cfm?event=showdetails&amp;postId=16443</title>
      <link>http://cookbooks.adobe.com/index.cfm?event=showdetails&amp;postId=16443</link>
      <description>Even just tracing out what you are importing directly can help ensure the compiler sees it.

import  com.mydomain.myclasses.MyClass;
trace(com.mydomain.myclasses.MyClass);

Then in another file that imports whatever file you put that in, you can do something like this:

var myClass:Class = getDefinitionByName("com.mydomain.myclasses.MyClass") as Class;</description>
      <pubDate>Tue, 03 Nov 2009 06:51:58 GMT</pubDate>
      <author>Mykola Bilokonsky</author>
    </item>
    <item>
      <title>http://cookbooks.adobe.com/index.cfm?event=showdetails&amp;postId=12509</title>
      <link>http://cookbooks.adobe.com/index.cfm?event=showdetails&amp;postId=12509</link>
      <description>Following too works but missing the underline on rollover&#xD;
&#xD;
&lt;mx:Style&gt;&#xD;
LinkButton.htmlLink {&#xD;
	color: #48FF00;&#xD;
	fontFamily: Arial;&#xD;
	fontSize: 11;&#xD;
	fontWeight: normal;&#xD;
	textDecoration: underline;&#xD;
	textRollOverColor: #FF0000;&#xD;
	textSelectedColor: #2A00FF;&#xD;
	leading: 0;&#xD;
	paddingLeft: 5;&#xD;
	paddingRight: 5;&#xD;
	paddingBottom: 1;&#xD;
	paddingTop: 1;&#xD;
	skin: ClassReference(null);&#xD;
}&#xD;
&lt;/mx:Style&gt;&#xD;
&lt;mx:LinkButton x="100" y="50" label="am a link" styleName="htmlLink"/&gt;</description>
      <pubDate>Tue, 03 Nov 2009 03:50:41 GMT</pubDate>
      <author>cforcloud</author>
    </item>
    <item>
      <title>http://cookbooks.adobe.com/index.cfm?event=showdetails&amp;postId=16297</title>
      <link>http://cookbooks.adobe.com/index.cfm?event=showdetails&amp;postId=16297</link>
      <description>See here for some more info on how to use Conditional Compilation:

http://edsyrett.wordpress.com/2008/09/22/using-conditional-compilation-to-detect-debug-mode/</description>
      <pubDate>Fri, 30 Oct 2009 09:14:23 GMT</pubDate>
      <author>Ed Syrett</author>
    </item>
    <item>
      <title>http://cookbooks.adobe.com/index.cfm?event=showdetails&amp;postId=16306</title>
      <link>http://cookbooks.adobe.com/index.cfm?event=showdetails&amp;postId=16306</link>
      <description>This is a completely reusable way of deleting a node:

public static function deleteNode(node:XML):void
{
    if (node != null &amp;&amp; node.parent() != null)
    {
        delete node.parent().children()[node.childIndex()];
    }
}

See here: http://edsyrett.wordpress.com/2008/07/26/xmlremovechild/</description>
      <pubDate>Fri, 30 Oct 2009 09:07:47 GMT</pubDate>
      <author>Ed Syrett</author>
    </item>
    <item>
      <title>http://cookbooks.adobe.com/index.cfm?event=showdetails&amp;postId=14426</title>
      <link>http://cookbooks.adobe.com/index.cfm?event=showdetails&amp;postId=14426</link>
      <description>hi All, Any chance to  to set default save location for this image in local system?</description>
      <pubDate>Fri, 30 Oct 2009 03:19:18 GMT</pubDate>
      <author>aravindakumarthangaraju</author>
    </item>
    <item>
      <title>http://cookbooks.adobe.com/index.cfm?event=showdetails&amp;postId=15886</title>
      <link>http://cookbooks.adobe.com/index.cfm?event=showdetails&amp;postId=15886</link>
      <description>Hi Olga, good work on the JSON!
 What about the parsing Json into TextInput or other Component?
I need to assign HSlider Value, minimum, maximum from Json.
thank you in advance</description>
      <pubDate>Thu, 29 Oct 2009 06:04:55 GMT</pubDate>
      <author>armangul</author>
    </item>
    <item>
      <title>http://cookbooks.adobe.com/index.cfm?event=showdetails&amp;postId=11947</title>
      <link>http://cookbooks.adobe.com/index.cfm?event=showdetails&amp;postId=11947</link>
      <description>Thanks fot tutorial:))

I wonder how to use cyrillic letters.</description>
      <pubDate>Wed, 28 Oct 2009 01:54:05 GMT</pubDate>
      <author>venci vidov</author>
    </item>
    <item>
      <title>http://cookbooks.adobe.com/index.cfm?event=showdetails&amp;postId=11846</title>
      <link>http://cookbooks.adobe.com/index.cfm?event=showdetails&amp;postId=11846</link>
      <description>I want to say thanks for the great example.  

I'm trying to build on this though, and I'm not having any luck.  

In your example column 2 is a ComboBox.  It appears to be covering the Header for the column though.  What I would like to do is always have a filter column, then the header column.  In the case of column three I would just have a read-only text box since there is no filtering.  

It appears that I would need to work with ComboBoxHeaderRenderer, but anything I do with that doesn't seem to change the height of the combo box.

Also do you have any quick tips to add sorting to the Combo &amp; TextInput header?

Thanks again, any input would be appreciated.</description>
      <pubDate>Tue, 27 Oct 2009 11:57:41 GMT</pubDate>
      <author>grenvoy</author>
    </item>
    <item>
      <title>http://cookbooks.adobe.com/index.cfm?event=showdetails&amp;postId=16404</title>
      <link>http://cookbooks.adobe.com/index.cfm?event=showdetails&amp;postId=16404</link>
      <description>I didn't succeed embedding Flex 4 SWF file into Flex 3 application. Marshall Plan is a part of both Flex 4 SDK and Flex 3.2 (and later) SDK, but it seems it work only one way. Please comment it's possible, thanks !</description>
      <pubDate>Tue, 27 Oct 2009 08:38:37 GMT</pubDate>
      <author>Rodion Bykov</author>
    </item>
    <item>
      <title>http://cookbooks.adobe.com/index.cfm?event=showdetails&amp;postId=12007</title>
      <link>http://cookbooks.adobe.com/index.cfm?event=showdetails&amp;postId=12007</link>
      <description>and when I checked out Ribbit it is not free either (of course!)&#xD;
&#xD;
We have sent text messages in a simpler fashion. We simply ask the user who signs up for text messages to provide us with their phone's email address; usually something like MyPhoneNumber@MyCellCompany.com.&#xD;
&#xD;
Then we just send an email from the server and the user gets it as a text message on their phone. there are no costs to send or receive beyond whatever the user already pays to receive texts. No complicated 3rd-party service to log into and depend on. It just works.&#xD;
&#xD;
But we have done this on a fairly small scale so far. Does anyone have any ideas/advice on why this might not be a good general approach to solving this problem?</description>
      <pubDate>Sun, 25 Oct 2009 01:43:04 GMT</pubDate>
      <author>snorky</author>
    </item>
    <item>
      <title>http://cookbooks.adobe.com/index.cfm?event=showdetails&amp;postId=12007</title>
      <link>http://cookbooks.adobe.com/index.cfm?event=showdetails&amp;postId=12007</link>
      <description>@Dananos&#xD;
you said "it's free" but when I checked the US site of freebiesms it says the following,&#xD;
&#xD;
"Text are free to send...the recipient will have the option to pay $4.99 to read the message."&#xD;
&#xD;
does not sound free at $4.99/text!!!</description>
      <pubDate>Sun, 25 Oct 2009 01:12:56 GMT</pubDate>
      <author>snorky</author>
    </item>
    <item>
      <title>http://cookbooks.adobe.com/index.cfm?event=showdetails&amp;postId=15806</title>
      <link>http://cookbooks.adobe.com/index.cfm?event=showdetails&amp;postId=15806</link>
      <description>It's not working for me either on Mac ?!</description>
      <pubDate>Sat, 24 Oct 2009 14:36:48 GMT</pubDate>
      <author>Raymond Tress</author>
    </item>
    <item>
      <title>http://cookbooks.adobe.com/index.cfm?event=showdetails&amp;postId=12506</title>
      <link>http://cookbooks.adobe.com/index.cfm?event=showdetails&amp;postId=12506</link>
      <description>If you click on the MenuBar instead of the MenuBarItem, runtime Error #1034 pops up.

maybe something like this could be used:

private function mouseClickHandler(event:MouseEvent):void{
        if(event.target is MenuBarItem) {
                var tempMenu:MenuBarItem =MenuBarItem(event.target)
                if (XMLList(tempMenu.data).*.length()==0){
                        Alert.show(MenuBarItem(event.target).data.@name, 'Mouse Event' )
                }
        }
}</description>
      <pubDate>Fri, 23 Oct 2009 05:18:28 GMT</pubDate>
      <author>Dimitry Hristov</author>
    </item>
    <item>
      <title>http://cookbooks.adobe.com/index.cfm?event=showdetails&amp;postId=12506</title>
      <link>http://cookbooks.adobe.com/index.cfm?event=showdetails&amp;postId=12506</link>
      <description>Hi bsyyu.
Great Work ...</description>
      <pubDate>Thu, 22 Oct 2009 22:05:38 GMT</pubDate>
      <author>rajcheram</author>
    </item>
    <item>
      <title>http://cookbooks.adobe.com/index.cfm?event=showdetails&amp;postId=13114</title>
      <link>http://cookbooks.adobe.com/index.cfm?event=showdetails&amp;postId=13114</link>
      <description>Rather problematic isn't it?  I think the use case for most of us here (at least for me) is that we're just not interested in the *local* time (or maybe even date) at all, but Date objects always contain such "time" information...&#xD;
&#xD;
It would be nice if there was a simple "Day" (not sure of the name really) data type in both Flex and Java with all the functionality of Date, minus the time element.  In my particular use case, I want to track events so they can be compared to one another as they actually occurred in real time.  I couldn't care less about time zones or time, or even whether the DAY is different between the client and server because it's past midnight at one location but not the other--I just need the server HQ's "day" as the standard.&#xD;
&#xD;
Without something like that, I think the best (easiest?) solution is still sending dates as strings with some specific predefined format, parsing them at each end when needed. (And IF needed in the case of a read only date field in a Flex client!)  Seems hard to go wrong with that.</description>
      <pubDate>Thu, 22 Oct 2009 19:05:42 GMT</pubDate>
      <author>Ansury</author>
    </item>
    <item>
      <title>http://cookbooks.adobe.com/index.cfm?event=showdetails&amp;postId=7743</title>
      <link>http://cookbooks.adobe.com/index.cfm?event=showdetails&amp;postId=7743</link>
      <description>I successfully pulled data from SharePoint 2007 into my datagrid. Although it was only the last record in the list, I assume I only need to tweak the parameters of what the Flex app is trying to pull. Thank you!&#xD;
&#xD;
I am trying to write data back into SharePoint from Flex. Do you have any solutions or recommendations to write or delete data from SharePoint using Flex as an interface?</description>
      <pubDate>Thu, 22 Oct 2009 12:51:57 GMT</pubDate>
      <author>ajdove</author>
    </item>
    <item>
      <title>http://cookbooks.adobe.com/index.cfm?event=showdetails&amp;postId=14187</title>
      <link>http://cookbooks.adobe.com/index.cfm?event=showdetails&amp;postId=14187</link>
      <description>The file should be there now, check it out.</description>
      <pubDate>Thu, 22 Oct 2009 07:01:24 GMT</pubDate>
      <author>Mykola Bilokonsky</author>
    </item>
    <item>
      <title>http://cookbooks.adobe.com/index.cfm?event=showdetails&amp;postId=5441</title>
      <link>http://cookbooks.adobe.com/index.cfm?event=showdetails&amp;postId=5441</link>
      <description>A filtered version of an ArrayCollection will contain copies of objects stored in the original (source) version of the object. So if you need to access the original instances of the objects stored in the ArrayCollection, you should use alternative ways of filtering your items.</description>
      <pubDate>Thu, 22 Oct 2009 01:11:07 GMT</pubDate>
      <author>beri_pas</author>
    </item>
    <item>
      <title>http://cookbooks.adobe.com/index.cfm?event=showdetails&amp;postId=16404</title>
      <link>http://cookbooks.adobe.com/index.cfm?event=showdetails&amp;postId=16404</link>
      <description>thanks, just what I was looking for.  Wondering if the reverse is possible, e.g., use SWC from Flex 4 with a Flex 3 project.</description>
      <pubDate>Tue, 20 Oct 2009 14:22:27 GMT</pubDate>
      <author>Daniel Woodard</author>
    </item>
    <item>
      <title>http://cookbooks.adobe.com/index.cfm?event=showdetails&amp;postId=11846</title>
      <link>http://cookbooks.adobe.com/index.cfm?event=showdetails&amp;postId=11846</link>
      <description>Datagrid is working perfectly with filters. Thank you very much.

But I have to add sorting along with Combo box filter on the header.could you please help me.</description>
      <pubDate>Mon, 19 Oct 2009 10:42:54 GMT</pubDate>
      <author>KVSS_Raj</author>
    </item>
    <item>
      <title>http://cookbooks.adobe.com/index.cfm?event=showdetails&amp;postId=6543</title>
      <link>http://cookbooks.adobe.com/index.cfm?event=showdetails&amp;postId=6543</link>
      <description>The archives at http://code.google.com/p/as3flexunitlib/ are marked deprecated now.&#xD;
&#xD;
Currently the project is available at http://opensource.adobe.com/wiki/display/flexunit/FlexUnit</description>
      <pubDate>Mon, 19 Oct 2009 08:21:13 GMT</pubDate>
      <author>taruniiitb</author>
    </item>
    <item>
      <title>http://cookbooks.adobe.com/index.cfm?event=showdetails&amp;postId=16399</title>
      <link>http://cookbooks.adobe.com/index.cfm?event=showdetails&amp;postId=16399</link>
      <description>Cool! Do you know of any good tutorials to introduce the use of JS to build panels in Adobe products?</description>
      <pubDate>Mon, 19 Oct 2009 07:25:08 GMT</pubDate>
      <author>Mykola Bilokonsky</author>
    </item>
    <item>
      <title>http://cookbooks.adobe.com/index.cfm?event=showdetails&amp;postId=7262</title>
      <link>http://cookbooks.adobe.com/index.cfm?event=showdetails&amp;postId=7262</link>
      <description>Nice example.. I am new to Flex, please help me to fix the above bug which “Marker” mentioned above. If possible please mail me to kreddy79@yahoo.com</description>
      <pubDate>Mon, 19 Oct 2009 07:11:23 GMT</pubDate>
      <author>Kiran Karra</author>
    </item>
    <item>
      <title>http://cookbooks.adobe.com/index.cfm?event=showdetails&amp;postId=6142</title>
      <link>http://cookbooks.adobe.com/index.cfm?event=showdetails&amp;postId=6142</link>
      <description>@bgrezeszak

Thanks for your great help!
Didn't work right away for me, so I altered the code from:

return &lt;{nm}&gt;{new XML("&lt;![CDATA[" info "]]&gt;")}&lt;/{nm}&gt;;

to 

return &lt;{nm}&gt;{new XML("&lt;![CDATA[" + info + "]]&gt;")}&lt;/{nm}&gt;;

That did the trick for me.
Hope this helps for people who didn't get it to work.

Greets,

Jip.</description>
      <pubDate>Mon, 19 Oct 2009 04:52:03 GMT</pubDate>
      <author>Jip Spinnewijn</author>
    </item>
    <item>
      <title>http://cookbooks.adobe.com/index.cfm?event=showdetails&amp;postId=16316</title>
      <link>http://cookbooks.adobe.com/index.cfm?event=showdetails&amp;postId=16316</link>
      <description>Thnx!</description>
      <pubDate>Sun, 18 Oct 2009 06:47:00 GMT</pubDate>
      <author>=MechanisM=</author>
    </item>
    <item>
      <title>http://cookbooks.adobe.com/index.cfm?event=showdetails&amp;postId=12748</title>
      <link>http://cookbooks.adobe.com/index.cfm?event=showdetails&amp;postId=12748</link>
      <description>If you only want to disable unused type warnings (as opposed to all warnings) try this:

Turn this off by going into your project properties panel and select the Flex Compiler option and add the following into Additional compiler options:

-show-unused-type-selector-warnings=false

from 

http://www.derekentringer.com/blog/flex-builder-remove-css-type-selector-warnings/
and
http://stackoverflow.com/questions/840611/flex-the-css-type-selector-was-not-processed-because-the-type-was-not-used-in-th</description>
      <pubDate>Fri, 16 Oct 2009 10:47:59 GMT</pubDate>
      <author>gtbus</author>
    </item>
    <item>
      <title>http://cookbooks.adobe.com/index.cfm?event=showdetails&amp;postId=7764</title>
      <link>http://cookbooks.adobe.com/index.cfm?event=showdetails&amp;postId=7764</link>
      <description>I have greatly improved this example. You can check out the new version on my blog: http://flexnaut.blogspot.com/2009/10/new-improved-treeitemrenderer-example.html</description>
      <pubDate>Fri, 16 Oct 2009 07:07:12 GMT</pubDate>
      <author>kdavisAtDuke</author>
    </item>
    <item>
      <title>http://cookbooks.adobe.com/index.cfm?event=showdetails&amp;postId=13114</title>
      <link>http://cookbooks.adobe.com/index.cfm?event=showdetails&amp;postId=13114</link>
      <description>I had a problem with this solution. This trust in the propertie timezoneOffset in Flex and in getOffset method in Java. In some dates there are differences between results, this means differents dates.</description>
      <pubDate>Thu, 15 Oct 2009 13:08:57 GMT</pubDate>
      <author>Aureo B M</author>
    </item>
    <item>
      <title>http://cookbooks.adobe.com/index.cfm?event=showdetails&amp;postId=14187</title>
      <link>http://cookbooks.adobe.com/index.cfm?event=showdetails&amp;postId=14187</link>
      <description>Good point, Matt - I'll look into it, I'm a moderator. It's possible it fell through the cracks when the site was migrated.</description>
      <pubDate>Thu, 15 Oct 2009 09:07:32 GMT</pubDate>
      <author>Mykola Bilokonsky</author>
    </item>
    <item>
      <title>http://cookbooks.adobe.com/index.cfm?event=showdetails&amp;postId=14187</title>
      <link>http://cookbooks.adobe.com/index.cfm?event=showdetails&amp;postId=14187</link>
      <description>Please advise where the full class is? Nothing is attached!</description>
      <pubDate>Thu, 15 Oct 2009 07:23:06 GMT</pubDate>
      <author>mattjenn</author>
    </item>
    <item>
      <title>http://cookbooks.adobe.com/index.cfm?event=showdetails&amp;postId=16292</title>
      <link>http://cookbooks.adobe.com/index.cfm?event=showdetails&amp;postId=16292</link>
      <description>I believe that there's a slight flaw with the method used to generate a random number in a range. The method used will have a bias against returning 0 or the value of max - they will occur only half as often as values in between.

In order to return a zero, the value of rand * max must be between 0 and 0.5, however to return a 1, rand * max may be anything between 0.5 and 1.5.

If you need all values to occur with equal frequency, do something like this:
var randInRange:Number = Math.floor(rand * (max+1));</description>
      <pubDate>Wed, 14 Oct 2009 22:08:02 GMT</pubDate>
      <author>arthur.gunn</author>
    </item>
    <item>
      <title>http://cookbooks.adobe.com/index.cfm?event=showdetails&amp;postId=8267</title>
      <link>http://cookbooks.adobe.com/index.cfm?event=showdetails&amp;postId=8267</link>
      <description>This should be extended for Flex containers as components as well rather than only for movieclips. I'm having an issue where the removeChild doesnt properly remove the UIComponent even if it doesnt have any event listeners attached to it</description>
      <pubDate>Wed, 14 Oct 2009 08:14:30 GMT</pubDate>
      <author>Mathias Stäbler</author>
    </item>
    <item>
      <title>http://cookbooks.adobe.com/index.cfm?event=showdetails&amp;postId=16316</title>
      <link>http://cookbooks.adobe.com/index.cfm?event=showdetails&amp;postId=16316</link>
      <description>Cool, thanks - I'm going to bookmark this for the inevitable next time I get handed a writhing mess of XML data, probably prefaced by the PM saying "So this should be pretty simple, right?" ;)</description>
      <pubDate>Wed, 14 Oct 2009 07:59:41 GMT</pubDate>
      <author>Mykola Bilokonsky</author>
    </item>
    <item>
      <title>http://cookbooks.adobe.com/index.cfm?event=showdetails&amp;postId=16317</title>
      <link>http://cookbooks.adobe.com/index.cfm?event=showdetails&amp;postId=16317</link>
      <description>OK, that make sense. Let me see if I understand:

In your first example, you have:
&lt;mx:Image name=" {rp.currentItem.@color}" source=" {rp.currentItem.@source}"/&gt; 

But rp.currentItem.@source returns a string, not a Class - so it doesn't work, because the app has no idea how to turn a string into a functional Class. 

However, when you write your getter you're actually implicitly referring to a class by using this[MY_STRING], which looks for a public property with the name MY_STRING within the scope of "this". So when you return that cast as a Class you're actually returning a Class instead of a string to your repeater source.

I wonder if it would work if you simply wrote:
source = {this[rp.currentItem.@source]}

I bet it would, can you give it a try and let us know? :)</description>
      <pubDate>Wed, 14 Oct 2009 07:55:51 GMT</pubDate>
      <author>Mykola Bilokonsky</author>
    </item>
    <item>
      <title>http://cookbooks.adobe.com/index.cfm?event=showdetails&amp;postId=13086</title>
      <link>http://cookbooks.adobe.com/index.cfm?event=showdetails&amp;postId=13086</link>
      <description>this workaround only works partially for me.

when wmode is set to window, the mouse wheel works like a charm, unfortunately, it doesn't allow javascript popup windows to be displayed above the Flash application.

when wmode is set to transparent, the javascript popup windows are displayed correctly but the mouse wheel has an erratic behavior, working only on certain parts of the Flash application and not others.  The mouseWheel event is never dispatched in this case.
I've tried setting an event listener on the mouseWheel on the Application object and the SystemManager but nothings works.</description>
      <pubDate>Wed, 14 Oct 2009 06:25:25 GMT</pubDate>
      <author>Pier.B</author>
    </item>
    <item>
      <title>http://cookbooks.adobe.com/index.cfm?event=showdetails&amp;postId=16342</title>
      <link>http://cookbooks.adobe.com/index.cfm?event=showdetails&amp;postId=16342</link>
      <description>Like Alex, I like to tack a variable on the queryString to make sure new versions are loaded fresh.  However, creating a uniqueID requires the user to download the app every time.  Instead, I want to have the application loaded from cache whenever possible, except when the application has been changed/updated.  To do this I use a version variable that I only update when I want to push a new version to the users; like so:

&lt;script type="text/javascript"&gt;
	var version = 1.2;
	var flashvars = {};
	var params = {};
	var attributes = {};
	swfobject.embedSWF('yourApp.swf?v='+version, 'divId', '100%', '100%', '9.0.0', 'expressInstall.swf', flashvars, params, attributes);
&lt;/script&gt;</description>
      <pubDate>Tue, 13 Oct 2009 09:56:08 GMT</pubDate>
      <author>Kalen Gibbons</author>
    </item>
    <item>
      <title>http://cookbooks.adobe.com/index.cfm?event=showdetails&amp;postId=16323</title>
      <link>http://cookbooks.adobe.com/index.cfm?event=showdetails&amp;postId=16323</link>
      <description>Oh no you don't...</description>
      <pubDate>Tue, 13 Oct 2009 09:52:08 GMT</pubDate>
      <author>Mykola Bilokonsky</author>
    </item>
    <item>
      <title>http://cookbooks.adobe.com/index.cfm?event=showdetails&amp;postId=16342</title>
      <link>http://cookbooks.adobe.com/index.cfm?event=showdetails&amp;postId=16342</link>
      <description>Ooh. Nice. I don't think we could use this with our implementation but I like your approach. 

BTW I had a few errors in the code that are corrected now.</description>
      <pubDate>Tue, 13 Oct 2009 09:32:24 GMT</pubDate>
      <author>Chad Mefferd</author>
    </item>
    <item>
      <title>http://cookbooks.adobe.com/index.cfm?event=showdetails&amp;postId=16342</title>
      <link>http://cookbooks.adobe.com/index.cfm?event=showdetails&amp;postId=16342</link>
      <description>Interesting solution. What we usually use to force a fresh reload is appending a random unique variable to the swfloader that forces the browser to load a fresh instance... like so &#xD;
&lt;cfoutput&gt;&#xD;
    &lt;script&gt;&#xD;
          swfobject.embedSWF('yourapp.swf?nocache=#CreateUUID()#', 'divYourApp', '100%', '350', '8.0.0', 'expressInstall.swf',{},{wmode:'transparent'});"&#xD;
    &lt;/script&gt;&#xD;
&lt;cfoutput&gt;</description>
      <pubDate>Tue, 13 Oct 2009 08:02:09 GMT</pubDate>
      <author>Alex Frates</author>
    </item>
    <item>
      <title>http://cookbooks.adobe.com/index.cfm?event=showdetails&amp;postId=5561</title>
      <link>http://cookbooks.adobe.com/index.cfm?event=showdetails&amp;postId=5561</link>
      <description>rowcount was not declared properly. 

change-    rowcount =     
to-               var rowcount:String = 

Also there is a major bug if you do a join
SELECT * FROM x,y 
If the ID exists in both tables, the column names have ID twice but the data does not
so things get out of sync.  You can workaround this with:
SELECT val1, val2 FROM x,y
(ie. explicitly say which columns instead of *)

Other than that, its exactly what I was looking for.  Thanks a lot.

Shaun
http://www.vidgridz.com</description>
      <pubDate>Mon, 12 Oct 2009 02:46:46 GMT</pubDate>
      <author>blissweb</author>
    </item>
    <item>
      <title>http://cookbooks.adobe.com/index.cfm?event=showdetails&amp;postId=8410</title>
      <link>http://cookbooks.adobe.com/index.cfm?event=showdetails&amp;postId=8410</link>
      <description>This is a good solution but I see a security risk in this approach. After running the flex application when I see the view source  in the view source I see the userid etc written in the view source page. If we are trying to authenticate through Siteminder and FlashVars writes the login credintials in view source isn't this a security risk?</description>
      <pubDate>Sun, 11 Oct 2009 12:11:06 GMT</pubDate>
      <author>nkumar77</author>
    </item>
    <item>
      <title>http://cookbooks.adobe.com/index.cfm?event=showdetails&amp;postId=13908</title>
      <link>http://cookbooks.adobe.com/index.cfm?event=showdetails&amp;postId=13908</link>
      <description>Great example.  I've been working on an application with a DataGrid  which has an ItemRenderer which contains a number of graphic elements.  After using Degrafa and other methods using lots of components, the scroll speed on the DataGrid slows down to an unusable level.  
If you write your ItemRenderer using pure Actionscript like this, the DataGrid flies.  There is no question that Actionscript drawing is perfect for when you need to draw large numbers of objects quickly. 
My application has a DataGrid with about 1000 rows and each row contains about 15 or so graphic shapes.  With degrafa or just plain canvas shapes its way too slow.
Degrafa is perfect for your screen backgrounds, buttons and general bling :*)</description>
      <pubDate>Sun, 11 Oct 2009 06:17:03 GMT</pubDate>
      <author>blissweb</author>
    </item>
    <item>
      <title>http://cookbooks.adobe.com/index.cfm?event=showdetails&amp;postId=16307</title>
      <link>http://cookbooks.adobe.com/index.cfm?event=showdetails&amp;postId=16307</link>
      <description>Great ! That will take care of the people that keep on saying flex isn't accessibility proofed. 
Now I wonder if scaling the font is the best strategy. Nowadays browsers  zoom the whole web site rather than just the font because in the second case it often breaks the design. Difficult to design an app that works with a font at 9px to 14px.

Did somebody try to scale the whole app?</description>
      <pubDate>Sat, 10 Oct 2009 21:29:34 GMT</pubDate>
      <author>ced_damoo</author>
    </item>
    <item>
      <title>http://cookbooks.adobe.com/index.cfm?event=showdetails&amp;postId=12846</title>
      <link>http://cookbooks.adobe.com/index.cfm?event=showdetails&amp;postId=12846</link>
      <description>Thank you ! :)</description>
      <pubDate>Sat, 10 Oct 2009 05:37:43 GMT</pubDate>
      <author>Dead-Kat</author>
    </item>
  </channel>
</rss>

