Custom ActionBarSkin class


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



Copy this code and paste it in your HTML
  1. package org.corlan.skins {
  2. import spark.skins.mobile.ActionBarSkin;
  3.  
  4. public class CustomActionBarSkin extends ActionBarSkin {
  5.  
  6. public function CustomActionBarSkin() {
  7. super();
  8. //backgroundActionBar is the name of the FXG file
  9. borderClass = backgroundActionBar;
  10. }
  11.  
  12. override protected function drawBackground(unscaledWidth:Number, unscaledHeight:Number):void {
  13.  
  14. }
  15. }
  16. }

URL: http://corlan.org/?p=3142

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.