pouic Posted April 13, 2009 at 08:49 AM Report #256495 Posted April 13, 2009 at 08:49 AM Alguém sabe como colocar o estilo strike a funcionar em as3? Estava a tentar assim: var style:StyleSheet = new StyleSheet(); style.parseCSS("a:link{text-decoration: none;}a:hover{text-decoration: line-through;}"); var ti:TextField = new TextField(); ti.x = 100; ti.y = 100; ti.width = 200; ti.height = 200; ti.styleSheet = style; ti.htmlText += "<a href=\"http://www.portugal-a-programar.org\" target=\"_blank\">strike link</a>"; addChild(ti);
yarcub Posted April 18, 2009 at 07:09 PM Report #257546 Posted April 18, 2009 at 07:09 PM Esse estilo não tem suporte, vê a tags suportadas na documentação. http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/text/StyleSheet.html
pouic Posted April 20, 2009 at 08:16 AM Author Report #257709 Posted April 20, 2009 at 08:16 AM Ok é isso... Tive de criar de forma manual essa possibilidade 🙂 Desenhando um "traço" em cima do link 😉 Obrigado.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now