# I hate flash video

**URL:** https://forum.kirupa.com/t/i-hate-flash-video/246803
**Category:** Uncategorized
**Created:** [December 14, 2007, 6:03pm UTC](https://forum.kirupa.com/t/i-hate-flash-video/246803 "2007-12-14T18:03:23Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![rondog](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/rondog/32/2478_2.png) [@rondog](https://forum.kirupa.com/u/rondog)
#### Post date: [December 14, 2007, 6:03pm UTC](https://forum.kirupa.com/t/i-hate-flash-video/246803/1 "2007-12-14T18:03:23Z")

</div>

im using the flv player component and set the content path in the params panel to a video…it plays fine. I then have an array of videos and a list to choose from…when you click on the list it chooses a video from the array, however its not setting the content path correctly…it keeps using the one that I sent in the params panel…If I remove the contentPath from the params panel it says unable to contact flv on server or something like that…heres my code…

```php

stop();
var numButtons:Number = 7;
import com.mosesSupposes.fuse.*;
ZigoEngine.simpleSetup(Shortcuts,PennerEasing);
tcDisplay.autoSize = true;

var vidList:Array = new Array("intro.flv","responsibility.flv","postvention.flv","prevention.flv","intervention.flv","maintaining.flv","credits.flv");

for (var i = 1; i <= numButtons; i++) {
    this["link" + i].id = i;
    this["link" + i].onRollOver = function() {
        this.txt.colorTo(0x4D80B7,0.3,"easeOutExpo");
    };
    this["link" + i].onRollOut = function() {
        this.txt.colorTo(0xFFFFFF,1.5,"easeOutExpo");
    };
    this["link" + i].onRelease = function() {
        loadVid(this.id);
    }
}

function loadVid(itemID) {
    vidPlayer.stop();
    vidPlayer.contentPath = vidList[(itemdID - 1)];
    vidPlayer.play();
}

```

if I trace out vidList[(itemdID - 1)] in the loadVid function, its tracing the correct path name, its just not setting it…any ideas?
