主题:  如何操作?

草原战狼

职务:普通成员
等级:1
金币:0.0
发贴:15
注册:2000/12/14 15:29:44
#12000/12/15 11:19:18
请问如何操作才能在preparemovie中书写Scripte? 谢了. :confused



我是小马

职务:普通成员
等级:3
金币:17.0
发贴:794
注册:2000/11/13 14:56:59
#22000/12/15 11:49:33
不知你具体要作什么,能说得明白些吗?

on prepareMovie
statement(s)
end prepareMovie



5D精英

职务:普通成员
等级:3
金币:10.0
发贴:1340
注册:2000/10/24 12:13:42
#32000/12/15 12:23:03
on prepareMovie
statement(s)
end
Description
System message and event handler; contains statements that run after the movie preloads cast members but before the movie does the following:
Creates instances of behaviors attached to sprites in the first frame that plays.
Prepares the first frame that plays, including drawing the frame, playing any sounds, and executing transitions and palette effects.
New global variables used for sprite behaviors in the first frame should be initialized in the on prepareMovie handler. Global variables already set by the previous movie do not need to be reset.
An on prepareMovie handler is a good place to put Lingo that creates global variables, initializes variables, plays a sound while the rest of the movie is loading into memory, or checks and adjusts computer conditions such as color depth.
The go, play, and updateStage commands are disabled in an on prepareMovie handler.
Example    This handler creates a global variable when the movie starts:
on prepareMovie
    global currentScore
    set currentScore = 0
end
脚本type设为 movie