topical media & game development

talk show tell print

mashup-rmx-04-new-project-template-flex-builder-3-src-com-newprojectname-components-someComponent.mx

mashup-rmx-04-new-project-template-flex-builder-3-src-com-newprojectname-components-someComponent.mx (swf ) [ flash ] flex


  <?xml version="1.0" encoding="utf-8"?>
  <mx:Canvas 
          creationComplete="myApp.showAlert();"
          xmlns:mx="http://www.adobe.com/2006/mxml" width="400" height="300">
          
          <mx:Script>
                  <![CDATA[
                          import mx.core.Application;
                          import com.newprojectname.Newprojectname;
                          
                          // this variable allows access to public methods on the application base class.  This same method can be used in a class.
                          [Bindable] private var myApp:Newprojectname = Newprojectname(Application.application);
                  ]]>
          </mx:Script>
          
  </mx:Canvas>
  


(C) Æliens 18/6/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.