video(s)


    // [Bindable] public var video:Object;
    [Bindable] public var index:uint = 0;
    [Bindable] public var max:uint = 4;
    public var list:Array = [
        "../assets/clips/blip/rgbxyz.flv",
        "../assets/clips/shout/strangest.flv",
        "../assets/clips/tube/baby-laugh.flv",
        "../assets/clips/tube/strings.flv"
    ];
    [Bindable] public var source:String = list[index];
  

click


    public function click ( video:Object):void
    {
        index += 1; if (index > (max-1)) index = 0;
        video.stop();
        source = list[index]; // bindable
        video.play();
    }
   ]]>
  </mx:Script>
  </mx:VBox>