Ask a Question related to Macromedia Director Lingo, Design and Development.
-
Anthony #1
Help with left arrow down & right arrow down
Hi all,
I am creating a presentation in Director MX, and need to program the right
arrow key to advance to next marker, and the left arrow key to go to
previous marker.
Any help would be appreciated
Thanks
Anthony
Anthony Guest
-
Net::telnet and R arrow
Im retrieving information from our telnet server , which it displays a page at a time . The on -screen prompt is "press L or R arrow for more" ... -
Highlight Row with Up/Down Arrow
I would like to highlight a datagrid row with the up/down movement of the arrow keys. I already have row highlight working with MouseOver. Is... -
How to add an Arrow ?
How to add an "arrow" by using the Line Tool ? InDesign CS Windows Thanks Henrik -
Arrow navigation (like Mac)
I am attempting to build a navigation system that features an arrow on the left pointing horizontal. Upon click, the arrow turns 90 degrees CW... -
The Arrow in the Menus
http://www.chz.com/zion/zionmenu.htm The above URL is the reference for my questions. In the ABOUT and COMMUNITY menu and others, there is an... -
Rob Dillon #2
Re: Help with left arrow down & right arrow down
Hi Anthony,
on keyDown
if the keyCode = 123 then go next
if the keyCode = 124 then go previous
end
--
Rob
_______
Rob Dillon
Team Macromedia
[url]http://www.ddg-designs.com[/url]
412-243-9119
[url]http://www.macromedia.com/software/trial/[/url]
Rob Dillon Guest
-
Anthony #3
Re: Help with left arrow down & right arrow down
Hi Rob,
Thanks for quick response,
How do I identify what the code for the Right & left arrow keys are?
Thanks
Anthony
"Rob Dillon" <rob@ddg-designs.com> wrote in message
news:120920031336338116%rob@ddg-designs.com...> Hi Anthony,
>
> on keyDown
> if the keyCode = 123 then go next
> if the keyCode = 124 then go previous
> end
>
> --
> Rob
> _______
> Rob Dillon
> Team Macromedia
> [url]http://www.ddg-designs.com[/url]
> 412-243-9119
>
> [url]http://www.macromedia.com/software/trial/[/url]
Anthony Guest
-
Robert Tweed #4
Re: Help with left arrow down & right arrow down
"Anthony" <asquires@sarcmedia.com> wrote in message
news:bjtcg6$cn8$1@forums.macromedia.com...[url]http://www.macromedia.com/support/director/ts/documents/keycodes.htm[/url]>
> How do I identify what the code for the Right & left arrow keys are?
- Robert
Robert Tweed Guest
-
Anthony #5
Re: Help with left arrow down & right arrow down
hi,
Here is the code i typed at the end of first slide:
Holds the slide till action is taken
on exitFrame
go to the frame
end
Checks for key pressed
on keyDown
if the keyCode = 123 then go next
if the keyCode = 124 then go previous
end
I ran the movie, and nothing happend when i pressed right arrow or left
arrow
key. Did not advance to next marker or previous.
What am I doing wrong, seems pretty simple. This is a first time in using
Key Codes for me.
Thanks
Anthony
----- Original Message -----
From: "Robert Tweed" <robert@killingmoon.com>
Newsgroups: macromedia.director.lingo
Sent: Friday, September 12, 2003 2:45 PM
Subject: Re: Help with left arrow down & right arrow down
> "Anthony" <asquires@sarcmedia.com> wrote in message
> news:bjtcg6$cn8$1@forums.macromedia.com...>> >
> > How do I identify what the code for the Right & left arrow keys are?
> [url]http://www.macromedia.com/support/director/ts/documents/keycodes.htm[/url]
>
> - Robert
>
>>
Anthony Guest
-
Robert Tweed #6
Re: Help with left arrow down & right arrow down
"Anthony" <asquires@sarcmedia.com> wrote in message
news:bjtgn8$itm$1@forums.macromedia.com...There is nothing wrong with any of the above. Where did you put the code? If>
> I ran the movie, and nothing happend when i pressed right arrow or left
> arrow
> key. Did not advance to next marker or previous.
> What am I doing wrong, seems pretty simple. This is a first time in using
> Key Codes for me.
you put it all in your frame script, and span that script across all the
frames in your movie, it should work fine. Other than that, perhaps you have
no markers?
There is definitely nothing wrong with the key script (although the keys
appear to be the wrong way round). If in doubt, try something you know -
i.e., put a mouseDown script in the same place and see if that works.
- Robert
Robert Tweed Guest
-
Robert Tweed #7
Re: Help with left arrow down & right arrow down
"Anthony" <asquires@sarcmedia.com> wrote in message
news:bjtgn8$itm$1@forums.macromedia.com...The only other thing I can think of is that you might have another keyDown>
> What am I doing wrong, seems pretty simple.
handler that overrides the one you want to work, or you have something like
an editable text field trapping the key events.
- Robert
Robert Tweed Guest
-
hairybobby webforumsuser@macromedia.com #8
Re: Help with left arrow down & right arrow down
and if you've forgotten the page robert has posted for keycodes then to check what a keycode for a particular key is then try
on keydown me
put the keycode
end
the result will appear in the message window
HAIRYBOBBY - why didn't I choose a really cool name like the vulcanpimp
[url]http://www.geocities.com/hairybobby2000[/url]
Photography section
[url]http://www.geocities.com/hairybobby2000/px1.html[/url]
Photoshop section
[url]http://www.geocities.com/hairybobby2000/photo1.html[/url]
hairybobby webforumsuser@macromedia.com Guest
-
hairybobby webforumsuser@macromedia.com #9
Re: Help with left arrow down & right arrow down
placing the code in the framescript rather than a behavior may be the problem. A ramescript should always capture keys.
HAIRYBOBBY - why didn't I choose a really cool name like the vulcanpimp
[url]http://www.geocities.com/hairybobby2000[/url]
Photography section
[url]http://www.geocities.com/hairybobby2000/px1.html[/url]
Photoshop section
[url]http://www.geocities.com/hairybobby2000/photo1.html[/url]
hairybobby webforumsuser@macromedia.com Guest



Reply With Quote

