home *** CD-ROM | disk | FTP | other *** search
- on mouseUp
- global cod, nom, color, color1, tama├▒o1, pulsado2, pulsado3
- set the visible of sprite 7 to 1
- set the locV of sprite 7 to the locV of sprite the clickOn + 7
- set the locH of sprite 7 to the locH of sprite the clickOn - 7
- set pulsado2 to the locV of sprite the clickOn + 7
- set pulsado3 to the locH of sprite the clickOn - 7
- set col1 to integer(color1)
- set tam1 to integer(tama├▒o1)
- set color to "principal1"
- if color = "principal1" then
- set the foreColor of field "sel" to col1
- set the textSize of member "sel" to tam1
- set the foreColor of field "principal0" to col1
- set the textSize of member "principal0" to tam1
- set the foreColor of field "demoss" to col1
- set the textSize of member "demoss" to tam1
- set the foreColor of field "gua" to col1
- set the textSize of member "gua" to tam1
- end if
- set cod to "ap"
- set nom to the text of field "principal1"
- set nom to char 3 to length(nom) of nom
- put nom into field "laplicacion"
- put "Aplicaci├│n Principal" into field "eltema"
- set the visible of sprite 12 to 1
- set the visible of sprite 13 to 1
- seleccionar(cod, nom)
- cursor(0)
- end
-
- on mouseEnter
- global color11, tama├▒o11
- set col11 to integer(color11)
- set tam11 to integer(tama├▒o11)
- set the foreColor of field "principal1" to col11
- set the textSize of member "principal1" to tam11
- cursor(280)
- end
-
- on mouseLeave
- global color, color1, tama├▒o1
- set col1 to integer(color1)
- set tam1 to integer(tama├▒o1)
- if color = "principal1" then
- set the foreColor of field "sel" to col1
- set the textSize of member "sel" to tam1
- set the foreColor of field "principal0" to col1
- set the textSize of member "principal0" to tam1
- set the foreColor of field "demoss" to col1
- set the textSize of member "demoss" to tam1
- set the foreColor of field "gua" to col1
- set the textSize of member "gua" to tam1
- else
- set the foreColor of field "principal1" to col1
- set the textSize of member "principal1" to tam1
- end if
- cursor(0)
- end
-