[x]
Posted via EE Mobile

Search, ask, and monitor your questions on the go with EE Mobile. Visit Experts Exchange from your mobile device and never be out of touch again.

Question
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

7.2

Tree Control - Access issue

Asked by su04 in Adobe Flex

Hi,
I'm using Tree Control in my application but facing some issues.

In line 69, I'm getting below error.
1180: Call to a possibly undefined method callPopup.

In line 81, I'm getting below error.
1120: Access of undefined property status.

Please suggest, how can I remove these error.

Finally, Please have a look in screen shot , this is how my screen look like.

I don't want to show images (second column) at each level, I want to show this at file level only not at folder level.

Please help me on all these.

SU
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
31:
32:
33:
34:
35:
36:
37:
38:
39:
40:
41:
42:
43:
44:
45:
46:
47:
48:
49:
50:
51:
52:
53:
54:
55:
56:
57:
58:
59:
60:
61:
62:
63:
64:
65:
66:
67:
68:
69:
70:
71:
72:
73:
74:
75:
76:
77:
78:
79:
80:
81:
82:
83:
84:
85:
86:
87:
88:
89:
90:
91:
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" width="808" height="484" viewSourceURL="srcview/index.html"
xmlns:com="*"> 
    <mx:Script>
        <![CDATA[
            import mx.collections.ArrayCollection;
            import mx.collections.ArrayCollection;
            import mx.core.IFlexDisplayObject;
            import mx.containers.TitleWindow;
            import mx.managers.PopUpManager;
            
            [Bindable]
            public var status:ArrayCollection = new ArrayCollection(
                [ {label:"Pending", data:1}, 
                  {label:"Fail P1", data:2},
                  {label:"Fail P2", data:3},
                  {label:"Fail P3", data:4},
                  {label:"Pass", data:5},
                  {label:"NA", data:6},
                  {label:"Waived", data:7} ]);
                    
          
            [Bindable]
            private var dpFlat:ArrayCollection = new ArrayCollection([
              {Category:"Analog Display", Territory:"DAC", 
                  Territory_Rep:"DACA_VDD is connected to 3.3V +/- 5%", Actual:38865, Last_Response:40000},
              {Category:"Analog Display", Territory:"DAC", 
                  Territory_Rep:"Follow DG Table 7-3 for DAC power filtering (Ref:REF:Joe5)", Actual:38865, Last_Response:40000},
               {Category:"Analog Display", Territory:"DAC", 
                  Territory_Rep:"DACA_VREF requires a 0.1uF capacitor to GND", Actual:38865, Last_Response:40000},
              {Category:"Analog Display", Territory:"DAC", 
                  Territory_Rep:"DACA_RSET is pulled down with a 124 Ohm 1% resistor", Actual:38865, Last_Response:40000},        
              {Category:"Clock and PLL", Territory:"Clock", 
                  Territory_Rep:"Place a 22Ohm resistor in series if XTALSSIN is connected to an external device", Actual:38865, Last_Response:40000},
            ]);
            
            [Bindable]
            private function callPopup():void{
               var pop:TitleWindow = TitleWindow(PopUpManager.createPopUp(this,userentry,true)); 
               }
            
          ]]>
    </mx:Script> 
    <mx:Panel title="Schematic" 
        height="421" width="742" layout="horizontal"
        paddingTop="10" paddingBottom="10" paddingLeft="10" paddingRight="10">
	 <mx:AdvancedDataGrid id="myADG" 
            width="100%" height="100%" 
            initialize="gc.refresh();">        
            <mx:dataProvider>
                <mx:GroupingCollection id="gc" source="{dpFlat}">
                    <mx:grouping>
                        <mx:Grouping>
                            <mx:GroupingField name="Category" />
                            <mx:GroupingField name="Territory"/>
                            <mx:GroupingField name="Territory_Rep"/>
                        </mx:Grouping>
                    </mx:grouping>
                </mx:GroupingCollection>
            </mx:dataProvider>        
                            
            <mx:columns>
           
                <mx:AdvancedDataGridColumn dataField="Category" width="400"/>
                <mx:AdvancedDataGridColumn dataField="Territory" headerText="">
             	<mx:itemRenderer>
                        <mx:Component>
                           
                            <mx:Image source="images/globe.png" mouseMove="callPopup()"/>
                           
                        </mx:Component>
                </mx:itemRenderer>
	
                </mx:AdvancedDataGridColumn>
                	
                <mx:AdvancedDataGridColumn dataField="Territory_Rep"
                    headerText=""/>
                <mx:AdvancedDataGridColumn dataField="Actual" headerText="">
                <mx:itemRenderer>
                   <mx:Component>
                            <mx:ComboBox dataProvider="{status}"/>
                   </mx:Component>
                </mx:itemRenderer>	
                </mx:AdvancedDataGridColumn>
                
                <mx:AdvancedDataGridColumn dataField="Last_Response" width="350" headerText="Last Response"/>
            </mx:columns>
       </mx:AdvancedDataGrid>
    </mx:Panel>
    
</mx:Application>
Attachments:
 
Tree Control
Tree Control
 
[+][-]11/11/09 11:41 PM, ID: 25802199Accepted Solution

View this solution now by starting your 30-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

About this solution

Zone: Adobe Flex
Sign Up Now!
Solution Provided By: zzynx
Participating Experts: 1
Solution Grade: A
 
[+][-]11/03/09 04:46 AM, ID: 25728362Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]11/03/09 10:22 AM, ID: 25731830Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]11/03/09 10:23 PM, ID: 25736889Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]11/03/09 11:46 PM, ID: 25737197Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]11/04/09 12:20 AM, ID: 25737331Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]11/04/09 12:13 PM, ID: 25743428Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]11/05/09 11:34 PM, ID: 25757312Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]11/06/09 12:13 AM, ID: 25757459Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]11/06/09 12:19 AM, ID: 25757482Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]11/06/09 06:52 AM, ID: 25759568Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]11/06/09 07:51 AM, ID: 25760144Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]11/06/09 08:34 AM, ID: 25760605Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]11/08/09 11:15 AM, ID: 25771477Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]11/09/09 06:57 AM, ID: 25776401Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]11/09/09 05:51 PM, ID: 25781806Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]11/11/09 06:01 PM, ID: 25801010Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]11/13/09 12:08 AM, ID: 25812151Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20091118-EE-VQP-93 - Hierarchy / EE_QW_3_20080625