Ayuda con la activación de script con un evento de ratón en un frame usando macromedia director

Hola,
perdona que te moleste de nuevo pero tengo otra consulta
he visto en el tablon como hacer textos help sobre el mouse, todo funciona bien menos cuando creo el proyector si voy al frame ya esta activado, tienes que pasar una primera vez el raton para que se active el scrip
cuando guardo el fichero y lo vuelvo a abrir el canal ya no es invisible,

1 Respuesta

Respuesta
1
Ponme el codigo ese que lo corrijo.
on mouseEnter me
set n=the name of the member of sprite the currentSpriteNum
member(n).color=rgb(51,51,102)
sprite(150).visible=true
cursor 280
end
on mouseLeave me
set n=the name of the member of sprite the currentSpriteNum
member(n).color=rgb(255,255,255)
sprite(150).visible=false
cursor -1
end
on mouseUp me
puppetSound 3, member "Utopía-Cerrar"
cursor -1
set n=the name of the member of sprite the currentSpriteNum
member(n).color=rgb(255,255,255)
set m=the framelabel
set m=chars(m,1,length(m)-3)
set m=m&".pdf"
goToNetPage m
end
Este código no es mio, ni mucho menos. Yo no programo así.
Si entiendo bien tu problema creo que con esto se soluciona.
On beginsprite me
sprite(150).visible=false
end
on mouseEnter me
set n=the name of the member of sprite the currentSpriteNum
member(n).color=rgb(51,51,102)
sprite(150).visible=true
cursor 280
end
on mouseLeave me
set n=the name of the member of sprite the currentSpriteNum
member(n).color=rgb(255,255,255)
sprite(150).visible=false
cursor -1
end
on mouseUp me
puppetSound 3, member "Utopía-Cerrar"
cursor -1
set n=the name of the member of sprite the currentSpriteNum
member(n).color=rgb(255,255,255)
set m=the framelabel
set m=chars(m,1,length(m)-3)
set m=m&".pdf"
goToNetPage m
end

Añade tu respuesta

Haz clic para o

Más respuestas relacionadas