Specifications
CHAPTER 5
110
}
]]></mx:Script>
<mx:Panel title="Ticker Sample" width="400" height="200">
<mx:Canvas creationComplete="initTicker()"
horizontalScrollPolicy="off" backgroundColor="red" color="white"
width="100%">
<mx:Label id="theText" text="{text}" y="0"/>
</mx:Canvas>
<mx:HBox>
<mx:Label text="Speed:"/>
<mx:HSlider minimum="1" maximum="10" value="{speed}"
id="speedSelector" snapInterval="1" tickInterval="1"
change="changeSpeed()"/>
</mx:HBox>
</mx:Panel>
</mx:Application>










