Home Tutorials Forums Articles Blogs Movies Library Employment Press
Old 04-08-2006, 06:02 PM   #1
Registered User
Join Date: Apr 2006
Posts: 1
Default Using keyboard to advance to next scene (Flash)

Hello everyone,

I'm curious about actionscripting that would give a user keyboard control in a Flash exe file. I'm creating a presentation where I want the user to be able to advance to the next scene by using the space bar or the forward arrow key... basically so they can control the movement of the piece. If I'm creating an .exe file to be shown full screen, and I want the user to be able to advance to the next scene on their cue, is there actionscripting that would allow them to do this?? I'm experienced in Flash but new on the road of actionscripting.

Any help would be appreciated.

kyled714 is offline   Reply With Quote
Old 04-09-2006, 12:38 PM   #2
(@_@) -("pretty lights")
Ricod's Avatar
Join Date: Sep 2001
Location: the Netherlands
Posts: 3,982

Welcome to AS[org] !

You can use the keyboard to input commands. If you open the helpfile in Flash, you can find info on the Key class in the actionscript dictionary, along with methods, examples and such. You can also search the forums. There have been many posts about keys and a lot have full examples, explanations and such. When you get stuck, you can just ask around here.
Link ?
Ricod is offline   Reply With Quote
Old 04-09-2006, 01:01 PM   #3
Join Date: Jan 2006
Posts: 91

basicially this....

on the frame of each slide put stop(); as the code, and then on a moviec;lip in each frame put...

onClipEvent(enterFrame) {if(Key.isDown(Key.SPACE)) {_root.play();}}
daperson is offline   Reply With Quote
Old 04-11-2006, 06:59 PM   #4
A.I is so cool
gogole's Avatar
Join Date: Feb 2006
Location: Ghana
Posts: 54

that's is actually it:
onClipEvent(enterFrame) {
if(Key.isDown(Key.SPACE)) {
gogole is offline   Reply With Quote

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Flash Encrypt 1.2 Released. SIntrix General Chat 14 04-21-2005 09:02 PM
Photo Gallery Using XML and Flash Question - Auto advance images? caslon1975 ActionScript 2.0 1 04-08-2005 05:15 PM
call particular scene of a flash movie from a html page on page refresh designmagic HTML and JavaScript 0 12-09-2004 11:24 AM
Flash goto scene from "combination lock" IdiotXOZ Simple Stuff (Newbies) 1 01-15-2002 11:44 PM
Beginning a Flash movie with a scene other than the first scene of the movie? syrinia Simple Stuff (Newbies) 5 05-09-2001 02:22 PM

All times are GMT. The time now is 07:49 PM.

Follow actionscriptorg on Twitter


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.