# FLV frikken playback

**URL:** <https://forum.kirupa.com/t/flv-frikken-playback/167288>\
**Category:** flash\
**Created:** [October 26, 2005, 10:17pm UTC](https://forum.kirupa.com/t/flv-frikken-playback/167288 "2005-10-26T22:17:23Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![deltajam](https://avatars.discourse-cdn.com/v4/letter/d/7993a0/32.png) [@deltajam](https://forum.kirupa.com/u/deltajam)\
**Post date:** [October 26, 2005, 10:17pm UTC](https://forum.kirupa.com/t/flv-frikken-playback/167288/1 "2005-10-26T22:17:23Z")

</div>

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:

```auto

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 ☹
