<?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>Mon, 23 Nov 2009 22:56:51 GMT</pubDate>
    <item>
      <title>http://cookbooks.adobe.com/index.cfm?event=showdetails&amp;postId=7606</title>
      <link>http://cookbooks.adobe.com/index.cfm?event=showdetails&amp;postId=7606</link>
      <description>Great Class!  Thanks!   

One thing I've noticed is that the preloader clip is not properly centered.   To fix this, edit the appropriate lines in onOpen() as follows:

            clip.x = event.target.x + (event.target.width/2) - (clip.width/2);
            clip.y = event.target.y + (event.target.height/2) - (clip.height/2);</description>
      <pubDate>Mon, 23 Nov 2009 14:22:20 GMT</pubDate>
      <author>ktraas</author>
    </item>
    <item>
      <title>http://cookbooks.adobe.com/index.cfm?event=showdetails&amp;postId=9883</title>
      <link>http://cookbooks.adobe.com/index.cfm?event=showdetails&amp;postId=9883</link>
      <description>Whoops, I missed the DataGridColumn types.. replace them with Object and you should be good to go with ADGs as well</description>
      <pubDate>Mon, 23 Nov 2009 07:55:37 GMT</pubDate>
      <author>ekerfelt</author>
    </item>
    <item>
      <title>http://cookbooks.adobe.com/index.cfm?event=showdetails&amp;postId=9883</title>
      <link>http://cookbooks.adobe.com/index.cfm?event=showdetails&amp;postId=9883</link>
      <description>I guess this is a rather late reply, but if someone else is wondering about a generic solution for DataGrids (and AdvancedDataGrids, hence the Object type of the grid input parameter since DataGrid and AdvancedDG don't seem to have a common superclass ). 

		public static function exportGridToTSV( grid:Object, onlySelected:Boolean = true ) : String 
		{
			var dataSource:ICollectionView = (onlySelected ? new ArrayCollection( grid.selectedItems ) : grid.dataProvider ) as ICollectionView;
			
			var headers:String = "";
			for each( var col:DataGridColumn in grid.columns )
			{
				if( headers.length &gt; 0 ) headers += "\t";
				headers += col.headerText;
			}
			headers += "\n";
			
			var cursor:IViewCursor = dataSource.createCursor();
			var data:String = "";
			var item:Object;
			var itemData:String;
				
			while( cursor.moveNext() )
			{
				item = cursor.current;
				itemData = "";
				for each( var col:DataGridColumn in grid.columns )
				{
					if( itemData.length &gt; 0 ) itemData += "\t";
					itemData += col.itemToLabel( item );
					
				}
				data += itemData + "\n";
			}
			return headers + data;
		}

		public static function exportGridToClipboard( grid:Object, onlySelected:Boolean = true ) : void 
		{
			System.setClipboard( exportGridToTSV( grid, onlySelected ) );
		}

Cheers</description>
      <pubDate>Mon, 23 Nov 2009 06:55:05 GMT</pubDate>
      <author>ekerfelt</author>
    </item>
    <item>
      <title>http://cookbooks.adobe.com/index.cfm?event=showdetails&amp;postId=16398</title>
      <link>http://cookbooks.adobe.com/index.cfm?event=showdetails&amp;postId=16398</link>
      <description>Cool, thanks. I have a big project in the back of my mind that's going to be built in Flex 4 and rely heavily on context menus for the UI, so I'll be checking back! 

Thanks for the contribution!</description>
      <pubDate>Mon, 23 Nov 2009 06:37:34 GMT</pubDate>
      <author>Mykola Bilokonsky</author>
    </item>
    <item>
      <title>http://cookbooks.adobe.com/index.cfm?event=showdetails&amp;postId=16529</title>
      <link>http://cookbooks.adobe.com/index.cfm?event=showdetails&amp;postId=16529</link>
      <description>Cool, that'll do it. I might consider breaking that into two methods (removePrompt(), addPrompt()) just because in the future if you want to build any additional functionality into that (ie serving up custom prompts for different input fields etc) then it'll be easier to tweak it.  

Just a thought, though. This is a solid contribution, thank you!</description>
      <pubDate>Mon, 23 Nov 2009 06:35:11 GMT</pubDate>
      <author>Mykola Bilokonsky</author>
    </item>
    <item>
      <title>http://cookbooks.adobe.com/index.cfm?event=showdetails&amp;postId=7243</title>
      <link>http://cookbooks.adobe.com/index.cfm?event=showdetails&amp;postId=7243</link>
      <description>HELP!! Nice Tutorial!!!   

i want to retrieve a entry that is with the "user name" say "code". is it possible to display it in the member page. If so someone tell me.</description>
      <pubDate>Sun, 22 Nov 2009 10:33:32 GMT</pubDate>
      <author>roshin rokz to the core</author>
    </item>
    <item>
      <title>http://cookbooks.adobe.com/index.cfm?event=showdetails&amp;postId=13627</title>
      <link>http://cookbooks.adobe.com/index.cfm?event=showdetails&amp;postId=13627</link>
      <description>aren't java property files (resource bundles) supposed to be escaped unicode while flex uses utf-8 encoded resource bundles???</description>
      <pubDate>Fri, 20 Nov 2009 08:38:18 GMT</pubDate>
      <author>PaulH</author>
    </item>
    <item>
      <title>http://cookbooks.adobe.com/index.cfm?event=showdetails&amp;postId=9263</title>
      <link>http://cookbooks.adobe.com/index.cfm?event=showdetails&amp;postId=9263</link>
      <description>Nice component. I tried this and it rocks. It suitable for paging in hibernate orm.

But how can generate the the page navigation such that it depends on the number of search result? if i have 100 result and 10/per page it would have 10 buttons and so on. As per my testing, when loading the screen when empty search result, the navigation does not update anymore.

thanks.
cheers.</description>
      <pubDate>Fri, 20 Nov 2009 01:18:59 GMT</pubDate>
      <author>jack182</author>
    </item>
    <item>
      <title>http://cookbooks.adobe.com/index.cfm?event=showdetails&amp;postId=16498</title>
      <link>http://cookbooks.adobe.com/index.cfm?event=showdetails&amp;postId=16498</link>
      <description>looks good! I had thought that there was a way to do this with Array.pop() but I guess you can only ever pop items out in order? Anyway yes, useful tool and does what it is supposed to.

This was actually the very first programming problem I had to solve in AS3 for a client. I was so proud of myself. :)</description>
      <pubDate>Thu, 19 Nov 2009 11:04:11 GMT</pubDate>
      <author>Mykola Bilokonsky</author>
    </item>
    <item>
      <title>http://cookbooks.adobe.com/index.cfm?event=showdetails&amp;postId=11083</title>
      <link>http://cookbooks.adobe.com/index.cfm?event=showdetails&amp;postId=11083</link>
      <description>I've applied the same filter technique to the more generic ListViewCollection. 
