Flasher Archive

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


Subject: FLASH: Flash preview works, HTML preview doesn't
From: Mike Kelly
Date: Tue, 2 Jan 2001 17:06:26 GMT

Hello,
The Flash 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. Any ideas what might be going on?
Thanks
M

PS 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);
}



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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


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