Hi Eric, Where do you have the mouseEnter executing? Is it in the LDM if so then that is a problem. Unfortunately both mouseEnter and Leave don't respect LDM scope. They target the stage with their events instead of keeping within the LDM. This is a known issue that will hopefully get fixed some day. It would make life a lot easier. In the mean time you will have to flag the enter or leave in the behaviour and then during an enterframe test for the flag and execute your code there.
Also another tidbit is that if you don't have a mouseDown or mouseup event attached to a sprite somewhere in the current LDM frame then mouse events won't get trapped in the LDM, I usually have a persistent dummy sprite around to deal with this. So if you start with sprites with no behaviours you'll never be able to attach anything dynamically that depends on mouse events. hth, Rob 08/02/2003 3:06:43 AM, "Eric Greene" <[EMAIL PROTECTED]> wrote: > >I'm trying to import a Director file by using 'Link to External File', >but am not having any success. The behavior scripts in the LDM won't >run. I've made sure 'Enabled Scripts' is on in the property inspector. > >The LDM is a Director movie that has two simple Parent Scripts and some >sprites. When the mouse activates the 'on mouseEnter' or 'on mouseUp' >handlers, the sprites call new child objects that attach themselves to >the sprites and de-attach themselves once they are done. Everything >works fine in the original movie, but when I put it as an LDM in another >movie the behaviors do not run. > >Is it not possible to do this? > > > >[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 lingo- [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/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!]
