|
主题: 使鼠标悬停后出现的图片(或文字)透明?
|
joyty
职务:普通成员
等级:1
金币:0.0
发贴:79
|
#12003/3/25 15:26:46
我在使用行为库中的Interactive-Rollover Member Change时,实现了一种鼠标悬停后出现另一个图片(或文字)的效果。但鼠标悬停后出现的图片(或文字)根本不在stage或score上,我如何使它变成透明的呢?
|
D计划-混沌
职务:管理员
等级:6
金币:15.2
发贴:3528
|
#22003/3/26 20:12:50
on mouseEnter me mySprite.member = myRolloverMember end mouseEnter
on mouseLeave me mySprite.member = myStandardMember end mouseLeave 改为 on mouseEnter me mySprite.member = myRolloverMember mySprite.ink=36 end mouseEnter
on mouseLeave me mySprite.member = myStandardMember mySprite.ink=0 end mouseLeave
|
joewear
职务:普通成员
等级:1
金币:0.0
发贴:5
|
#32003/4/19 21:16:48
我照上面的试过了,可怎么不行呢property spriteNum property mySprite property myStandardMember property myRollovermember
on beginSprite me mySprite = sprite (me.spriteNum) myStandardMember = mySprite.member end
on mouseEnter me mySprite.member = myRolloverMember mySprite.ink=36 end mouseEnter
on mouseLeave me mySprite.member = myStandardMember mySprite.ink=0 end mouseLeave
请指教
|
yitangyitang
职务:普通成员
等级:1
金币:0.0
发贴:1
|
#42003/4/20 10:05:21
updatestage
|