Movie has two text fields, the left one is named txtHeads and is filled
with lines like this:
<a href="asfunction:addStory, _root.arrStorys[6]"> <b>BRUCE CLARKE'S SON<br
/>COPS A SECURITIES ACT PLEA</b></a><br><br>
When "BRUCE CLARKE'S SON<br />COPS A SECURITIES ACT PLEA", asfunction
should be calling addStory,
as follows:
function addStory(stryElement:String){
// assign contents of passed array element to text control. Dummy names
are used.
_root.txtNews.text = stryElement;
}
addStory() does not fire when the link is clicked on. When a trace was
placed in it, nothing showed up in the output window.
Where am I going wrong? I have used the same technique to load external
files, why not from an array that's global to the entire movie?
Regards - Miles Thompson
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders