1 Reply Latest reply on Jul 9, 2010 3:30 AM by BrianIreland

    Optional parameters - how to specify a particular one

    BrianIreland

      Hi

       

      Im using the lineStyle function, and I want to set the miterLimit parameter, can I set it directly with something like:

       

      ui.graphics.lineStyle(1,0x000000, miterLinit:3); or do I have to add in lots of  commas like ui.graphics.lineStyle(1,0x000000,  ,  , , 3)

       

      public function lineStyle(thickness:Number =  NaN, color:uint = 0, alpha:Number =  1.0, pixelHinting:Boolean = false, scaleMode:String =  "normal", caps:String =  null, joints:String =  null, miterLimit:Number =  3):void