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 / Flash Actionscript / April 2005



Tip: Looking for answers? Try searching our database.

Combo Box only accessible once

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
HGilbert/Teacher - 30 Apr 2005 19:23 GMT
I have an action script that looks at year, month and day entries, some of
which may be chosen from Combo Boxes. The first time the script calls
month.getSelectedIndex() the correct index of a selected entry is returned.
Further calls return nothing (null string), whether the user has changed the
combo box entry since or not. I have been teaching a class of 12th graders, and
all of their programs are doing the same thing, functioning only when first run.
HGilbert/Teacher - 30 Apr 2005 22:27 GMT
Whoops! I used the following code for a ComboBox 'month':

month = month.getSelectedIndex()
thereby changing Combobox month into a fixed variable!

Live and learn.
 
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.