Phenome
November 24th, 2010, 13:37
This should probably be an easy task
I have a windowclass with an 'external' .lua script.
One of my windowcontrols is a drop target, and has an inline function like so:
function onDrop(x,y,dragdata)
(...)
end
I'd like to access my parent (windowclass) script scope, so I can call functions.
I tried DB.findNode('..') which even if it did find the node (and it doesn't), I probably wouldn't be able to access its functions. Any ideas? Thanks
I have a windowclass with an 'external' .lua script.
One of my windowcontrols is a drop target, and has an inline function like so:
function onDrop(x,y,dragdata)
(...)
end
I'd like to access my parent (windowclass) script scope, so I can call functions.
I tried DB.findNode('..') which even if it did find the node (and it doesn't), I probably wouldn't be able to access its functions. Any ideas? Thanks