/ Published in: ActionScript 3
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
var _arrow:Shape = new Shape(); _arrow.graphics.lineStyle(1, Colors.WHITE); _arrow.graphics.beginFill(Colors.GREY, 1); _arrow.graphics.moveTo(0, 0); _arrow.graphics.lineTo(0, 0); _arrow.graphics.lineTo(10, 0); _arrow.graphics.lineTo(5, 7); _arrow.graphics.endFill(); addChild(_arrow);