Newbies in FLASH need HELP

[COLOR=#000000][FONT=verdana]Hello i would like to made a menu for a website which is a metaphor of a street visit. So when the user see the animation he have the possibility to visit a street which is a movie clip called street_mc with keyboard and mouse (so 2 way to control the visit of the street) i find the snippet in as3 in flash snippet which work nicely BUT…[/FONT][/COLOR]

[COLOR=#000000][FONT=verdana]i need to delete the up and down capabilities, so the street is visited only to right and left… also, user can’t go to x=+something and can’t go over x=-1800 i explain why : in the street_mc there’s places like theater, cinema, photographer, television etc… each place is 300px there’s always 2 places visible because flash scene is 600px and each scene have a GETurl to a particular page of the website…[/FONT][/COLOR]
[COLOR=#000000][FONT=verdana]you can see the start point here, i put different colors for each 300px places :[/FONT][/COLOR]

[COLOR=#000000][FONT=verdana]This is the snippet :[/FONT][/COLOR]

var upPressed:Boolean = false;
var downPressed:Boolean = false;
var leftPressed:Boolean = false;
var rightPressed:Boolean = false;


Street_mc.addEventListener(Event.ENTER_FRAME, fl_MoveInDirectionOfKey);
stage.addEventListener(KeyboardEvent.KEY_DOWN, fl_SetKeyPressed);
stage.addEventListener(KeyboardEvent.KEY_UP, fl_UnsetKeyPressed);


function fl_MoveInDirectionOfKey(event:Event)
{
    if (upPressed)
    {
        Street_mc.y -= 5;
    }
    if (downPressed)
    {
        Street_mc.y += 5;
    }
    if (leftPressed)
    {
        Street_mc.x -= 5;
    }
    if (rightPressed)
    {
        Street_mc.x += 5;
    }
}


function fl_SetKeyPressed(event:KeyboardEvent):void
{
    switch (event.keyCode)
    {
        case Keyboard.UP:
        {
            upPressed = true;
            break;
        }
        case Keyboard.DOWN:
        {
            downPressed = true;
            break;
        }
        case Keyboard.LEFT:
        {
            leftPressed = true;
            break;
        }
        case Keyboard.RIGHT:
        {
            rightPressed = true;
            break;
        }
    }
}


function fl_UnsetKeyPressed(event:KeyboardEvent):void
{
    switch (event.keyCode)
    {
        case Keyboard.UP:
        {
            upPressed = false;
            break;
        }
        case Keyboard.DOWN:
        {
            downPressed = false;
            break;
        }
        case Keyboard.LEFT:
        {
            leftPressed = false;
            break;
        }
        case Keyboard.RIGHT:
        {
            rightPressed = false;
            break;
        }
    }
}

[COLOR=#000000][FONT=verdana]When this is fixed i need to do exactly the same for the mouse function, i think to 2 possibilities : FIRST, i put two buttons on the left and right sides of the scene and user can control the visit with simple buttons… or i do like a kind of slideshow with the position of the mouse, when the mouse is more at the middle left of the scene there go the left and when the mouse is more to the middle of the right of the scene they go the right…[/FONT][/COLOR]

[COLOR=#000000][FONT=verdana]Someone can help me ?[/FONT][/COLOR]