Flash game bosses

Can anyone help with making bosses in a game?? I want it to stay on screen instead of go from one end to the other and fire randomly. Does anyone have any experience with this kind of thing??