API level

I have a little problem with drawing api.
when i want to do stuff with drawing api the “lines” are not showing, i tried different settings with the level and color, but it just wont show.
i guess there is something i dont do right but i dont know what.
Maybe u guys see what im doing wrong ?
this is what i use, i used this code in a movie clip, but also on the main movie, and neither shows the “lines”

this.onEnterFrame = function() {
//de posities bepalen van mn bewegende mc
bx = beweegding._x;
by = beweegding._y;
bx2 = beweegding2._x;
by2 = beweegding2._y;
//etc
_root.createEmptyMovieClip(“poot”, 1);
poot.clear();
poot.lineStyle(1, 0xFFFF00, 1);
poot.beginFill(0xABCDEF, 50);
poot.moveTo(bx, by);
poot.lineTo(bx2, by2);
//etc
poot.endFill();
}

if people understand my bad english please answer me :smiley:
Thx allready