TrevPage
07-27-2004, 01:07 PM
I'm a bit stuck (and have been trying all sorts of things all morning) - any help would be appreciated.
I have a GIF image that is my background (with some transparent space).
In front of this, I am trying to draw some curves from co-ordinates as defined by an ASP page. The importation of data is working ok, and the curve is drawn. However, I am only able to see the curve between the transparent parts of the GIF.
I've tried all manner of things (e.g. swapDepths(xx) ), but am unable to bring my curve to the foreground.
My code for drawing the curves is:
for(y=1;y<=routes;y++)
{
templigne="ligne"+y;
this.createEmptyMovieClip(templigne, y);
with (this.templigne)
{
this.swapDepths(1);
lineStyle(1);
moveTo(eval("xdep"+y), eval("ydep"+y));
curveTo(150, 150,eval("xarr"+y), eval("yarr"+y))
}
}
Any thoughts on what I might be doing wrong? Or what I might try next?
Many Thanks
Trevor
I have a GIF image that is my background (with some transparent space).
In front of this, I am trying to draw some curves from co-ordinates as defined by an ASP page. The importation of data is working ok, and the curve is drawn. However, I am only able to see the curve between the transparent parts of the GIF.
I've tried all manner of things (e.g. swapDepths(xx) ), but am unable to bring my curve to the foreground.
My code for drawing the curves is:
for(y=1;y<=routes;y++)
{
templigne="ligne"+y;
this.createEmptyMovieClip(templigne, y);
with (this.templigne)
{
this.swapDepths(1);
lineStyle(1);
moveTo(eval("xdep"+y), eval("ydep"+y));
curveTo(150, 150,eval("xarr"+y), eval("yarr"+y))
}
}
Any thoughts on what I might be doing wrong? Or what I might try next?
Many Thanks
Trevor