#12001/2/13 13:57:37
我写了如下的函数用于记录用户访问过得屏幕,向全局变量列表中加入当前位置的frame和moviename。
on AddLocationInfo
global gHistory_List--说明全局变量
set frame_movie=[#theframe:frame(),#themovie:chars(the moviename,1,length(the moviename)-4)]
--取得当前位置信息
append(gHistory_list,frame_movie)--加入列表尾部
if count(gHistory_list)>3 then --确定列表大小
deleteAt(gHistory_List,1)
end if
end
在帧中用go to the frame停止。我该如何触发它,还是我不该用这种方法。
麻烦大侠们指教。