topical media & game development

talk show tell print

#graphic-player-10-cube-be-nascom-flex-component-FlexSimpleTraceBoxConsole.mx

#graphic-player-10-cube-be-nascom-flex-component-FlexSimpleTraceBoxConsole.mx [swf] [flash] flex


  <?xml version="1.0" encoding="utf-8"?>
  <mx:Canvas xmlns:mx="http://www.adobe.com/2006/mxml" xmlns:nas_comp="be.nascom.flex.component.*" currentState="hidden" >
          <mx:states>
                  <mx:State name="hidden">
                          <mx:AddChild>
                                  <mx:Button label="show trace box" click="currentState='visible'" />
                          </mx:AddChild>                        
                  </mx:State>
                  <mx:State name="visible">
                          <mx:AddChild>
                                  <mx:VBox width="100%" visible="true">
                                          <nas_comp:FlexSimpleTraceBox  width="100%" height="400" />
                                          <mx:HBox>
                                                  <mx:Button label="clear" click="be.nascom.flex.component.FlexSimpleTraceBox.clear();"  />                                                
                                                  <mx:Button label="hide trace box" click="currentState='hidden'"  />                                                
                                          </mx:HBox>
                                  </mx:VBox>
                          </mx:AddChild>                        
                  </mx:State>
  
          </mx:states>
  </mx:Canvas>
  


(C) Æliens 04/09/2009

You may not copy or print any of this material without explicit permission of the author or the publisher. In case of other copyright issues, contact the author.