After doing the tutorial on kirupa for using css, I wanted to create text links to other frames in my movie. So I searched the forums and came across kode’s really helpful info on creating them. But when i try to incorporate the two i just cant seem to pull it off.
Basically i’m trying to attach a css to the below code, but due to my action script skills fail.
Text Links Code:
[COLOR=royalblue]_root.myText.htmlText = ‘<a href=“asfunction:gotoAndStop,myFrame”>Click here and goto my frame</a>’;[/COLOR]
CSS code:
[COLOR=royalblue]var format = new TextField.StyleSheet();
var path = “http://www.juxtapozed.com/testing/personal/juxtstyle.css”;
var quick = “<h3>This is s test.</h3><p>This is s test<br>This is s testThis is s testThis is s test</p><h4>Click here to see This is s test.<h4>”
format.load(path);
format.onLoad = function(success) {
if (success) {
output.styleSheet = format;
output.text = quick;
} else {
output.text = “Error loading CSS file!”;
}
};[/COLOR]
any help will be much appreciated . juxatpozed.