I was having the damnest time adding a little thumbnail component to the 
inside of a HBox -> inside a VBox -> inside an Accordion...

I had no problem as the code demonstrates inside the first vbox in my 
accordion:

<mx:Accordion id="accordion0" width="334" height="180" 
resizeToContent="true">
                <!-- Define each panel using a VBox container. -->
                <mx:VBox id="v1" label="Favorite Friends" 
backgroundColor="#c0c0c0" width="100%" verticalScrollPolicy="off">
                <mx:HBox x="100" y="100"  width="600" height="280"  
id="stack" verticalScrollPolicy="off" />
                </mx:VBox>   
            <mx:VBox id="v2" label="{about_me}" width="100%" 
height="100%" verticalScrollPolicy="off" horizontalScrollPolicy="off">
               
                       <mx:HBox width="100%" height="100%" >
                      <mx:TextArea id="about_profile" 
htmlText="{about_person}" x="0" y="0" width="100%" height="100%"  
wordWrap="true" editable="false" fontSize="12" fontWeight="bold" 
fontFamily="tres"/>
                     </mx:HBox>
            </mx:VBox>
             <mx:VBox id="v3" label="Favorites" width="100%" height="143">
                 <mx:Text id="favorites_" />
             </mx:VBox>
            </mx:Accordion>

But below when i try to do my method  "stack" to create my component 
inside my vbox ="v2", it says undefined object or refrence... null... i 
*think* know i am doing this right, however flex can't find my component 
ID or something  -- why would this be?


<mx:Accordion id="accordion0" width="334" height="180" 
resizeToContent="true">
                <!-- Define each panel using a VBox container. -->
                <mx:VBox id="v1" label="Favorite Friends" 
backgroundColor="#c0c0c0" width="100%" verticalScrollPolicy="off">
               <mx:HBox width="100%" height="100%" >
                      <mx:TextArea id="about_profile" 
htmlText="{about_person}" x="0" y="0" width="100%" height="100%"  
wordWrap="true" editable="false" fontSize="12" fontWeight="bold" 
fontFamily="tres"/>
                     </mx:HBox>
                </mx:VBox>   
            <mx:VBox id="v2" label="{about_me}" width="100%" 
height="100%" verticalScrollPolicy="off" horizontalScrollPolicy="off">
                  <mx:HBox x="100" y="100"  width="600" height="280"  
id="stack" verticalScrollPolicy="off" />
                     
            </mx:VBox>
             <mx:VBox id="v3" label="Favorites" width="100%" height="143">
                 <mx:Text id="favorites_" />
             </mx:VBox>
            </mx:Accordion>

Thanks,
Patrick




--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/flexcoders/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[EMAIL PROTECTED] 
    mailto:[EMAIL PROTECTED]

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to