控件:timer1,ShockwaveFlash1
Private Sub Form_Load()
'=========设置窗口属性===============
form1.BoederStyle=0
ShockwaveFlash1.Top = 0
ShockwaveFlash1.Left = 0
ShockwaveFlash1.Height = Me.ScaleHeight
ShockwaveFlash1.Width = Me.ScaleWidth
'=======设置swf文件的路径============
ShockwaveFlash1.Movie ="c:\welcome.swf"
ShockwaveFlash1.Play '播放
End Sub
Private Sub Timer1_Timer()
If ShockwaveFlash1.FrameNum = ShockwaveFlash1.TotalFrames - 1 Then
ShockwaveFlash1.Stop
Unload Me
'=======显示你的程序主窗口=========
End If
End Sub
文章来源于领测软件测试网 https://www.ltesting.net/