Site of the Day 7/31/2010

Here is good link concerning learning Flex features.

Site of the Day 7/30/2010

Here is a good link to create an AIR application on Google Andriod.

Site of the Day 7/29/2010

I’m going to explain how to send data from main Flex mxml file to a custom component. 


I’ll add some code to change components in the parent application from the custom component.



parentApplication.idhdivbox1.getDividerAt(0).visible = true;


parentApplication.[ID].[property or methods] = [value];

Lessons Learned : Try to keep the code inside the custom component small and send data (property) to the CC from the main mxml. Only if one can’t perform outside the custom component should you add ActionScript inside it. 

1.) Main mxml 

A.) Refer to custom component.

<mx:Application xmlns:mx=”;



horizontalAlign=”center” verticalAlign=”middle” 

left=”0″ top=”0″ 

applicationComplete=”onApplicationComplete(‘1’); ” 

viewSourceURL=”srcview/index.html” > 

B.) Setup bindable xml to custom component property. 


public var b_treexml:XMLListCollection = new XMLListCollection; 

C.) Put results from server into data provider of Tree component which is in the custom component. The first statement loads the results into the data provider. The second statement loads the results into a bindable var inside the custom components, so I can ‘EXPAND’ the tree at a 

public function set_tree1(e:ResultEvent):void {  

idCpanel.idtree.dataProvider = e.result; 

idCpanel.treeData2 = e.result as XML; 

} // end of set tree…. 

2.) Using custom component on main mxml 

<cpanel:cPanel prop1=”1″ prop2=”{b_treexml}” /> 

3.) Custom component 

A.) Setup bindable variables. 

// bindable variables


public var prop1:String; 


public var prop2:XMLListCollection; 


public var treeData2:XML; 

B.) I have a ‘EXPAND ALL’ button to expand the tree.

// open all nodes – tree2private function openAllNodes2():void {

 idtree.openItems = treeData2..*;

} // end of open all nodes….

<mx:Button label=”Expand ALL” click=”openAllNodes2();”

useHandCursor=”true” buttonMode=”true” mouseChildren=”false” />

C.) Here is the code for the Tree component inside the CC. Notice the ID.

<mx:Tree width=”100%” height=”100%”




change=”iFrame.source = (Tree(‘path’).toString());”

itemClick=”tree_itemClick(event);” />

Site of the Day 7/28/2010

Here is the page of the guru of the jQuery project.

Cheat sheet for jQuery

Site of the Day 6/28/2010

Here is the main page for the jQuery project.

Site of the Day 6/25/2010

A very good podcast about jQuery.

Site of the Day 6/24/2010

Here is a good video on how to understand the internals of jQuery.

Site of the Day 6/23/2010

15 Great jQuery Plugins For Better Table Manipulation

Site of the Day 6/22/2010

I’m going to start to add some resources for the JavaScript framework called jQuery.

Site of the Day 6/21/2010

Here is a great site from Adobe about learning about their products.

Site of the Day 6/20/2010

Here is the ultimate ColdFusion resource.

Site of the Day 6/19/2010

Here is an article on how to use jQuery from Google (CDN) and your local web server.

Site of the Day 6/18/2010

Here is some information concerning ColdFusion 9.0.1.

Documentation of changes to the Language.

Site of the Day 6/17/2010

I think I do these posts in batches because I’m so busy in my day job 🙂 Here is a good link concerning developing Object-oriented ColdFusion.

Site of the Day 6/16/2010

Here is a link to  jQuery for those interested in a lighweight JavaScript/CSS framework. Its has evolved into the best of the breed over the years.