Vi posto il codice che ho scritto:
------------------------------------------------------------------------------------------
function CambioPulsanti(event:KeyboardEvent):void
{
var Numero:int = event.keyCode;
stage.addEventListener(KeyboardEvent.KEY_UP, vaiSito);
if (Numero == 97 || Numero == 49)
{
trace("Premuto tasto 1");
}
if (Numero == 98 || Numero == 50)
{
trace("Premuto tasto 2");
}
if (Numero == 99 || Numero == 51)
{
trace("Premuto tasto 3");
}
}
function vaiSito (event:KeyboardEvent):void
{
var Numero:int = event.keyCode;
if (Numero == 97 || Numero == 49)
{
trace("Vai sito 1");
}
if (Numero == 98 || Numero == 50)
{
trace("Vai sito 2");
}
if (Numero == 99 || Numero == 51)
{
trace("Vai sito 3");
}
}
stage.addEventListener(KeyboardEvent.KEY_DOWN,Camb ioPulsanti);
------------------------------------------------------------------------------------------

allora vorrei che quando premo il tasto 1 il pulsante bottone1 si metta in posizione "over" e quando rilascio il tasto 1 il file flash mi mandi ad un indirizzo ad es www.google.it
come si fa??

grazie per l'aiuto!