18 lines
421 B
Plaintext
18 lines
421 B
Plaintext
on getAllUserFunctions ()
|
|
res = []
|
|
repeat with i = 1 to _movie.castlib.count
|
|
c = _movie.castlib(i)
|
|
repeat with j = 1 to c.member.count
|
|
m = c.member[j]
|
|
if m.type<>#script then next repeat
|
|
if m.scripttype=#movie then
|
|
functions = m.script.handlers()
|
|
repeat with f in functions
|
|
res.append(f)
|
|
end repeat
|
|
end if
|
|
end repeat
|
|
end repeat
|
|
return res
|
|
end
|