However, beware of using XMLCollections. If there's no recognizable sequence in the xml data, paging gets thrown off. It may be related to getItemAt(); vut I'm not sure.
As soon as I added an "id" field in the xml data (sequential), it worked. Also, if I added sequential numbers to the beginning of an xml node text , it worked.

One solution might be creating a Model and use that as the go-between Collection types as needed. (using ArrayCollection for the dataProvider and XMLcollections to perfom xml-centric functions)

Sorting by column throws paging off as well whether it's an XMLCollection or an ArrayCollection.</description>
      <pubDate>Thu, 19 Nov 2009 08:23:54 GMT</pubDate>
      <author>wasimSINGH</author>
    </item>
    <item>
      <title>http://cookbooks.adobe.com/index.cfm?event=showdetails&amp;postId=4822</title>
      <link>http://cookbooks.adobe.com/index.cfm?event=showdetails&amp;postId=4822</link>
      <description>Did you ever find out a way of doing it in the transitions tag?  I am looking for exactly this same functionality.  I am surprised I have not found more about this on the net.  Can it be done with Flex 4?</description>
      <pubDate>Wed, 18 Nov 2009 22:54:04 GMT</pubDate>
      <author>gantaclaus</author>
    </item>
    <item>
      <title>http://cookbooks.adobe.com/index.cfm?event=showdetails&amp;postId=13686</title>
      <link>http://cookbooks.adobe.com/index.cfm?event=showdetails&amp;postId=13686</link>
      <description>it's a very good solution, but i found a little error on this code :

        var xml2:XML = XML(dataxlc.getItemAt(dg.selectedIndex));
        xml2.selected = event.target.selected;
        dataxlc.setItemAt(xml2, dg.selectedIndex);
        displayValue = xml2.displayValue;
        dataValue = xml2.dataValue;

