Posted By

mcorlan on 08/26/11


Tagged

bar action mobile Flex


Versions (?)

Custom ActionBarSkin class


 / Published in: ActionScript 3
 

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

  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. }

Report this snippet  

You need to login to post a comment.