Hi,
I'm having problems with calling ActiveX controls within Director. As an example if the following are called from Director:
e.g.
sprite(1).Refresh()
-- This works with Microsoft MonthView Control 6.0
Set tempVariable = HitTest(sprite 1, 1 )
-- Same control but calling a function with 2 parameters and returning a
string. THIS KEEPS SAYING "SCRIPT ERROR - HANDLER NOT DEFINED"
However if I add a third parameter it seems to work?
(e.g. HitTest(sprite 1, 1, 1 ) )
Seems like you can call methods that don't take parameters but you can't call methods with parameters?!?!?
Any articles on ActiveX in Macromedia Director appreciated in helping with this.
Also anything on how you can create your own Xtra controls?
Thx in advance,
Mike
I'm having problems with calling ActiveX controls within Director. As an example if the following are called from Director:
e.g.
sprite(1).Refresh()
-- This works with Microsoft MonthView Control 6.0
Set tempVariable = HitTest(sprite 1, 1 )
-- Same control but calling a function with 2 parameters and returning a
string. THIS KEEPS SAYING "SCRIPT ERROR - HANDLER NOT DEFINED"
However if I add a third parameter it seems to work?
(e.g. HitTest(sprite 1, 1, 1 ) )
Seems like you can call methods that don't take parameters but you can't call methods with parameters?!?!?
Any articles on ActiveX in Macromedia Director appreciated in helping with this.
Also anything on how you can create your own Xtra controls?
Thx in advance,
Mike