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 / Data Integration / March 2005



Tip: Looking for answers? Try searching our database.

Combo Boxes do not work?  WHY!  :-)

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
ProWebDesigns - 21 Mar 2005 13:18 GMT
Alright...  I have an issue with some combo boxes absolutely refusing to
populate in my movie.  You can visit
http://www.prowebsitedesigns.net/clients/jbock/www/cardmaker/index.htm and use
test for username and test for password.

I have three things going on.  First - There is a movie clip that ultimately
should become the combo box.  That is not working.  So - I created a combo box
component on the stage and gave it instance of theme_cb - I am using a for-loop
to populate it:

for (num = 0; num < itemtheme.length; num++)
{
        theme_cb.addItem(itemtheme, itemThemeID);
} // end of for

I am getting values from the itemtheme and itemThemeID - so I don't think that
is the issue.

So - became frustrated with that and made a third combo box and tried adding
items manually in flash.  None of the three populate with any drop-down
information period.

Someone help?
Randy1969 - 23 Mar 2005 01:29 GMT
First off, if your pulling data to populate these from an array, your not
accessing the array.

for (num = 0; num < itemtheme.length; num++)
{
theme_cb.addItem(itemtheme
, itemThemeID
);
should be:
for (num = 0; num < itemtheme.length; num++)
{
   theme_cb.addItem(itemtheme, itemThemeID);
}

if this is not the case, let me know.

Randy Poole
CIO
TelSim, Inc (http://www.telsim.com)
Randy1969 - 23 Mar 2005 01:31 GMT
Forget my last post, it seems the [ will not work right in the forum.  Have you
placed a trace inside your loop to make sure you have data in your array?

Randy Poole
CIO
TelSim, Inc (http://www.telsim.com)
 
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.