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.

<code>

var tClass:Class        = getDefinitionByName("GothamMedium") as Class;
Font.registerFont(tClass);
                        
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)

</code>


Hope this helps



Karim
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Preston
Parris
Sent: 31 October 2008 16:53
To: flashcoders@chattyfig.figleaf.com
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
[EMAIL PROTECTED]
cell: 704.450.9299
www.modevisual.com
_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to