Flash game, simlilar to Zelda

I am making a game with actionscript and i am quite new to this, although i learn quickly.
My problem is i’m looking for a specific way of linking 1 scene or .swf to another. Basicly what i want is so when the sprite walks into the wall, it takes you to the next screen/.swf. Also so walking into a door links you into a house etc.

Any help would be much obliged.

Thanks again