Hi List, 
 
I´m running into a mystery I can´t solve, if anyone could point me into the
right direction i´d be very thankful.
 
I´m defining some global StyleSheet properties for MM V2 Components in Flash
8 Pro like this
 
_global.styles.Tree = new mx.styles.CSSStyleDeclaration();
_global.styles.Tree.setStyle("backgroundColor", 0xEEEEEE);
_global.styles.Tree.setStyle("rollOverColor", 0xFFFFFF);
//...and so on until
_global.styles.Tree.setStyle("vScrollPolicy", "auto");
 
now every Style is accepted except the vScrollPolicy, it behaves as it would
be "on" which is the default value.
It´s the same for List and DataGrid Components.
If I directly assign the style to an instance like this
 
_root.command_tr.setStyle("vScrollPolicy", "auto");
 
everything works,...
 
Any clues for me?
 
Thanks,
 
André
 
 
_______________________________________________
[email protected]
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

Reply via email to