Hey all,
I used a kirupa tutorial to put txt in a dynamic txt box, using actionscript and CSS. My problem is though, I have a link which when you hover over changes color etc… but the cursor doesn’t change to the “hand” cursor and when you click it, nothing happens… Here’s my code:
var format = new TextField.StyleSheet();
var path = "flash.css";
var quick = "<p class='headline'>Spikestrip</p><p class='body'>Date: 29/11/05<br>Venue: Hope & Anchor Islington<br>Time: 7:30PM<br>Other Acts: F*ckShovel, Geared 4.<br><br>Please click <a href='http://www.sleepwhenyouaredead.com' target='new'>here</a> for a flyer.</p>";
format.load(path);
format.onLoad = function(loaded) {
if (loaded) {
output.styleSheet = format;
output.text = quick;
} else {
output.text = "Error loading CSS file!";
}
};
stop();
Any ideas?
Thanks!