Flash Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsWeb DesignFlash Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old July 7th, 2003, 12:13 PM
mckracken83 mckracken83 is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2003
Posts: 8 mckracken83 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
FComboBox problem

can anyone tell me why, by using this code, no items are being added to my combo boxes? they appear totally disabled - no arrow button, no items, etc. do i need to set some property that enables the combo box and allows me to add items to it?

clip.attachMovie("FComboBox", "FComboBox_cb", 2);
clip.FComboBox_cb._y = 100;
clip.FComboBox_cb.setEnabled(true);
for (k=0; k<mainTag.childNodes[i].childNodes[j].childNodes.length; k++) {
if (mainTag.childNodes[i].childNodes[j].childNodes[k].nodeName == "QuestionChoiceID") {
QuestionChoiceID = mainTag.childNodes[i].childNodes[j].childNodes[k].firstChild.nodeValue;
} else if (mainTag.childNodes[i].childNodes[j].childNodes[k].nodeName == "QuestionChoiceDesc") {
QuestionChoiceDesc = mainTag.childNodes[i].childNodes[j].childNodes[k].firstChild.nodeValue;
}
}

clip.FComboBox_cb.addItem(QuestionChoiceDesc, QuestionChoiceID);

Reply With Quote
  #2  
Old July 9th, 2003, 05:07 PM
1ain 1ain is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2003
Location: Bath
Posts: 26 1ain User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Exclamation bit of a flaming

this is verging on double-posting. i responded to your most recent on the subject.

please try to keep your posts on the same subject under the same thread.


Reply With Quote
  #3  
Old September 1st, 2003, 03:29 AM
rgravina rgravina is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2003
Posts: 1 rgravina User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
same problem!

I have been having exactly the same problem - a combo box or list box, does not update when I use addItem() at runtime (regardless if I added the compoent at design time or runtime), but will execept design time values only (which is useless). I find that it only happens sometimes, which is expremeemly annoying, but can't figure out why.

Does anyone have any ideas?

Reply With Quote
  #4  
Old October 29th, 2003, 03:22 PM
ryanshaug ryanshaug is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2003
Posts: 1 ryanshaug User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Possible solution...

I had a problem like this. The Combo Box seemed to be populating correctly, but when I went to press the "drop down" button, nothing would happen - I couldn't see any of the items in the combo box except the first one (0 index).

My movie had multiple levels with one movie loaded into each level. Some movies had combo boxes - and the combo boxes were assigned individually to each movie's library.

In order to fix the problem, I changed the linkage of the combo box to a different name (for example, FComboBoxSymbol2) and then in the class definition changed the Object.registerClass to use this new linkage (for example, Object.registerClass("FComboBoxSymbol2", comboBox). This seemed to do the trick, as my combo boxes started working immediately.

Hope this helps.

-Ryan

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignFlash Help > FComboBox problem


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

 Free IT White Papers!
 
Accelerating Trading Partner Performance
One in five. That's how many partner transactions have at least one error. That is an amazing statistic, particularly given the extraordinary leaps in innovation across the global supply chain during the past two decades. Download this white paper to learn more.

 
Competing on Analytics
This Tech Analysis is designed to help identify characteristics shared by analytics competitors, and includes information about 32 organizations that have made a commitment to quantitative, fact-based analysis.

 
Cost Effective Scaling with Virtualization and Coyote Point Systems
An overview of the industry trend toward virtualization, how server consolidation has increased the importance of application uptime and the steps being taken to integrate load balancing technology with virtualized servers.

 
Five Checkpoints to Implementing IP Telephony
Implementation planning for IP PBX software and IP telephony has become vital as businesses replace discontinued legacy PBX phone systems. This informative whitepaper outlines five "checkpoints" for any implementation plan that will help make IP communications a successful proposition.

 
Hosted Email Security: Staying Ahead of New Threats
In the last two years, email has become a fierce battleground between the nefarious forces of spam and malware, and the heroes of messaging protection. The spam volumes increased alarmingly every month, bringing clever new forms of phishing and virus propagation attacks.

 

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway