/ Published in: ActionScript 3
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
// Draw a slider marker looks like a square with a triangle on top of it, seamlessly connected var s:Sprite = new Sprite(); s.graphics.lineStyle(1,0x333333,1,true,'none'); s.graphics.moveTo(4,0); s.graphics.lineTo(0,4); s.graphics.lineTo(0,11); s.graphics.lineTo(8,11); s.graphics.lineTo(8,4); s.graphics.lineTo(4,0); addChild(s);