Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

mask layer hides labels, button text, and selected text for combobox

Status
Not open for further replies.

NorthStarDA

IS-IT--Management
Mar 16, 2004
614
US
does anyone know how to get flash to stop hiding text that resides on movie clips that have a mask layer over them? the masks appear to work fine but hide this text and i cannot figure out how to get it to stop.

thx

=========================================
Don't sweat the petty things and don't pet the sweaty things.
 
the comboboxes get loaded with actionscript, but it's not dynamic text in the labels and button text. what to do about static text in this situation?

thanks

=========================================
Don't sweat the petty things and don't pet the sweaty things.
 
A bit of confusion in your post in reference to your thread's title...

Are you only talking about combo boxes text elements under a masking layer, or also of standard buttons and normal text boxes?

Are you on MX, MX2004, or Flash 8?

Regards. Web Hosting - Web Design
03/13/05 -> OLDNEWBIE VS FLASHKIT
 
sorry for the confusion, i am on flash pro 8.

from what i've seen so far, label components are hidden, as are the selected value of a combobox (when the list is expanded it displays fine), and the text of a standard button component are all not displayed when they are on a masked layer.

=========================================
Don't sweat the petty things and don't pet the sweaty things.
 
any takers on this one? it's an issue easily reproduced.

just make a new .fla, add some comboboxes, buttons, and labels to the stage, create a mask layer on top of the first layer that covers those objects, preview the movie and the text does not show.

=========================================
Don't sweat the petty things and don't pet the sweaty things.
 
I'm sure there's a workaround, but I'm not familiar with AS2.0 components. With AS1.0 components, all you had to do was edit the label component, so that the font could be change from a device font (not embeddable) to an embeddable one.

But I haven't got around facing that challenge yet with AS2.0 components...


Regards. Web Hosting - Web Design
03/13/05 -> OLDNEWBIE VS FLASHKIT
 
As oldnewbie said you must embed the font.

[tt]//
comboBox.setStyle("embedFonts", true);
comboBox.setStyle("fontFamily", "comicSans");
//[/tt]

"comicSans" is the linkage ID of the font symbol.

Kenneth Kawamoto
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top