hello,
I would like to create a rectangle in black, cutted in a corner, where
there is some text instead.
so I have this code:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE canvas SYSTEM 'lzx.dtd'>
<canvas bgcolor="beige" width="700" height="500">
<text x="30" y="5" id="titre"></text>
<drawview>
<method event="oncontext">
this.lineWidth=5;
this.rect(10,10,680,480,5);
this.stroke();
this.beginPath();
this.moveTo(25,10);
this.lineTo(75,10);
this.strokeStyle="beige";
this.stroke();
titre.setText("hello");
</method>
</drawview>
</canvas>
but while compiling into flash10, the text "hello" is hidden by the
short line described from "this.beginPath()" to "this.stroke()".
strange, because the text is placed after the short line.
can you help me?
olivier.
___________________________________________________________________________
Yahoo! Mail réinvente le mail ! Découvrez le nouveau Yahoo! Mail et son interface révolutionnaire.
http://fr.mail.yahoo.com