type for xml2 is incorrect, it should be like this :

        var xml2:Object = dataxlc.getItemAt(dg.selectedIndex);
        xml2.selected = event.target.selected;
        dataxlc.setItemAt(xml2, dg.selectedIndex);
        displayValue = xml2.displayValue;
        dataValue = xml2.dataValue;

just a little mistake. but the rest is ok. 
nice post!</description>
      <pubDate>Tue, 17 Nov 2009 13:30:10 GMT</pubDate>
      <author>nightspade</author>
    </item>
    <item>
      <title>http://cookbooks.adobe.com/index.cfm?event=showdetails&amp;postId=16308</title>
      <link>http://cookbooks.adobe.com/index.cfm?event=showdetails&amp;postId=16308</link>
      <description>Thank you so much this was great !!

I removed the 'frame' variable to make it a quick pause/play function for externally loaded swfs</description>
      <pubDate>Tue, 17 Nov 2009 12:09:53 GMT</pubDate>
      <author>Raphael Gera</author>
    </item>
    <item>
      <title>http://cookbooks.adobe.com/index.cfm?event=showdetails&amp;postId=13929</title>
      <link>http://cookbooks.adobe.com/index.cfm?event=showdetails&amp;postId=13929</link>
      <description>Thanks Greg.... Note that xml file is called 

url="myXML1.xml" 

in the mxml listing, but "myXML.xml"  in the sample above... Name 'em the same and it works great...</description>
      <pubDate>Tue, 17 Nov 2009 09:06:08 GMT</pubDate>
      <author>rcgauer</author>
    </item>
    <item>
      <title>http://cookbooks.adobe.com/index.cfm?event=showdetails&amp;postId=16271</title>
      <link>http://cookbooks.adobe.com/index.cfm?event=showdetails&amp;postId=16271</link>
      <description>You could easily create a serialization method on an object, or create a serialize function that was fairly simple using a for...in loop. As long as your objects aren't too complex, I don't think this would create much overhead. Back in AS2, I created a recursive serialization method that created and XML doc from an object. Since you're just creating a simple string, it should be pretty fast.</description>
      <pubDate>Sat, 14 Nov 2009 07:18:22 GMT</pubDate>
      <author>William Hannah</author>
    </item>
    <item>
      <title>http://cookbooks.adobe.com/index.cfm?event=showdetails&amp;postId=10568</title>
      <link>http://cookbooks.adobe.com/index.cfm?event=showdetails&amp;postId=10568</link>
      <description>To be more precise,&#xD;
Since im accessing the JSP file from EJB class, i.e, sending the data to JSP file to prompt user download, the connection btw Flex component, Button in this case, is lost.&#xD;
When i access the url of the action class, i get the download prompt, but when i click the button on the flex app, it doesnt produce the prompt. How shud i send the retrieved data from EJB class to Flex and then access the JSP file. What changes shud i make to the Struts.xml file. Currently the Struts.xml file maps the button functionality with the action class and the &lt;result&gt; tag is set to the JSP file....</description>
      <pubDate>Sat, 14 Nov 2009 06:06:43 GMT</pubDate>
      <author>RonnieCR7</author>
    </item>
    <item>
      <title>http://cookbooks.adobe.com/index.cfm?event=showdetails&amp;postId=10568</title>
      <link>http://cookbooks.adobe.com/index.cfm?event=showdetails&amp;postId=10568</link>
      <description>Hi Jim,&#xD;
This post has been of a great help. Thx..&#xD;
However, my requirement is slightly different. &#xD;
I send the data from Flex to a Java Class(EJB class). After i retrieve required data from the database, i send it back to a jsp file and im trying to prompt a file download which isnt workin. &#xD;
I should have actually sent the data from EJB back to flex and den accessed the JSP file according to your Post. How do i do that? My backend framework is Struts. So how shud i specify in the struts.xml file to return the data to flex and then access the JSP file?</description>
      <pubDate>Sat, 14 Nov 2009 05:10:18 GMT</pubDate>
      <author>RonnieCR7</author>
    </item>
    <item>
      <title>http://cookbooks.adobe.com/index.cfm?event=showdetails&amp;postId=16495</title>
      <link>http://cookbooks.adobe.com/index.cfm?event=showdetails&amp;postId=16495</link>
      <description>Many thanks for this article,
Long time that i wanted to deploy DSC on LiveCycle without WorkBench 
usefull !!

