Draw the Play/Pause graphic : Controls : Graphics Flash / Flex / ActionScript examples


Flash / Flex / ActionScript examples » Graphics » Controls »

 

Draw the Play/Pause graphic


 
package{
    import flash.display.Bitmap;
    import flash.display.BitmapData;
    import flash.display.Sprite;
    import flash.events.Event;
    import flash.events.MouseEvent;
    import flash.filters.DropShadowFilter;
    import flash.geom.Rectangle;
    import flash.media.SoundMixer;
    import flash.utils.ByteArray;
    
    public class Main extends Sprite {
        public function Main(  ) {
            // Draw the Play/Pause graphic
            graphics.beginFill(0xcccccc);
            graphics.drawRoundRect(00201644);
            graphics.endFill(  );
            graphics.beginFill(0x333333);
            graphics.moveTo(44);
            graphics.lineTo(88);
            graphics.lineTo(412);
            graphics.lineTo(44);
            graphics.drawRect(10428);
            graphics.drawRect(14428);
            graphics.endFill(  );
            
        }
    }
}

        



Leave a Comment / Note


 
Verification is used to prevent unwanted posts (spam). .


Flash / Flex / ActionScript examples

 Navioo Graphics
» Controls