View Full Version : Any key to skip intro
jeffcravener
01-31-2003, 02:05 AM
I am using a MC to use as a listener to see if any keys are hit to cancel the intro...
when i test it in Flash it works fine...when i try it in the flash player it works fine...but when i try it in the browser, it does not..
any suggestions?
Thanks,
Jeff
www.eljefestudios.com
CyanBlue
01-31-2003, 02:26 AM
Howdy... :)
Um... Why don't you show us what script you have in that listener??? Oh... If you are using isDown(), try getCode() instead to see if that solves the problem... :)
agent81
01-31-2003, 04:51 AM
when flash is run in a browser it need to be clicked on once, before it can register any key presses. have a click to start button, if you want to use key presses to cancel the intro.
rallyXR
01-31-2003, 04:17 PM
I have had some luck using Selection.setFocus(instancename) to force focus directly onto a button or textbox as soon as the page renders.
jeffcravener
02-01-2003, 12:54 AM
onClipEvent (keyUp) {
if(Key.getCode() == 88 || Key.getCode() == 120) {
gotoAndStop(287);
}
}
hmmm...ok...i'll try the Selection thing...if that doesn't work i'll do the start button...thanks guys...i'll keep u posted,,,,
|
vBulletin® v3.8.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.