I'm creating a simple Flash FLV player for a bunch of videos. It been far too long since I've touched Flash, and I can't seem to let the HTML document pass in the contentPath. My actionsctipt (version 3):
[plug=shameless]
[/plug]
Code:
[red]var passed:String = video == undefined ? "Nothing Passed" : video;[/red]
myvideo.playPauseButton=playpause;
myvideo.seekBar=seekbar;
myvideo.volumeBar=volslide;
myvideo.muteButton=mute;
myvideo.stopButton=stopvideo;
myvideo.contentPath=video;
[plug=shameless]
[/plug]