Ver Mensaje Individual
  #1 (permalink)  
Antiguo 17/10/2007, 01:46
Merockito
 
Fecha de Ingreso: agosto-2007
Mensajes: 123
Antigüedad: 16 años, 8 meses
Puntos: 0
Problema con Menu en flash

tengo una web n flash que siempre a stado publicado en version 6.0 (fallo mio ) y hoy e intentando poner FLV pero me dice q tengo q cambiar en "publish settings" a 8.0.
En principio no problem, pero cuando lo hago el menu flash se vuelve loco y no ncuentro el PORQUE... os dejo aqui el codigo y una explicacion de como funciona el menu a ver si me podeis ayudar a descubrir porque empieza a parpadear una y otra vez y no responde.



-----------------------------------------------------------------
usa un .txt para determinar los nombres de los menus, la cantidad de menus desplegables en cada boton del menu y el nombre q aparece sobre cada boton


loadVariables("cromdropdown.txt", this);


// stop the menuSource from looping in the beginning and makes it invisible;
menusource.stop();
menusource._visible=false;
//disFromMenuBox is the distance from the menuBox to the first menuItem;
var disFromMenuBox=4;
//dis is the distance between the menuItems;
var dis=menuSource._height;
var menuOpen=false;
stop();


// checks if the mouse is outside of the drop down menu...and closes it;
Dx=_xmouse;
Dy=_ymouse;
Mtop=mainBox._y - ( mainBox._height )/3;
Mbott=this["menu"+ nItems]._y + this["menu" + nItems]._height+5;
Mright=this["menu"+ nItems]._x +(this["menu"+ nItems]._width +5);
Mleft=this["menu"+ nItems]._x-5;
if (Dx<Mleft or Dx>Mright or Dy<Mtop or Dy>Mbott) {
menuOpen=false;
for (var i = 1; i<=nItems; i++) {
this["menu"+i].play();
}
gotoAndStop(2);
}
//-------------------------------------------------------------------------------;
// sets the text fields in the menuItems to the value loaded from the dropdown.txt file;
for (var i = 1; i<=nItems; i++) {
this["menu"+i].textItem.textbox = this["menuT"+i];
}


gotoAndPlay("open");


-------------------------------------------------------------------------------------


El menu no lo he programado yo, es un menu de flashkit, os agradeceria enormemente si me podeis ayudar, es importante.

GRACIAS

p.d. ( si necesitais saber algo mas preguntarmelo )