传入一个director给下面的函数就可以了,有个建议在清空之前要确定要不要设置director到time=0的时刻。
sub cleandirector(td as director)
dim temp_array as array[channel]
td.GetAnimationChannels(temp_array)
for i=0 to temp_array.ubound
temp_array[i].delete
next
end sub
传入一个director给下面的函数就可以了,有个建议在清空之前要确定要不要设置director到time=0的时刻。
sub cleandirector(td as director)
dim temp_array as array[channel]
td.GetAnimationChannels(temp_array)
for i=0 to temp_array.ubound
temp_array[i].delete
next
end sub