Lingo05 Behaviors

Dean's: http://www.deansdirectortutorials.com/Lingo/paramDialog.htm

说,behavior是脚本对象,就好像sound,text, image什么的一样,可以有自己的property。

Lingo的有四种脚本:Behavior,cast member script,movie script和 parent script。
Behavior是Sprite或Frame上的脚本。
Sprite有一个属性scriptInstanceList,用来保存该sprite所有的behavior instance。
Behavior之间的通信方式
1. global variable
2. sendSprite (whichSprite, #customMessage, arguments) 
3. sendAllSprites (#customMessage, arguments)
4. call (#customMessage, script, arguments

复习命令: 

addProp    property list的 

原文地址:https://www.cnblogs.com/mumuliang/p/2225513.html