Tom,

Try stopping the program, go to the message window and type:

   clearglobals

It is possible that a single global object has been created from this 
parent script and will not be re-created until you either 
clearglobals or save the program, leave Director, and come back in. 
For example, there might be some initialization code like this:

global  gSomeObject

if voidp(gSomeObject) then
   gSomeObject = new(script "TheNameOfYourParentScript")
end if

This would only create a new instance of thhe object when the old one 
is cleared.

Another way to find out is to use the debugger.  Set breakpoints in 
the area where you have made your changes and try to step through 
them.  If you don't know how to use the debugger, you can read my 
article at:

   http://www.director-online.com/accessArticle.cfm?id=871

Irv

PS:  Please don't cross-post

At 9:52 AM +0200 9/18/02, Tom Vandenbossche wrote:
>Hi list
>
>I've got a cd from someone where I have to change things.
>the problem is that I have to change a parent script. After changing 
>some line and deleting some he still does the things I have deleted 
>and desn't do the things I have added. How come? what do i have to 
>do to make it work?
>
>Tom
>
>[To remove yourself from this list, or to change to digest mode, go 
>to http://www.penworks.com/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!]


-- 

Lingo / Director / Shockwave development for all occasions. 
          
   (Home-made Lingo cooked up fresh every day just for you.)
[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/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