--
http://agences-de.com</description>
      <pubDate>Sat, 14 Nov 2009 03:15:25 GMT</pubDate>
      <author>agence-de</author>
    </item>
    <item>
      <title>http://cookbooks.adobe.com/index.cfm?event=showdetails&amp;postId=14306</title>
      <link>http://cookbooks.adobe.com/index.cfm?event=showdetails&amp;postId=14306</link>
      <description>This approach only works with VERY lightweight components, not anything requiring a SystemManager, as this is not inherited properly using this solution.&#xD;
&#xD;
The FocusManager is also omitted, which is required on most components.  Adding a new one (i.e. viewer.focusManager = new FocusManager(viewer) ) seems to work, although I'm not sure it's a good method.&#xD;
&#xD;
Any ideas how to properly add the component above so that it has all the pieces?</description>
      <pubDate>Fri, 13 Nov 2009 09:13:21 GMT</pubDate>
      <author>David Welch</author>
    </item>
    <item>
      <title>http://cookbooks.adobe.com/index.cfm?event=showdetails&amp;postId=13886</title>
      <link>http://cookbooks.adobe.com/index.cfm?event=showdetails&amp;postId=13886</link>
      <description>I need to generate a PDF for the DataGrid data from my MXML and it should be on the fly unlike a snapshot of image. I am very interested to try the above solution which is the answer to my requirement but I am not clear with the using of "FlxBillingDocument " in the for loop. Where do we get this Class. &#xD;
&#xD;
Please answer my question. &#xD;
&#xD;
Thanks in advance.&#xD;
-Lakshmi.</description>
      <pubDate>Thu, 12 Nov 2009 10:15:17 GMT</pubDate>
      <author>Rajalakshmi Gamini</author>
    </item>
    <item>
      <title>http://cookbooks.adobe.com/index.cfm?event=showdetails&amp;postId=16403</title>
      <link>http://cookbooks.adobe.com/index.cfm?event=showdetails&amp;postId=16403</link>
      <description>Sir, please do not post nonconstructive tutorial</description>
      <pubDate>Thu, 12 Nov 2009 09:54:23 GMT</pubDate>
      <author>proyb</author>
    </item>
    <item>
      <title>http://cookbooks.adobe.com/index.cfm?event=showdetails&amp;postId=82</title>
      <link>http://cookbooks.adobe.com/index.cfm?event=showdetails&amp;postId=82</link>
      <description>It's a nice idea but seems far to buggy to be of use. It works fine if the mouseTarget is indeed a DataGridItemRenderer but right click on any other part of the dataGrid and the contextMenu is still available but throws casting errors when selected.

I'd be interested to know if you have an alternative approach which solves this problem. Is the only viable solution to have the contextMenu on the ItemRenderer itself?</description>
      <pubDate>Thu, 12 Nov 2009 07:23:45 GMT</pubDate>
      <author>brett hannah</author>
    </item>
    <item>
      <title>http://cookbooks.adobe.com/index.cfm?event=showdetails&amp;postId=9203</title>
      <link>http://cookbooks.adobe.com/index.cfm?event=showdetails&amp;postId=9203</link>
      <description>compile the project against AMF-Secure to deploy to an SSL enabled server

I don't understand this. Can you please tell me how to compile on a flex server. I have no idea what a Flex server is.</description>
      <pubDate>Wed, 11 Nov 2009 16:22:37 GMT</pubDate>
      <author>faykel</author>
    </item>
    <item>
      <title>http://cookbooks.adobe.com/index.cfm?event=showdetails&amp;postId=14068</title>
      <link>http://cookbooks.adobe.com/index.cfm?event=showdetails&amp;postId=14068</link>
      <description>connokra. Not at all. I'm glad to help.</description>
      <pubDate>Wed, 11 Nov 2009 08:04:12 GMT</pubDate>
      <author>Reijii</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>2 mattjenn if you want some more examples you can contact me via skype: kodjii</description>
      <pubDate>Wed, 11 Nov 2009 08:02:32 GMT</pubDate>
      <author>Reijii</author>
    </item>
    <item>
      <title>http://cookbooks.adobe.com/index.cfm?event=showdetails&amp;postId=16199</title>
      <link>http://cookbooks.adobe.com/index.cfm?event=showdetails&amp;postId=16199</link>
      <description>Very good example, I got a good simplified briefing about Flex MVC from this link &#xD;
