This is a discussion on "any key press to go to next frame" within the Flash & Multimedia Forum section. This forum, and the thread "any key press to go to next frame are both part of the Design Your Website category.
|
|
|
|
|
![]() |
||
any key press to go to next frame
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
any key press to go to next frame
Hi, does anyone know how to make a stopped movie move on to the next frame with any key press without having a button
|
|
|
|
|||
|
Re: any key press to go to next frame
you can make an invisible button,place it anywhere off the stage and put this AS on it:
|
|
|||
|
Re: any key press to go to next frame
Here's how you do it. Add the script below to a keyframe:
var keyListener:Object = {}; keyListener.onKeyDown = function () { nextFrame ();} Key.addListener( keyListener ); I'm assuming that this works only once? So if thats the case, you must remove the key listener object after the movie has gone to the next frame. See the script below: var keyListener:Object = {}; keyListener.onKeyDown = function () { nextFrame ();} Key.addListener( keyListener ); Try it out. |
![]() |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| word press | sarwan | Starting Out | 2 | Apr 22nd, 2008 15:43 |
| Personja Press. What do you think? | TheSealPortalTeam | Website Planning | 7 | Mar 7th, 2008 15:29 |
| Asiana Press Agency | shepseskaf | Free Web Site Critique | 1 | Jan 2nd, 2008 08:34 |
| EASY PEASY Displaying frame address in another frame question | molotov | JavaScript Forum | 3 | Nov 20th, 2007 17:29 |
| [SOLVED] Word Press Issues | Jack Franklin | Scripts and Online Services | 8 | Oct 5th, 2007 06:18 |