// Hi I can't seem to pass the right instance to the function move

Make_bg() //initiate
////////////////////////////////////////////////////////////////////////////
/////////////////
function move(obj){
obj._x =obj._x +200
}
////////////////////////////////////////////////////////////////////////////
////////////////
function make_bg(){
af = 0;
bf = 1;
cf= 600;
df= 1;
ef= 600;
ff= 0;
_root.createEmptyMovieClip("bg",-2);
this.onEnterFrame= function(){
bf = bf+2;
df = df+2;

if (bf >=402){
bf = 405;
df = 405;
delete this.onEnterFrame;
move(_root.bg); ////////// why oh why, doesnt
this work.?
trace("somthing happened");
}else{
with(_root.bg){
this.moveTo(0,0);
this.beginFill( 0x0000FF, 100 );
this.lineTo(af,bf);
this.lineTo(cf,df);
this.lineTo(ef,ff);
this.endFill();
}
} }
}
////////////////////////////////////////////////////////////////////////////
//////////////////////////////
Kind regards

Řivind