Initial data commit
This commit is contained in:
parent
72d218235f
commit
f23f22d71c
199087 changed files with 3378941 additions and 0 deletions
17
Task/Call-a-function/Lingo/call-a-function-10.lingo
Normal file
17
Task/Call-a-function/Lingo/call-a-function-10.lingo
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
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
|
||||
Loading…
Add table
Add a link
Reference in a new issue