Might be help full to others &#xD;
&#xD;
http://askmeflash.com/qdetail/309/how-to-understand-and-use-mvc-framework-in-flex-any-example</description>
      <pubDate>Tue, 10 Nov 2009 23:26:36 GMT</pubDate>
      <author>Inderjit</author>
    </item>
    <item>
      <title>http://cookbooks.adobe.com/index.cfm?event=showdetails&amp;postId=11143</title>
      <link>http://cookbooks.adobe.com/index.cfm?event=showdetails&amp;postId=11143</link>
      <description>Thanx!! Nice example!</description>
      <pubDate>Tue, 10 Nov 2009 20:44:53 GMT</pubDate>
      <author>=MechanisM=</author>
    </item>
    <item>
      <title>http://cookbooks.adobe.com/index.cfm?event=showdetails&amp;postId=10885</title>
      <link>http://cookbooks.adobe.com/index.cfm?event=showdetails&amp;postId=10885</link>
      <description>Thanks for this tutorial!</description>
      <pubDate>Tue, 10 Nov 2009 13:20:58 GMT</pubDate>
      <author>codingNub</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>Help! I am trying to WRITE data from Flex into SharePoint. Although this article talks about pulling data out of SharePoint, what about inserting or updating SharePoint lists or data from a Flex front-end?</description>
      <pubDate>Tue, 10 Nov 2009 11:48:25 GMT</pubDate>
      <author>ajdove</author>
    </item>
    <item>
      <title>http://cookbooks.adobe.com/index.cfm?event=showdetails&amp;postId=7803</title>
      <link>http://cookbooks.adobe.com/index.cfm?event=showdetails&amp;postId=7803</link>
      <description>I also have been working to create a solution to bi-directionally communicate between Flex and SharePoint 2007. I need to read/write data from a front-end interface of Flex to the back-end of SharePoint. I do not use BlazeDS as Java is not my language or environment, however, I do use C# and work in a microsoft-based company. Are there any helpful solutions or frameworks which assist connectivity between Flex and SharePoint?</description>
      <pubDate>Tue, 10 Nov 2009 11:46:38 GMT</pubDate>
      <author>ajdove</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 added the following ActionScript code to filter the ComboBox and display only one entry for each item in the list, in Alpha order. This assumes you have a DataGrid named "MainTable" and an ArrayCollection of data called "FilterData"

[CODE]
//Create the filterable header(s)
			[Bindable] protected var header:ArrayCollection = new ArrayCollection();
			private var tempHeader:ArrayCollection;
			private var tempHeaderText:String;
			
			private var tempHeaderField:String;
			private var tempRow:*;
			private var tempRowText:String;
			private var filteredRows:ArrayCollection;
			private var filterSort:Sort = new Sort();
			
			protected function createComboHeaders():void {
				for(var column:int = 0; column &lt;  MainTable.columns.length; column++) {//Step through each column
					tempHeader = new ArrayCollection(); //Reinitialize the ArrayCollection for each column
					
					//Make the Column Label the first item in the list
					tempHeaderText = MainTable.columns[column].headerText.toString();
					tempHeader.addItem(tempHeaderText);
					tempHeader.addItem({separator:true});
					
					//Create an array of items in the column
					filteredRows = new ArrayCollection;
					tempRowText='';
					for(var row:int=0; row&lt;FilterData.length; row++) {
						tempRow = FilterData[row];
						tempHeaderField = MainTable.columns[column].dataField;
						if(tempRowText != tempRow[tempHeaderField] &amp;&amp; tempRow[tempHeaderField] != '') { //Do a preliminary filter to speed up the next one
							filteredRows.addItem(tempRow[tempHeaderField]);
							tempRowText = tempRow[tempHeaderField];
						}
					}
					//Sort and filter the column array
     				filterSort.fields = [new SortField(null, true)];
					filteredRows.sort = filterSort;
					filteredRows.refresh();
					tempRowText='';
					for(var i:int=0; i&lt;filteredRows.length; i++) {
						if(filteredRows[i] != '' &amp;&amp; tempRowText != filteredRows[i]) {
							tempHeader.addItem(filteredRows[i]);
							tempRowText = filteredRows[i];
						}
					}
					header.addItemAt(tempHeader, column);
				}
			}//End createComboHeaders
