Index: lams_common/src/flash/com/polymercode/Draw.as =================================================================== diff -u -r3e113aa6473978d0b00137721370431add1f536a -r1435b983528064e453af4fd945b78139c5f02326 --- lams_common/src/flash/com/polymercode/Draw.as (.../Draw.as) (revision 3e113aa6473978d0b00137721370431add1f536a) +++ lams_common/src/flash/com/polymercode/Draw.as (.../Draw.as) (revision 1435b983528064e453af4fd945b78139c5f02326) @@ -62,16 +62,25 @@ y1:Number,x2:Number, y2:Number, dashLength:Number, spaceLength:Number,strokeWidth:Number,rgbHex:Number ):Void { - //trace("com.polymercode.Draw.dashTo - arguments:"+arguments.toString()); + trace("com.polymercode.Draw.dashTo - arguments:"+arguments); if ( arguments < 5 ){ trace("com.polymercode.Draw.dashTo - too few parameters."); return; } - if ( spaceLength == undefined ) + if ( spaceLength == undefined ){ spaceLength = 5; - if ( dashLength == undefined ) + } + if ( dashLength == undefined ){ dashLength = 5; + } + if ( strokeWidth == undefined ){ + strokeWidth = 1; + } + + if ( rgbHex == undefined ){ + rgbHex = 0x000000; + } //added to this target.lineStyle(strokeWidth,rgbHex);