Posted By


tpryan on 06/05/11

Tagged


Statistics


Viewed 46 times
Favorited by 0 user(s)

LabelDisplayCommitHandler


/ Published in: ActionScript 3
Save to your folder(s)



Copy this code and paste it in your HTML
  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


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.