Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsGeneralPHPASPPerlColdFusionFlashHTML, CSS, ScriptsBrowsers

Webmaster Forum / Flash / General Flash Topics / July 2008



Tip: Looking for answers? Try searching our database.

quiz templates keyboard navigation

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
tick tock - 19 Jul 2008 20:18 GMT
I am using CS3 and the quiz templates included. I am a beginner and would like
to set up a quiz with text entry questions and multiple choice ones.

I want the user to be able to tab to each radio button and check it with the
keyboard / text box and press a keyboard combination for check answer, reset
and move to the next question.

I know that in the access panel for each button it has 'accessibility' checked
and space to enter the keyboard shortcut. However, I believe I need to add
another script to set it up? Also, hitting return scrolls through all the
questions returning blank answers.

Can anyone help me to learn what to do. Many thanks.
Shan-Dysigns - 19 Jul 2008 22:13 GMT
You will need to set a tab order for the components by using tabIndex (example:
radioComponent1.tabIndex=1; radioComponent.tabIndex=2). If you look in the help
files of Flash for tabIndex under the action script 2 dictionary, you can read
more about tab index.
tick tock - 20 Jul 2008 11:27 GMT
Thanks

In the accessibility component for the panel I entered a number for the tab
index but on preview nothing seeming to happen? Should this be entered in
another place?

How do they 'check' it once I have got the emphasis on the right component
using tab indexing and check the answer?

Lou
Shan-Dysigns - 20 Jul 2008 15:16 GMT
When you are previewing the swf file, go to Control and click "disable keyboard
shortcuts". For some reason, this makes it work in the authoring environment.
Normally, people select using the space bar. I remember reading somewhere about
people having issues with using the radio button component and getting the
tabIndex to work properly. I'm not sure if that is still an issue.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.