[/CODE]</description>
      <pubDate>Tue, 10 Nov 2009 08:49:08 GMT</pubDate>
      <author>=VA=FyreHeart</author>
    </item>
    <item>
      <title>http://cookbooks.adobe.com/index.cfm?event=showdetails&amp;postId=16199</title>
      <link>http://cookbooks.adobe.com/index.cfm?event=showdetails&amp;postId=16199</link>
      <description>be carefull naming your instances, if you name your package &#xD;
&#xD;
package model {...} &#xD;
&#xD;
and then give ListModel instance name "model" you will get error 1180: Call to a possibly undefined method</description>
      <pubDate>Tue, 10 Nov 2009 06:31:50 GMT</pubDate>
      <author>Danil Dogadkin</author>
    </item>
    <item>
      <title>http://cookbooks.adobe.com/index.cfm?event=showdetails&amp;postId=8047</title>
      <link>http://cookbooks.adobe.com/index.cfm?event=showdetails&amp;postId=8047</link>
      <description>You nicely done Justin. Very useful code. Your coding deserves 5 out of 5.</description>
      <pubDate>Tue, 10 Nov 2009 01:28:01 GMT</pubDate>
      <author>santanu_ws</author>
    </item>
    <item>
      <title>http://cookbooks.adobe.com/index.cfm?event=showdetails&amp;postId=8046</title>
      <link>http://cookbooks.adobe.com/index.cfm?event=showdetails&amp;postId=8046</link>
      <description>不错。还可以</description>
      <pubDate>Mon, 09 Nov 2009 22:59:14 GMT</pubDate>
      <author>leef lee</author>
    </item>
    <item>
      <title>http://cookbooks.adobe.com/index.cfm?event=showdetails&amp;postId=14166</title>
      <link>http://cookbooks.adobe.com/index.cfm?event=showdetails&amp;postId=14166</link>
      <description>Michael, 

Good example but I believe there is a flaw in this method. If you add more items to your ArrayCollection....say 15-20 more items so that your List needs a scrollbar...your checkboxes will visually do something odd. If you select the first couple checkboxes and scroll down toward the bottom of the list, random checkboxes will be shown as checked. 

I have read this is due to caching and reusing of the visual itemRenderer...but I have yet to find an alternative solution that will work like this example. Many examples use either a custom class or some sort of override function. If possible, could you elaborate on how to modify this example to account for this problem?</description>
      <pubDate>Mon, 09 Nov 2009 13:52:22 GMT</pubDate>
      <author>Bob Klaas</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>Hi munagapraveen,

Thank you very much for your suggestion. That's the simple and best way to show tooltips on Tree control.

According to your advice, I created 2nd sample and attached it as a "TreeToolTipsVer2.zip". I hope the 2nd sample helps everyone  who browse this page.</description>
      <pubDate>Sun, 08 Nov 2009 18:13:59 GMT</pubDate>
      <author>Hidehiko Hanamata</author>
    </item>
    <item>
      <title>http://cookbooks.adobe.com/index.cfm?event=showdetails&amp;postId=15646</title>
      <link>http://cookbooks.adobe.com/index.cfm?event=showdetails&amp;postId=15646</link>
      <description>Hello!
Could you tell me how work with Flex 4 states from ActionScript?
For example I whant to draw programmatically  on "grphics" of my conponent just on "normal" state, and I whant to draw programmatically another things on the "grphics" of my conponent just on "over" state. How should I do it?</description>
      <pubDate>Sun, 08 Nov 2009 10:59:00 GMT</pubDate>
      <author>terpimost</author>
    </item>
    <item>
      <title>http://cookbooks.adobe.com/index.cfm?event=showdetails&amp;postId=14866</title>
      <link>http://cookbooks.adobe.com/index.cfm?event=showdetails&amp;postId=14866</link>
      <description>Hello! Could you help me.
I'm trying ty make a skin for Scroller.
And I don't understand how correctly link from Scroller skin to VScrollBar skin or HScrollBar skin?
I don't understand how to use "verticalScrollBar" property of scroller or it skin.
There are no good examples or articles for that.
I found how to style VScrollBar with CSS ans ClassReferance and how to make custom skin with Catalist for VScrollBar.
But how exactly link VScrollBar skin to Scroller skin?</description>
      <pubDate>Sun, 08 Nov 2009 10:53:52 GMT</pubDate>
      <author>terpimost</author>
    </item>
    <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>
  </channel>
</rss>

