/ Published in: ActionScript 3
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
var cssStyles : CSSDeclaration = m_rootElement.styleSheet.reprise::getStyleForEscapedSelectorPath( m_myElement.reprise::selectorPath); /* usage */ m_myElement.setStyle('left',cssStyles.getStyle('left').specifiedValue() + 'px');
URL: http://wiki.github.com/tschneidereit/reprise