Combo box text disappears when loaded into main.swf

Is there any known issue with combo boxes that are dynamically created and styled, where they work and style fine when testing in the authoring environment, but just display what appears to be a blank background with no menu text when its an swf loaded into a main movie?

You’re probably having a global targeting problem. What’s the code you’re using to create the combo boxes?

here’s how its created:[AS]this.attachMovie(“FComboBoxSymbol”,“sortBy_cb”,15,{_x:203,y:40});
// populate cbox
arrSort=new_Array(“Name”,“Length”,“Commercials”);
sortBy_cb.setDataProvider(arrSort);
// style cbox
componentStyle
=_new_FStyleFormat({textColor:0x666666,textFont:“Helvetica”,textSize:10,face:0x666600,shadow:0x006600,background:0x99cc66,highlight:0x996600,highlight3D:0x99cc00,darkshadow:0x000000});
componentStyle.applyChanges();

function_addComponentStyle()_{
componentStyle.addListener(sortBy_cb)
}
// initialize cbox style
this.onEnterFrame=function(){
addComponentStyle();// combo-box’s
delete_onEnterFrame;

}
[/AS] There are 2 other combo boxes included in the actual listener code (edited out) that are contained in a MC and accessed via standard dot notation, but all exhibit the same problem behavior. Any thoughts on ‘global targeting’ or any other shortcomings in my code are much appreciated!

this is DEFINITELY going in the Gotcha! file…

http://www.flashkit.com/board/showthread.php?postid=2646325#post2646325