5 Replies Latest reply on Dec 8, 2013 6:21 AM by kglad

    Need help for a multiline combobox...

    Alias_a

      Hi,

       

      I am new to Flash, and I need help. I am trying to create a multiline combobox, but I can't seem to have any luck. I searched for possible answers, and most of them point to the cell renderer. Whenever I try to use it, I have multiple errors. This is what I am sort of trying to do: http://www.wikihow.com/Create-Interactive-Multiple-Choice-Quiz-in-Adobe-Flash-Cs4

       

      The only difference is that I need multilines instead of single lines. Is there a way a complete beginner could do this?

        • 1. Re: Need help for a multiline combobox...
          kglad Adobe Community Professional & MVP

          not really.  you need to create a custom cellrenderer and, i don't think, that's easy for a beginner.

          • 2. Re: Need help for a multiline combobox...
            Alias_a Level 1

            Yes, it definitely is not easy for a complete beginner like me. I tried to do it using the code from Adobe, but I kept receiving error reports. That's why I was hoping for another way to do it. I'm wondering, though, if I could maybe have a second dynamic text box under the combobox where the answer choice might show...?

            • 3. Re: Need help for a multiline combobox...
              kglad Adobe Community Professional & MVP

              it's difficult to wrangle the flash components. they either do what you want, by default, or you have a fair amount of work to do.

              1 person found this helpful
              • 4. Re: Need help for a multiline combobox...
                Alias_a Level 1

                Hi, kglad,

                 

                Yup, that's the problem. Unfortunately, I don't have many options now.... I tried to do this with radio buttons, but I still have the same issue. I tried adding an actionscript using the snippets feature, and found this:

                 

                on (click) {

                          not_set_yet.length;

                }

                 

                Do you think this will help me? If so, how do I set it up?

                 

                Also, I did search the web for any answer of a sorts, and found a user who posted this code:

                <style type="text/css">

                ol{

                padding-left: 0;

                margin-left:0;

                }



                ol>li {

                list-style-type: none;

                margin-bottom: .5em;

                }



                ol>li input[type=radio] {

                display: -moz-inline-box;

                display: inline-block;

                vertical-align: middle;

                }



                ol>li label {

                display: -moz-inline-box;

                display: inline-block;

                vertical-align: middle;

                }

                </style>

                 

                I tried doing the above code, but I got an error; the error says unexpected <, I believe.

                 

                What do you think?

                • 5. Re: Need help for a multiline combobox...
                  kglad Adobe Community Professional & MVP

                  if you're attempting to create a multiline combobox with either code snippet, you're not even close.  read about cellrenderers.

                   

                  if you're trying to do something else with that code, what is it that you're trying to do?

                  1 person found this helpful