home *** CD-ROM | disk | FTP | other *** search
- property sp, mInactivo, mActivo, accion
-
- on getPropertyDescriptionList me
- m = sprite(the currentSpriteNum).member + 1
- lista = [:]
- addProp(lista, #mActivo, [#format: #bitmap, #default: m, #comment: "cast activo"])
- addProp(lista, #accion, [#format: #symbol, #range: [#web, #staff, #salir, #ayuda], #default: EMPTY, #comment: "cast activo"])
- return lista
- end
-
- on beginSprite me
- sp = me.spriteNum
- mInactivo = sprite(sp).member
- end
-
- on mouseEnter me
- sprite(sp).member = mActivo
- end
-
- on mouseLeave me
- sprite(sp).member = mInactivo
- end
-
- on mouseUp me
- case accion of
- #web:
- gotoNetPage("www.pc-actual.es")
- #staff:
- open(window("staff"))
- #salir:
- halt()
- #ayuda:
- open(window("ayuda"))
- end case
- end
-