Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Need help for a multiline combobox...

New Here ,
Dec 07, 2013 Dec 07, 2013

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?

TOPICS
ActionScript
787
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Expert , Dec 07, 2013 Dec 07, 2013

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

Translate
Community Expert ,
Dec 07, 2013 Dec 07, 2013

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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Dec 07, 2013 Dec 07, 2013

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...?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Dec 07, 2013 Dec 07, 2013

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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Dec 08, 2013 Dec 08, 2013

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?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Dec 08, 2013 Dec 08, 2013
LATEST

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?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines