This content has been marked as final. Show 3 replies
comboBox.setStyle("embedFonts ", true)
comboBox.setStyle("fontFamily ", "myFont")
you must also create a font object in the library, and make should that the linkage name is equal to the fontFamily name in the example above myFont
hope that works
BTW why mask a combobox?????
I doubt embedding the font is the problem. I'm having the same issue. Took me forever to realize the mask was causing the problem. Has anyone figured out a way to get it to work.
To answer your question about "why mask a combobox", in my case I have external movie clips that are loaded into a masked movie. I have my preloader built around this container movieclip as well. So for all of the sections, I dump the movie clip into a container movie clip with rounded corners. Unfortunately, the section that lists stores, I used a comboBox. When I pull that movie clip into the container movie clip, the comboBox does not show the label. So for that one section, I put it onto a new level instead of the container. This is a pain for two reasons...
1. Since I'm putting it to a new level, I have to put a line of code for each sections buttons to unload that level. And then when I'm in the Stores section, I have to put a line of code to unload what's in the container movie clip.
2. The preloader I have built to test what's in the container doesn't work for the stores section because it's not being loaded into the container.
So this is a bug right? It's so aggravating that I can't load a movie with components into a masked container.