PDA

View Full Version : modify graphics with vml


rmorin
06-22-2009, 04:33 AM
Hi.
In HTML can build graphics with vml.
but i need modify attibutes of vml, exactly "points". I call the next function

in Body

<vml:polyline points='10 0 10 0' id='rect'>


script in head
function change_color()
{
rect.strokecolor='#00ff00'
}

this work, this script change color of the graphic.But this script not works

script in head
function change_color()
{
rect.point='20, 30, 40, 30';
}

do you can help my?

Sorry for may bad english