PDA

View Full Version : Loading FLV From ComboBox


saveth
05-19-2007, 05:41 AM
I have the loading and playing of a flv from a ComboBox working but I'm unable to have it start playing the flv on initial load of the page. Here is what I currently have that I'm getting errors on. let me know if I'm in the right direction and what I can do to fix this.


private function creationEvt(event:Event):void {
vidVideo.source = vidComboBox.selectedItem.source;
vidVideo.play();
}
<mx:VideoDisplay id="vidVideo" creationComplete="creationEvt(event)" />


Thanks,
Saveth