# API level

**URL:** <https://forum.kirupa.com/t/api-level/145920>\
**Category:** Uncategorized\
**Created:** [April 26, 2005, 10:10pm UTC](https://forum.kirupa.com/t/api-level/145920 "2005-04-26T22:10:09Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![vintage](https://avatars.discourse-cdn.com/v4/letter/v/e68b1a/32.png) [@vintage](https://forum.kirupa.com/u/vintage)\
**Post date:** [April 26, 2005, 10:10pm UTC](https://forum.kirupa.com/t/api-level/145920/1 "2005-04-26T22:10:09Z")

</div>

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 😃  
Thx allready
