Return to Snippet

Revision: 14475
at June 5, 2009 03:12 by sidneydekoning


Initial Code
// 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);

Initial URL

                                

Initial Description

                                

Initial Title
Draw a Arrow Marker (For a slider or map)

Initial Tags

                                

Initial Language
ActionScript 3