[AS3]how to? make stage and background unlimited

i want to make my game stageand background unlimited when when my player character moves to the right
how can i do that?
i wouldlove a sample code

btw my background is a movieclip

[FONT=“Impact”][SIZE=“7”]thanks[/SIZE][/FONT]