| Home | Tutorials | Forums | Articles | Blogs | Movies | Library | Employment | Press | Buy templates |
|
|
#1 |
|
Registered User
|
i can't seem to get the freakn combo book to work. To make my life easier and all u guys who want to help, u can just download it here:
http://kotrclan.com/downloads/action...g/combobox.rar If you need WinRar to unzip this file you may download it from here: http://kotrclan.com/downloads/program/WinRar.exe If for some reason you feel unsafe downloading from my website you may download WinRar from the officail WinRar site at: http://www.rarlab.com/rar/wrar300.exe You can also visit the officail website at: http://www.rarlab.com/ |
|
|
|
|
|
#2 |
|
Registered User
Join Date: Apr 2002
Location: Sweden
Posts: 146
|
canīt "unrar" the file.
|
|
|
|
|
|
|
|
|
#3 |
|
Registered User
|
what do u mean, i ask a handful of ppl to do it and it works for them..
![]() |
|
|
|
|
|
#4 |
|
Registered User
Join Date: Apr 2002
Location: Sweden
Posts: 146
|
When I open the file I can see the fla fil but i cant unrar it... Strange!
|
|
|
|
|
|
#5 |
|
Registered User
|
that is strange, lemme upload the fla instead
here u gohttp://kotrclan.com/downloads/action...g/combobox.fla |
|
|
|
|
|
#6 |
|
Registered User
Join Date: Apr 2002
Location: Sweden
Posts: 146
|
Now the file worked.
I have looked at your file and I got it to work. First you need to namn the combobox instance to something (for now "combo") Then you have to replace the onSelect1 in the if loop with combo.getSelectedItem().lable if you want to have a diffirent value then the label you just ad it to the data option. and then you use lista.getSelectedItem().data Example: the lable of option no. 3 can be Counter-Strike MOD 1.5 Upgrade but the valu (data) can be sett to 3 or anything else. There might be a way to use onSelect1 but I donīt know how. I hope this have helped you! |
|
|
|
|
|
#7 |
|
Super Moderator
Join Date: Jan 2002
Location: Centreville, VA
Posts: 24,878
|
Hi...
This isn't going to be the way you want to do... I haven't used MX at all and I am just testing how MX acts with the components... Well... anyways... this is the simplified one you can take a look at... I don't know what is the right way to do the combobox in MX though... http://mywebpages.comcast.net/Cyan-B...s/combobox.swf http://mywebpages.comcast.net/Cyan-B...s/combobox.fla
__________________
CyanBlue / Jason Je / Macromedia Certified Flash Developer & Designer http://CyanBlue.FlashVacuum.com http://www.FlashVacuum.com http://tutorials.FlashVacuum.com Do NOT PM, Email or Call me... Your question belongs right in this forum...
|
|
|
|
|
|
#8 |
|
Registered User
Join Date: Apr 2002
Location: Sweden
Posts: 146
|
I thought about one thing more...
You donīt have to replace every onSelect1 with combo.getSelectedItem().label Instead write onSelect1=combo.getSelectedItem().label before the if loop starts. Good luck! |
|
|
|
|
|
#9 |
|
Registered User
|
i really don't understand what u said can u plz edit that one so i can learn from it plz. And the one you posted on the web only downloads 1 things, doesn't work properly
thanks in advance if u fix it |
|
|
|
|
|
#10 |
|
Registered User
Join Date: Apr 2002
Location: Sweden
Posts: 146
|
I have mad 2 files. 1 with the label example and 1 wuth the data example.
I think I messed things upp when I tryed to explain it. Itīs not so much to add to the code... Your wellcome! Iīm glad it worked! |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| [AS2] Combo Box in flash form | trnghosh | Components | 2 | 10-01-2008 06:36 AM |
| Combo Box Pulldowns Don't Work in Movie Clip | sleepydad | Components | 1 | 02-25-2008 10:41 PM |
| Open source combo box? | Shiroi | Components | 0 | 05-25-2007 09:41 PM |
| Combo box display a square box | amit_chinchane | Components | 8 | 05-17-2007 11:52 AM |
| Combo Box Help | BChadwick619 | Components | 1 | 05-03-2007 09:26 AM |