Hey Krista,
Linked director movies (LDM's) do not handle keyboard input :-(
You need to have the main movie trap the keyboard events and then pass
along commands to the LDM
use something like this as your frame script in your main movie
on exitFrame me
go the frame
end
on keyDown me
if the keyCode=124 then
tell sprite(numberOfSpriteHoldingLDM) to go marker(1)
end if
if the keyCode=123 then
tell sprite(numberOfSpriteHoldingLDM) to go marker(-1)
end if
end
hth,
Rob
krista wrote:
> hello all - i am not a lingo star - here is my problem any help would be
> greatly appreciated..
>
> - so here's the thing. If i have a linked dir movie file inside my main dir
> file and have the scripts enabled - is there anyway to get the keypress in
> the linked file to work? I have added the keypress to the behaviors on the
> timeline instead of them being in a movie script inside the linked file.
> It seems it responds to the wait commands - but ignores the keypresses. This
> is driving me nutty. Any ideas? Basically ,in a perfect world, i need the
> linked file to jump around its timeline independently of the main timeline..
>
> any ideas? know what it is i am missing here?
>
> Krista
>
> [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!]