|  | 主题:  一个有用的程序,请各位高手帮忙解释一下 | 
            
                        
                
                    |  268
 职务:普通成员
 等级:1
 金币:0.0
 发贴:124
 注册:2001/5/14 17:21:35
 
 | 
                            
                            #12004/4/12 9:24:20 
                                一个有用的程序,请各位高手帮忙解释一下。程序如下:global gCurrentMovieglobal gMovieList
 
 on mousedown
 puppetsound 2,0
 
 if marker(0)=marker(-1) then       --no more marker before the current frame
 if gCurrentMovie>1 then          --not the first movie
 go "end" of movie getat(gMovieList,gCurrentMovie-1)
 end if
 else
 go previous
 end if
 
 end
 
 
 这是第二个程序:
 global gCurrentMovie
 global gMovieList
 on exitframe
 if gCurrentMovie<gMovieList.count then
 go movie getat(gMovieList,gCurrentMovie+1)
 else
 go the frame
 end if
 end
 
 on mousedown
 if gCurrentMovie=gMovieList.count then
 halt
 end if
 end
 
 
 第三个程序::
 on mouseUp
 sprite(34).loch=13
 sprite(33).loch=-13
 updatestage
 continue
 end
 on mouseEnter
 cursor 280
 end
 on mouseLeave
 cursor -1
 end
 
 请大家帮忙解释一下,同时公布于众,大家一起使用啊,我是学美术的,对lingo语言只是略知一二,多谢各位。
 
 | 
                        
                
                    |  我是小马
 职务:普通成员
 等级:3
 金币:17.0
 发贴:794
 注册:2000/11/13 14:56:59
 
 | 
                            
                            #22004/4/12 9:56:08 
                                呵呵,看不出有什么用处
                                
                                
                                
                             | 
                        
                
                    |  268
 职务:普通成员
 等级:1
 金币:0.0
 发贴:124
 注册:2001/5/14 17:21:35
 
 | 
                            
                            #32004/4/12 10:20:14 
                                还是请斑竹帮忙解释一下行不,我有些不懂啊 !谢谢!
                                
                                
                                
                             | 
                        
                
                    |  escher
 职务:普通成员
 等级:1
 金币:0.0
 发贴:1
 注册:2004/4/12 23:07:31
 
 | 
                            
                            #42004/4/13 0:23:19 
                                第三个程序::on mouseUp
 sprite(34).loch=13
 sprite(33).loch=-13
 updatestage
 continue
 end
 on mouseEnter
 cursor 280
 end
 on mouseLeave
 cursor -1
 end
 
 请大家帮忙解释一下,同时公布于众,大家一起使用啊,我是学美术的,对lingo语言只是略知一二,多谢各位。
 [/quote]
 我只懂幾個
 global___系指全区变数
 第三个程序::
 on mouseUp
 sprite(34).loch=13____sprite34往右13个点
 sprite(33).loch=-13____sprite33往左13个点
 updatestage___此命令实现对舞台的实时更新,而通常舞台的更新是在帧间转换过渡时进行的.它可以实现重绘精灵;执行转换;播放音乐;发送prepareframe消息(影响电影脚本和行为脚本);发送stepframe 消息(影响actorlist).
 continue
 end
 on mouseEnter
 cursor 280___变更鼠标指令
 end
 on mouseLeave
 cursor -1___恢复鼠标指令
 end
 | 
                        
                
                    |  268
 职务:普通成员
 等级:1
 金币:0.0
 发贴:124
 注册:2001/5/14 17:21:35
 
 | 
                            
                            #52004/4/13 16:24:38 
                                谢谢,有谁知道第1和2个是什么意思啊,帮帮忙啊,在这里小生感激不尽 啊
                                
                                
                                
                             | 
                        
                
                    |  268
 职务:普通成员
 等级:1
 金币:0.0
 发贴:124
 注册:2001/5/14 17:21:35
 
 | 
                            
                            #62004/4/13 16:26:39 
                                关键是 这三个程序是如何使用,用在什么时候和位置,再次谢谢各位了啊 我是学美术的,对这个不是很了解啊!
 多谢各位!!
 |