Flasher Archive
[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]
Subject: | FLASH: I've got problems! No response to Key-Down events |
From: | Mike Kelly |
Date: | Wed, 3 Jan 2001 10:51:08 GMT |
Hello,
I already sent this message under a different subject name, so sorry if
you're reading it again.
The Flash 5 movie I'm making has a movie clip animation which responds to
key
down events. When I test it out using Ctrl-Enter, it responds to these
events OK. However, in an F12 preview (IE5.5) it just sits and stares at me
as I key frantically away. The same problem occurs in Netscape 4.7. I'm
playing other Flash 5 movies in both browsers with no problems, so my
plug-in is up-to-date. Any ideas what might be going on?
Here's a snippet of the relevant code.
onClipEvent (load) {
direction = 0;
}
onClipEvent (enterFrame) {
if (Key.isDown(Key.RIGHT)) {
direction = 5;
}
setProperty (_root.boystand, _x, _root.boystand._x + direction);
}
Thanks,
Mike
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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 helpchinwag [dot] com
Replies
Re: FLASH: I've got problems! No respons, Helen Triolo
[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]