Hi Blake...

I'm not quite sure what you mean by your wording, but...

The goToNextFrame handler should be in a movie script in the cast; don't
put it in a frame script in the score.  If I'm understanding this
correctly, and you have both handlers in the same place, it would take
amazing finger reflexes to get the mouse to do to the goToNextFrame
handler before the exitFrame handler.  Your on exitFrame handler just
keeps the marker in the same place, and within the flash sprite, the
getURL(lingo: command sends a message directly to any movie script that
has that handler name.

Another alternative is to make a behavior and put the goToNextFrame in
the behavior, and put the behavior on the flash sprite and then within
flash, say getURL("event: goToNextPage");.  If that doesn't work, try
this:  Make a global variable like such:
On startMovie
gGoAhead = FALSE
End

Then, in a behavior, you can say getURL("event: proceed"); and do
something like this:

-- in behavior
On proceed
        -- when the behavior gets the message from the Flash sprite...
        gGoAhead = TRUE
End

...and finally:
On exitFrame
 if gGoAhead = TRUE then
        go next
 Else if gGoAhead = FALSE then
        Go to the frame
End if

Hope that helps.
- Michael M.




I added everything to the file and it works as long as the hold script 
isn't in the frame script with the
On goToNextFrame script. However, I need to keep the hold script in 
with the goToNextFrame.
I currently have it like this:

On goToNextFrame
   go next
end

on exitFrame me
   go to the Frame
end

however it just keeps looping in that frame in director and ignores the 
go next....How do I fix this?

Thanks

Blake

On Nov 24, 2003, at 12:58 PM, Mendelsohn, Michael wrote:

> Blake...
>
> At the end of your Flash timeline, put a line of code in the last
> frame:
> getURL("lingo:goToNextFrame");
>
> Then, in Director, in a movie script, have this handler:
>
> On goToNextFrame
>  go next
> End
>
>
>
> - MM
>
> [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!]
>


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


[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