Thursday, December 3, 2009

Custom Style at Runtime Loading..





import mx.effects.Fade;
import mx.core.Application;
import flash.trace.Trace;
import mx.controls.Alert;
private function colorselectionHandler():void
{
var themecolor:String=themechanger.selectedItem as String;
Application.application.applyRuntimeStyleSheet(themecolor);
}
private function readXML():void
{

}

]]>












Green
Blue




















No comments:

Post a Comment