Skip navigation
Currently Being Moderated

Flash Builder 4.6 - new RadioButton() is not multiline, how to do that?

Jan 18, 2012 3:19 AM

Tags: #flash_builder #spark #radiorenderer;

Hello, everyone!

 

I'm making a quiz app in Flash Builder 4.6 surfed over the whole internet to make multiline radiobutton dynamically in flash builder 4.6 Mobile project in Spark components.

Anyone met with this problem?

 

Here i am making the Radiobutton.

 

for (j=0; j<arrAnswers[index].length; j++) {

 

 

                                        arrChoices[j] = new RadioButton()

                                        arrChoices[j].label = arrAnswers[index][j];

                                        arrChoices[j].label.autoSize=true

                                        arrChoices[j].value = j;

                                        arrChoices[j].width = container.width

                                        arrChoices[j].x = qField.x + 10;

                                        arrChoices[j].y = qField.y + qHeight + (aHeight+5)*j;

                                        arrChoices[j].group = rbg

 

                                        container.addElement(arrChoices[j]);

 

                              }

 

I found this link but didnt worked for 4.6:

http://blogs.adobe.com/aharui/2007/04/multiline_buttons.html#comment-3 434

http://blog.flexexamples.com/2010/04/10/creating-a-multiline-spark-rad iobutton-control-in-flex-4/

 
Replies

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points