Jean-Charles,
I think you may have misread or misunderstood my earlier message. What I stated was:

1. the correct syntax is cameraReference.removeOverlay(n), where n is an integer 
number for the overlay you would like to remove, here's example that works assuming 
there is at least one overlay:

sprite(1).camera.removeOverlay(1)

2. everywhere in Director's documentation that I found uses removeOverlay() (notice 
the paranthesis and not the brackets) *except* that one darn line of example code in 
the Lingo Dictionary that uses []

When I say "everywhere in Director's documentation" I mean that when you look in the 
Lingo dictionary entry for this command, the top level syntax examples show (), the 
Lingo pop-up menus show (), but that code example incorrectly uses []. My point here 
wasn't about you so much as it was about us (MACR), and how important one little 
documentation error can be in terms of your time (and frustration). That's all, the 
mistake is on our end and I've logged this as a documentation bug already.

So, yup, there is an incorrect line of example code in the docs, but all other methods 
of discerning the syntax AFAIK are in fact correct and show the use of ().

Cheers,
Tom


> -----Original Message-----
> From: Jean Charles Henry [mailto:[EMAIL PROTECTED]]
> Sent: Friday, September 07, 2001 9:40 AM
> To: [EMAIL PROTECTED]
> Subject: RE: <lingo-l> removeoverlay....
> 
> 
> Tom,
> 
> That is I've done......
> 
> code for the command
>           sprite(1).camera.removeoverlay[1]
> 
> Exactly the syntax shown in the dictionary.
> 
> If you have a working exemple, it will be welcome.
> 
> Thank you
> 
> Jean-Charles
> 
> -----Message d'origine-----
> De : Thomas Higgins [mailto:[EMAIL PROTECTED]]
> Envoy� : vendredi 7 septembre 2001 17:51
> � : '[EMAIL PROTECTED]'
> Objet : RE: <lingo-l> removeoverlay....
> 
> 
> 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!]
> 
> [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!]

Reply via email to