I was surprised and shocked when they came back to me 4 days later … saying that they tried … and started making buttons to achieve the rollover states … I then googled myself and saw that it was hard to find … and even though I have used Flash for ages … I have never done this …. but I found it and decided to post it … before Flash 7 it was not possible … and links had no rollover states…
example…
The link here are either html or links to asfunction …
da code…
//DO STYLES
var styles = new TextField.StyleSheet();
styles.load("style_flash.css");
styles.onLoad = function(ok) {
if (ok) {
dynbox.styleSheet = styles;
//looks like you need to trigger
//a change for it to display
dynbox.htmlText += '';
}
};
how…
The secret is with TextField.styleSheet »
Now the example shows exactly how to do with HTML, but there is another way … inside a dynamic textfield you can select text and use the link tool to add URLS ... OR flash functions using asfunction:some_function_name … and voila … those too are styled !!
