buddylee17
Practically a Master Poster
697 posts since Nov 2007
Reputation Points: 232
Solved Threads: 137
Hi,
It's very simple to do that,
1. Open the components panel by hitting ctrl+f7.
2. Drag the checkbox component onto the stage, and select the checkbox component in Frame 1.
3. Type "checkbox" as the Instance Name, to name the component.
4. In the Label Placement parameter menu, check that the default value is set to right alignment.
5. Type "state1" for the Click Handler name.
6. Select the first key frame. Press f9 to open the actions box, and insert the following action:
<strong>myCheckBoxInstanceName</strong>.setStyle("fontSize",15);
Give whatever size you want and resize the check box using Free transform
rajarajan07
Nearly a Posting Virtuoso
1,447 posts since May 2008
Reputation Points: 167
Solved Threads: 239
Please remove the step 5. Please reply soon if you need more help (or) if you got the soluton, mark as solved.
rajarajan07
Nearly a Posting Virtuoso
1,447 posts since May 2008
Reputation Points: 167
Solved Threads: 239
I had worked and then only gave the code. plz try again. Follow the steps correctly
rajarajan07
Nearly a Posting Virtuoso
1,447 posts since May 2008
Reputation Points: 167
Solved Threads: 239
What is your instance name? use the instancename.fontsize
rajarajan07
Nearly a Posting Virtuoso
1,447 posts since May 2008
Reputation Points: 167
Solved Threads: 239