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的 

相关文章:

  • 2021-07-01
  • 2022-12-23
  • 2021-09-26
  • 2022-12-23
  • 2021-12-26
  • 2021-04-18
  • 2022-02-13
  • 2021-08-09
猜你喜欢
  • 2021-07-20
  • 2022-12-23
  • 2022-03-07
  • 2021-12-25
  • 2021-08-15
  • 2022-12-23
  • 2022-02-10
相关资源
相似解决方案