Flasher Archive

[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]


Subject: FLASH: flash 5 - up key isn't recognized
From: Fortune Elkins
Date: Wed, 25 Oct 2000 16:25:06 +0100

hiya!

got my press and hold key scrolling down cold in flash 5. except that flash
doesn't seem to recognize the *up* arrow key press.

what's the error in my code? i trust y'alls eagle-eyes here...<g>

if (Key.isDown(Key.UP) == 1) {
if (_root.text.scroll<=_root.text.maxscroll) {
_root.text.scroll = _root.text.scroll-1;
}
} else if (Key.isDown(Key.UP) == 0) {
_root.text.scroll = _root.text.scroll;
}
} else if (Key.isDown(Key.DOWN) == 1) {
if (_root.text.scroll<_root.text.maxscroll) {
_root.text.scroll = _root.text.scroll+1;
}
} else if (Key.isDown(Key.DOWN) == 0) {
_root.text.scroll = _root.text.scroll;

}
else if (Key.isDown(Key.PGUP) == 1) {
_root.text.scroll = 1;
}
else if (Key.isDown(Key.PGUP) == 0) {
_root.text.scroll = _root.text.scroll;
}
else if (Key.isDown(Key.PGDN) == 1) {
_root.text.scroll = 27;
}
else if (Key.isDown(Key.PGDN) == 0) {
_root.text.scroll = _root.text.scroll;
}
endif;

tia,

fortune

----------------------------------------------------------------------------
--------------------
The views and opinions expressed in this email message are the sender's
own, and do not necessarily represent the views and opinions of Summit
Systems Inc.


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
flashforward2000 and the Flash(tm) Film Festival
November 27-29, 2000, LONDON, National Film Theatre

Produced by United Digital Artists and lynda.com
-Sponsored by Macromedia, Adobe Systems and Apple Computer
-http://www.flashforward2000.com or UK tel. +44 (0870) 751 1526
Register before November 10 and save �200
http:// www.flashforward2000.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpatchinwag [dot] com


Replies
  Re: FLASH: flash 5 - up key isn't recogn, Helen Triolo

[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]