TimDiacon
07-19-2005, 10:16 AM
Hello there,
I'm trying to alter the openEase on a a tree component in a document. I only have one tree component and so am just using global styles here is my code.
import mx.styles.CSSStyleDeclaration;
if (_global.styles.Tree == undefined) {
_global.styles.Tree = new CSSStyleDeclaration();
}
_global.styles.Tree.setStyle("openEasing", Elastic.easeOut);
However it isn't working?
I'm trying to alter the openEase on a a tree component in a document. I only have one tree component and so am just using global styles here is my code.
import mx.styles.CSSStyleDeclaration;
if (_global.styles.Tree == undefined) {
_global.styles.Tree = new CSSStyleDeclaration();
}
_global.styles.Tree.setStyle("openEasing", Elastic.easeOut);
However it isn't working?