topical media & game development

talk show tell print

professional-flex-code-12-IMXMLObjectSample.mx

professional-flex-code-12-IMXMLObjectSample.mx [swf] flex


  <?xml version="1.0"?>
  <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" 
      xmlns:comps="*" backgroundColor="#FFFFFF">
    <comps:professional_flex_code_12_MyObjectComp id="myObjectComp" a="1" b="2"/>
    <mx:Panel title="IMXLObject Sample" width="100%" height="100%" 
      paddingTop="10" paddingLeft="10" paddingRight="10" paddingBottom="10"
      layout="horizontal">
      <mx:Button label="getTotal" 
        click="mx.controls.Alert.show('Total = ' + myObjectComp.getTotal())" />
    </mx:Panel>
  </mx:Application>
  
  


(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.