Highlighted

Adobe Cs5 flash, components

New Here ,
Jan 28, 2019

Copy link to clipboard

Copied

I am using readymade components from flash. From the menu bar window, components library. I am using the radio button and combo box. I wish to change the font size on the labels. Stretching and transforming does not increase the font size. What could i do?

Adobe Community Professional
Correct answer by JoãoCésar | Adobe Community Professional

Hi.

You're goinna need ActionScript for this.

Please read this Ned Murphy​​'s answer:

Is there a way to Set Font Style to Label or Button components?

Regards,

JC

TOPICS
Discussions

Views

65

Likes

Translate

Translate

Report

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

Adobe Cs5 flash, components

New Here ,
Jan 28, 2019

Copy link to clipboard

Copied

I am using readymade components from flash. From the menu bar window, components library. I am using the radio button and combo box. I wish to change the font size on the labels. Stretching and transforming does not increase the font size. What could i do?

Adobe Community Professional
Correct answer by JoãoCésar | Adobe Community Professional

Hi.

You're goinna need ActionScript for this.

Please read this Ned Murphy​​'s answer:

Is there a way to Set Font Style to Label or Button components?

Regards,

JC

TOPICS
Discussions

Views

66

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Jan 28, 2019 0
Adobe Community Professional ,
Jan 28, 2019

Copy link to clipboard

Copied

Hi.

You're goinna need ActionScript for this.

Please read this Ned Murphy​​'s answer:

Is there a way to Set Font Style to Label or Button components?

Regards,

JC

__________________________________________
HTML5, JSFL, and AS3 samples: http://bit.ly/2mJgDoG

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Jan 28, 2019 2
New Here ,
Jan 29, 2019

Copy link to clipboard

Copied

Thank you. This code works for a radio button label. I wish to also increase the size of the font for cs5 flash components for a combo box. I have tried the code above but it does not increase the size of font label in the combo box. How do i go about doing this?

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Jan 29, 2019 0
Adobe Community Professional ,
Jan 29, 2019

Copy link to clipboard

Copied

Hi.

Please have a look at this answer:

actionscript 3 - ComboBox Text Formatting through AS3 - Stack Overflow

Alright well the ComboBox is a container which contains the TextField and the DropDown List. So you can't directly apply the setStyle on ComboBox itself rather you need to apply it to the specific element inside the ComboBox.

import flash.text.TextFormat;

//Text Formats that needs to be applied on your comboBox

var txtformat:TextFormat = new TextFormat();

txtformat.size = 30;

//Lets just increase the size of fonts

//Increase the main TextField's font size of your ComboBox

yourComboBox.textField.setStyle("textFormat", txtformat);

//Increase the font size of dropDownList items

yourComboBox.dropdown.setRendererStyle("textFormat", txtformat);

I hope this helps.

Regards,

JC

__________________________________________
HTML5, JSFL, and AS3 samples: http://bit.ly/2mJgDoG

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Jan 29, 2019 0