RE: [Flashcoders] setStyle ComboBox (AS2)

2007-08-08 Thread Mendelsohn, Michael
Thanks for the reply.  That didn't work either, though.  :-/

Rhetorical question: are styling components easier in AS3?  Ugh, all I
want to do is color that outline.





 Try the following and omit the new CSSStyleDeclaration():

_global.styles.rectBorderClass.setStyle(borderStyle, solid);
_global.styles.rectBorderClass.setStyle(borderColor, 0xD35800);
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


RE: [Flashcoders] setStyle ComboBox (AS2)

2007-08-07 Thread Hairy Dog Digital
Try the following and omit the new CSSStyleDeclaration():

_global.styles.rectBorderClass.setStyle(borderStyle, solid);
_global.styles.rectBorderClass.setStyle(borderColor, 0xD35800);


-Original Message-
From: Mendelsohn, Michael [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, August 07, 2007 10:59 AM
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] setStyle ComboBox (AS2)

Hi list...

The V2 ComboBox is made up of instances of a Button, TextInput and List.
The TextInput contains an instance of RectBorder.  I can't figure out how to
setStyle on it.

This looks intuitive, but doesn't work:
_global.styles.ComboBox.TextInput.RectBorder.setStyle(borderColor,
0xB86400);

This isn't working in my code either:
_global.styles.RectBorder = new CSSStyleDeclaration();
_global.styles.RectBorder.setStyle(borderStyle, solid);
_global.styles.RectBorder.setStyle(borderColor, 0xD35800);

Any suggestions?
- Michael M.

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com