home *** CD-ROM | disk | FTP | other *** search
- property p.speakerSpr,p.audioList
-
-
- on exitframe me
- if the spriteNum of me <0 then --only if it's a frame script
- animateSpeaker p.speakerSpr,value(p.audioList)
- end if
- end
-
-
- on mouseUp me
- if the spriteNum of me >0 then --only if it's a sprite script
- animateSpeaker p.speakerSpr,value(p.audioList)
- end if
- end
-
-
-
- on getPropertyDescriptionList
- set description=[:]
- addProp description,#p.speakerSpr,[#default:117,#format:#integer,#comment:"Enter speaker's sprite:"]
- addProp description,#p.audioList,[#default:"",#format:#string,#comment:"Enter audio list:"]
- return description
- end