The problem with the drop down not working could be you removing some needed
assets from the styling MovieClips. I suggest if you need to remove some
bits of components you just test a lot and try to set the alpha to 0 from
the palette if you need to remove something... 

As for the fonts - I had some issues. This code worked for me (AS3 FP9):
Note "GothamMedium" is embedded in the lib.


var tClass:Class        = getDefinitionByName("GothamMedium") as Class;
var tf:TextFormat       = new TextFormat();
        tf.font                 = "Gotham Medium";
        tf.size                 = 12;
        tf.bold                 = false;
cmb_mc.dropdown.setRendererStyle("embedFonts" , true);
cmb_mc.dropdown.setRendererStyle("textFormat" , tf);
cmb_mc.textField.setStyle("fontFamily" , "Gotham Medium" );
cmb_mc.textField.setStyle("embedFonts" , true );
dob_txt.embedFonts = true;
dob_txt.setTextFormat( tf);
StyleManager.setStyle( "textFormat" , tf)


Hope this helps

-----Original Message-----
[mailto:[EMAIL PROTECTED] On Behalf Of Preston
Sent: 31 October 2008 16:53
Subject: [Flashcoders] ComboBox not dropping down in browser?

I have a combo box that I just styled, everything works perfectly in the
flash ide, all of the data populates, it drops down, is styled fine, Now
when I open it in the browser, I click to drop it down, nothing happens. If
I click it then tab to the box it shows the yellow outline of wear the
content should be yet nothing is there, also my font styling for this box
seems to have no effect in the browser, yet like I said in the ide,
everything is perfect.
thank you to anyone who can help, I will continue my struggle, haha.

Preston Parris
cell: 704.450.9299
Flashcoders mailing list

Flashcoders mailing list

Reply via email to