source(s)
[Bindable]
private var index:int = 0;
private var max:uint = 12;
public var video:Array = [
"../assets/clips/tube/balloon.flv",
"../assets/clips/tube/web20.flv",
"../assets/clips/tube/about-content.flv",
"../assets/clips/tube/china/calligraphy.flv",
"../assets/clips/tube/hello-world.flv",
"../assets/clips/blip/rgbxyz.flv",
"../assets/clips/tube/doll-face.flv",
"../assets/clips/shout/strangest.flv",
//"../assets/clips/tube/design-coding.flv",
//"../assets/clips/tube/baby-laugh.flv",
//"../assets/clips/tube/america.flv",
"../assets/clips/tube/shark-1K.flv",
//"../assets/clips/tube/bowie-tibet.flv",
"../assets/clips/art/primetime.flv",
"../assets/clips/tube/strings.flv",
//"../assets/clips/tube/muto-wall.flv",
//"../assets/clips/tube/starwars-struggle.flv",
"../assets/clips/tube/climafutura.flv"
//"../assets/im/08/clip/roundup.flv"
];
[Bindable]
public var source:String = video[index];
private function plus( event:MouseEvent ):void
{
clear(myVid);
state = 0; off = 0;
index += 1;
if (index > (max-1)) index = 0;
myVid.stop();
movie = video[index]; // bindable
//myVid.play();
}
private function minus( event:MouseEvent ):void
{
clear(myVid);
state = 0; off = 0;
index = index - 1;
if (index < 0) index = max-1;
myVid.stop();
movie = video[index]; // bindable
//myVid.play();
}