4.对着按钮“enter button”点击右键,在弹出的选项中选“properties”,在“instance properties”的actions选项中设置按钮的脚本为: On(Press) If("user1" eq username and "enter" eq pswd) Go to and Stop (2) Else If("user2" eq username and "abracadabra" eq pswd) Go to and Stop(3) Else Go to and Stop(4) End If End On 如图2所示;