Hi Guys,

I'm in the middle of our new site, part of which is drawing a line
with multiple LineSegment's.

I had a few issues with it displaying some very radom results with
high z values and so i decided to run an svn update... just in case.

Anyway now it doesnt run at all :).. well It 'works' and i can trace
out the vertex's but there is nothing visible on screen.

I believe it is to do with the recent updates to the materials, could
anything have happened to break the materials on a LineSegment, or is
there a new way i need to implement them?

This is my code:

var theWireMaterial:WireframeMaterial = new WireframeMaterial
(0xFF520E, {alpha:1, width:16});

var newLineSegment:LineSegment = new LineSegment({segments:1,
material:theWireMaterial});
newLineSegment.name = "line"+_introLineCount;
newLineSegment.start = _introLineStart;
newLineSegment.end =  _introLineEnd;
_scene.addChild(newLineSegment);

Thanks for any help

Reply via email to