TMX How to Acces polyline points

Hi,

just looking for a example ho to load property the polyline made in the TMX file

      var layerObjetos  = this.tileMap.objectGroupNamed('objetos');
      var line          = layerObjetos.objectNamed('path1');

this code actualy loads perfect the object path1 that contains the polyle,
but how i can acces to all points.

Thanks.

Hi guys, just resolved this way

i added these lines to CCTMXXMLParser.js line 682 to parse those options too.
in case someone want this too.

    //check for polylines
    var poly = o.getElementsByTagName('polyline')[0];
    if(poly != null)
    {
       dict["polyline"] = poly.getAttribute('points');
    }
    else
       dict["polyline"] = null;

this how looks now

Object
height: 0
name: "path1"
polyline: "0,0 141,0 141,-79 343,-80"
type: ""
width: 0
x: 7
y: 172
__proto__: Object