VERSION 5.00
Object = "{F9043C88-F6F2-101A-A3C9-08002B2F49FB}#1.2#0"; "COMDLG32.OCX"
Object = "{86CF1D34-0C5F-11D2-A9FC-0000F8754DA1}#2.0#0"; "MSCOMCT2.OCX"
Begin VB.Form Form1 
   Caption         =   "Form1"
   ClientHeight    =   5475
   ClientLeft      =   1785
   ClientTop       =   1740
   ClientWidth     =   6855
   LinkTopic       =   "Form1"
   ScaleHeight     =   5475
   ScaleWidth      =   6855
   Begin VB.CommandButton Command2 
      Caption         =   "Выход"
      Height          =   495
      Left            =   4440
      TabIndex        =   4
      Top             =   4920
      Width           =   1095
   End
   Begin VB.CommandButton Command1 
      Caption         =   "Open"
      Height          =   495
      Left            =   5640
      TabIndex        =   3
      Top             =   3720
      Width           =   1095
   End
   Begin MSComCtl2.Animation Anim1 
      Height          =   975
      Left            =   120
      TabIndex        =   2
      Top             =   120
      Width           =   1455
      _ExtentX        =   2566
      _ExtentY        =   1720
      _Version        =   393216
      FullWidth       =   97
      FullHeight      =   65
   End
   Begin VB.CommandButton Command4 
      Caption         =   "stop"
      Height          =   495
      Left            =   5640
      TabIndex        =   1
      Top             =   4920
      Width           =   1095
   End
   Begin VB.CommandButton Command3 
      Caption         =   "пуск"
      Height          =   495
      Left            =   5640
      TabIndex        =   0
      Top             =   4320
      Width           =   1095
   End
   Begin MSComDlg.CommonDialog Dlg1 
      Left            =   120
      Top             =   4440
      _ExtentX        =   847
      _ExtentY        =   847
      _Version        =   393216
      DialogTitle     =   "Открыть файл"
      FileName        =   "Clock"
      Filter          =   "*.avi"
      FilterIndex     =   1
      Flags           =   2
      FontBold        =   -1  'True
      FontName        =   "Times New Roman"
      MaxFileSize     =   30000
   End
End
Attribute VB_Name = "Form1"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit
Dim fl As Boolean


Private Sub Command1_Click()
Dlg1.ShowOpen
Anim1.Open Dlg1.FileName

End Sub

Private Sub Command2_Click()

End
End Sub

Private Sub Command3_Click()
'Dlg1.ShowOpen
Anim1.Play
End Sub

Private Sub Command4_Click()
'If fl = False Then
Anim1.Stop
'fl = True
'End If
End Sub
