Within main movie, there is a movie clip containing sound controls and a display for name of track. Everything works fine except the text display.
Main Movie -
soundControls_mc-
display_txt
other controls (all working)
Partial Code:
MovieClip.prototype.songStarter = function(file, name) {
this.sound_obj.loadSound(file, true);
this.onEnterFrame = function() {
if (this.sound_obj.position>0) {
delete this.onEnterFrame;
this._root.display_txt.text = name;
} else {
this._root.display_txt.text = "loading...";
}
};
I have remade this in a whole new flash document with everything on maintime line and everything works fne controls, display_txt actually displays. However when I added it to Main movie within its own MC the text does not get displayed. Any ideas?
Thanks
MT