Ver Mensaje Individual
  #22 (permalink)  
Antiguo 31/10/2011, 16:51
Avatar de Bandit
Bandit
Moderador
 
Fecha de Ingreso: julio-2003
Ubicación: Lima - Perú
Mensajes: 16.726
Antigüedad: 20 años, 10 meses
Puntos: 406
Respuesta: mapa interactivo a medias

Tienes que usar un poquito de sentido común.
No puedes utilizar las funciones para el botón, con el código que se pone directamente en el botón.
Este código no debería estar en el frame:
Código actionscript:
Ver original
  1. on(rollOver){
  2. mensaje.text = "Iscar";
  3. }
  4. on(rollOut){
  5. mensaje.text = "";
  6. }
El código deberías de escribirlo así:
Código actionscript:
Ver original
  1. var municipio="Íscar";
  2. var codigo="m075";
  3. this.onPress=function(){
  4.  this._parent._parent.press(this);
  5. }
  6. this.onRollOver=function(){
  7.  this._parent._parent.over(this);
  8.  mensaje.text = "Iscar";
  9. }
  10. this.onRollOut=this.onDragOut=function(){
  11.  this._parent._parent.out(this);
  12.  mensaje.text = "";
  13. }
  14. this.onRelease = function() {
  15.        getURL("http://www.elegimos.org", _blank);
  16. }
Espero haberte sido de ayuda.
__________________
Bandit.
Si no sabes estudia y si sabes enseña.
http://www.banditwebdesign.com/