Can anyone please explain why the code below does not load the XML text into myTextArea
this is supposed to duplicate a movieclip with the instance name "story" and populate it with "headline" text from the XML..... check it out... this code actually DOESN'T work!
PHP Code:
//Load xml...blah blah blah...
for (n=0; n<maxnum; n++) {
storX =30;
storY = (story._height*n)+buffer;
specs = xml.firstChild.childNodes[n].attributes;
//menu
duplicateMovieClip(story,"story_"+n, n);
stor = eval("story_"+n);
stor._y = storY;
stor._x = storX;
stor.headline = specs.headline;//<---this sets the variable
stor.myTextArea.text = this.headline;//<----this is not working, WHY?!
//can someone please explain why this does not work instead of just writing down the answer..?
stor.onRollOver = function(){
trace(this.headline);//<----this IS working... what the hell? how can this work, but not above?
}