Michael,

I've read your posting about five times now, but I still don't have a clue what you are asking.

But one thing I can suggest is that you recode your frame script to just be:

on exitFrame me
  go to the frame
  -- or if you prefer the new fancy/schmancy syntax:
  --_movie.go(_movie.frame)
end

While it is a nice very general thing to be able to have a single behavior that can do anything on exitFrame and/or mouseUp based on what you enter into a GetPropertyDescriptionList dialog, this is very inefficient in the long run. If you just want to have your movie stop on a frame, just write a go to the frame script. The "do" really slows things down, especially if you are just looping on a frame.

Further, it really doesn't make sense to have an "on mouseUp" handler within a frame script. I think that's just asking for trouble. In fact, this might be the cause of whatever "bubbling" you are experiencing. If a user clicks on something that does not have an "on mouseUp" handler, I believe that the event is forwarded on to the frame script, and probably not doing what you want.

Simplify and clear up everything by just having a go to the frame script on your frame.

Irv

At 3:32 PM -0500 2/23/06, Mendelsohn, Michael wrote:
Hi list...

I have a frame script that's interrupting the flow of code.  I suspect a
bubbling issue.  A swf sprite, on mouseUp, calls a parent script.  When
debugging, I can see it gets to the parent handler, but this always
occurs on a frame that has a frame script on it.

In that frame script, I have a handler:

on mouseUp(me)
  if pHandler = "mouseUp" then
    do(pDoWhat)
  end if
end

on exitFrame(me)
  if pHandler = "exitFrame" then
  -- here, pDoWhat = "_movie.go(_movie.frame)"
    do(pDoWhat)
  end if
end

The mouseUp handler grabs the code out of the parent script and
automatically into the frame script, after one step.  I think it's a
combination of a bubbling issue and the on enterFrame handler, so how
can I prevent the code from being diverted from its intended flow?

Thanks,
- Michael M.


[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!]


--

Multimedia Wrangler.
[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