FLV frikken playback

I’m Sorry. This driving me nuts though. Can anyone help me out? I have an FlvPlayback component on stage. I have 6 flv’s that I would like to load into that component with buttons.

The problem I am having…that makes NO SENSE is that it loads the FIRST video fine, and even the second…but it WONT load a third or fourth and so on.

Here is my code:


this.newVideo = function(fileName:String, instance:String, startPlay:Boolean) {
 import mx.video.*;
 player.contentPath = "flv/"+fileName+".flv";
 var listenerObject:Object = new Object();
 listenerObject.stateChange = function(eventObject:Object):Void  {
  trace(player.state);
 };
 listenerObject.ready = function(eventObject:Object):Void  {
  if (startPlay == true) {
   player.play();
  }
 };
 player.addEventListener("ready", listenerObject);
 player.addEventListener("stateChange", listenerObject);
 for (var i = 1; i<7; i++) {
  this["desc"+i].textColor = 0x003D6D;
  this[instance].textColor = 0xFFFFFF;
 }
};

By listening to the players state, I noticed that for some reason it adds an operation as I click the buttons.
So it loads, stops, buffers, and plays the first time…and then qhen I click the second button the output shows a load load, stop stop, buffer buffer, play play.

Does anyone have any experience in this area? Please help :frowning: