home *** CD-ROM | disk | FTP | other *** search
- global gListaProgramas, gEsMusica, listaFotos
-
- on mouseUp me
- numProg = PointToLine(sprite(me.spriteNum), the mouseLoc)
- if numProg = -1 then
- exit
- end if
- if sprite(me.spriteNum).member.text.line[numProg] = EMPTY then
- exit
- end if
- if gEsMusica then
- sound playFile 1, the moviePath & gListaProgramas[numProg][#ruta]
- member("nombre").text = gListaProgramas[numProg][#nombre]
- member("ruta").text = gListaProgramas[numProg][#ruta]
- else
- actualizarDatos(numProg)
- if listaFotos = [] then
- mostrarPrograma(0)
- else
- mostrarPrograma(1)
- end if
- end if
- end
-