Hi FlashExperts,
I've made a newsscript in flash, it works perfect in flash 5, but in MX it doesn't work!


This is my generated a href in html:
asfunction:_root.whichLine,my text comes here

This is the Flash code:

Frame 1: (loadlist)
system.useCodepage = true;
url = "http://www.mydomain.com/";
loadVariablesNum(url add "news.asp?action=list", 0);
play(); // at frame 10

Frame 10: (list)
if (news eq "") {
list = "please wait..";
gotoAndStop("loadlist");
} else {
list = "There are " add count add " comments:<br><br>" add news;
stop();
// this is the problem, I think:
function whichLine(which) {
var temp = which.split(",");
title = temp[0];
gotoAndStop("loadview");
}
}

Thanks,
Tony