Hi
I’m loading flv movies into the flvplayback component using a combobox. It works just fine on my local machine but not on the server. This is regardless of whether they are absolute or relative URLs. This is the first time I’ve worked with flv’s and the component, so maybe there is something simple I’m missing…
This is the code on the first frame:
import mx.video.FLVPlayback;
import mx.controls.List;
var cfp:FLVPlayback;
var videoArray:Array = ["movies/LindiWahl_1.flv",
"movies/LindiWahl_2.flv",
"movies/LindiWahl_3.flv",
"movies/LindiWahl_4.flv",
"movies/LindiWahl_5.flv",
"movies/LindiWahl_6.flv",
"movies/LindiWahl_7.flv"];
var currentVideo:Number = 0;
cfp.contentPath =(videoArray[currentVideo])
//Movie ComboBox - on (change) handler is on the comboBox
// Add Items to List.
movieCombo_cb.addItem({data:videoArray[0], label:"Lindi Wahl, UWO"});
movieCombo_cb.addItem({data:videoArray[1], label:"Not a specialist"});
movieCombo_cb.addItem({data:videoArray[2], label:"Feeling of joy"});
movieCombo_cb.addItem({data:videoArray[3], label:"Bacteria model"});
movieCombo_cb.addItem({data:videoArray[4], label:"Variable growth rate"});
movieCombo_cb.addItem({data:videoArray[5], label:"Dynamical model"});
movieCombo_cb.addItem({data:videoArray[6], label:"Differential equation"});
This is the code on the combobox
on (change) {
cfp.contentPath =(this.getValue(),this.getValue())
movieCombo_cb.selectedIndex = 0;
}
Thanks very very much for taking the time to read!!!