Posted By

tpryan on 06/05/11


Tagged


Versions (?)

LabelDisplayCommitHandler


 / Published in: ActionScript 3
 

  1. override protected function labelDisplay_valueCommitHandler(event:FlexEvent):void
  2. {
  3. //super.labelDisplay_valueCommitHandler(event);
  4. labelDisplayShadow.text = labelDisplay.text;
  5.  
  6. labelDisplay.setStyle("fontFamily","Lions Den");
  7. labelDisplay.setStyle("fontSize",40);
  8. labelDisplay.setStyle("fontWeight","normal");
  9. labelDisplay.setStyle("color",0x48250A);
  10. labelDisplayShadow.setStyle("fontFamily","Lions Den");
  11. labelDisplayShadow.setStyle("fontSize",40);
  12. labelDisplayShadow.setStyle("fontWeight","normal");
  13.  
  14. }

Report this snippet  

You need to login to post a comment.