Jean-Charles,
Here ya go, straight from the docs [1] and the Alphabetical Lingo pop-up menu in
Director:
cameraReference.removeOverlay(n)
This will remove the nth overlay from the camera's overlay list.
Cheers,
Tom
[1] I think the confusion stems from the fact that the code example shown in the
dictionary for removeOverlay uses [] instead of () (aaarrrggghhh!). But the syntax
shown at the head the definition is correct and the syntax shown in the Lingo pop-ups
is correct. But alas, that damn code example has them square brackets in there...
> -----Original Message-----
> From: Jean Charles Henry [mailto:[EMAIL PROTECTED]]
> Sent: Friday, September 07, 2001 7:29 AM
> To: [EMAIL PROTECTED]
> Subject: <lingo-l> removeoverlay....
>
>
> Hi all,
> Does someone know the exact syntax of "removeOverlay"
> function, in director
> 8.5.
>
> At each time I use it , I receive a script error message "Handler not
> found".
>
>
>
> Thank you
>
> Jean-Charles
>
> [To remove yourself from this list, or to change to digest mode, go to
> http://www.penworks.com/LUJ/lingo-l.cgi To post messages to the list,
> email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED])
> Lingo-L is for learning and helping with programming Lingo. Thanks!]
>
[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi To post messages to the list,
email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo. Thanks!]