Solved

Recognizing keystrokes from a gamepad

Posted on 2003-11-07
3
196 Views
Last Modified: 2010-04-03
Hi..

I need to be able to recognize keystrokes from a gamepad. So that when I hit a button/direction, that i can impact my movie. I'm assuming that if i find the keyvalue, maybe just using an on keypress action will do the trick, but I cannot find out what the key value is for my gamepad...

any help?
0
Comment
Question by:bradenh
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 5

Accepted Solution

by:
Calron earned 50 total points
ID: 9712929
I think that flash itself does not support the gamepad yet. YOu can use a third party tool, though that will only work if you convert your swf into an exe:

http://www.multidmedia.com/software/flashstudio/

This has joystick support, which should work for your gamepad as well.
0

Featured Post

Enroll in May's Course of the Month

May’s Course of the Month is now available! Experts Exchange’s Premium Members and Team Accounts have access to a complimentary course each month as part of their membership—an extra way to increase training and boost professional development.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This is a very simple example to help those of you who are still migrating from AS2 to AS3 understand the redesigned event model in AS3. In AS2.0, event functions (that is, the function to be performed when an event is fired) were stored as a pro…
Introduction This article is primarily concerned with ActionScript 3 and generally specific to AVM2.  Most suggestions would apply to ActionScript 2 as well, and I've noted those tips that differ between AS2 and AS3. With the advent of ActionS…
The goal of the tutorial is to teach the user how to set there setting in Adobe Flash Media Live Encoder and YouTube for optimal video and audio quality.
The goal of the tutorial is to teach the user what frame rate is, how to control it and what effect it has on the video.

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question