topical media & game development

talk show tell print [swf] flex

  <?xml version="1.0" encoding="utf-8"?>
  <mx:Application xmlns:mx="" layout="vertical">


     [Embed(source="mashup-rmx-05-StylingSamples-images-panel.gif", scaleGridTop="25", scaleGridBottom="160", scaleGridLeft="10", scaleGridRight="203")]
     private var panelBg:Class;


   <mx:Style source="mashup-rmx-05-StylingSamples-styles.css"/>

panel (with canvas background)

   <mx:Canvas width="100%" height="100%" backgroundImage="{panelBg}" backgroundSize="100%">
     title="Main Panel" titleStyleName="myTitleStyle" headerHeight="25"
     backgroundAlpha="0" dropShadowEnabled="false" borderAlpha="0"
     width="100%" height="100%">
     <mx:Text styleName="myFirstStyle" text="Hello Friends of Ed!"/>
     <mx:Text text="CSS is neat!"/>

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