End SubPrivate Sub Timer1_Timer() If ShockwaveFlash1.Visible Then ShockwaveFlash1.Playing = False ShockwaveFlash1.Visible = False Else ShockwaveFlash1.Playing = True ShockwaveFlash1.Visible = True End If
End Sub
Private Sub Form_Load() dim aa as Blooen aa=True ShockwaveFlash1.Playing = True Timer1.Interval = 3000 Timer1.Enabled = True
End SubPrivate Sub Timer1_Timer() if aa=True then ShockwaveFlash1.Playing = False ShockwaveFlash1.Visible = False aa=False else ShockwaveFlash1.Playing = true ShockwaveFlash1.Visible = true Timer1.Enable=False Endif
End SubPrivate Sub Timer1_Timer() If ShockwaveFlash1.Visible Then ShockwaveFlash1.Playing = False ShockwaveFlash1.Visible = False Else ShockwaveFlash1.Playing = True ShockwaveFlash1.Visible = True
End SubPrivate Sub Timer1_Timer() If ShockwaveFlash1.Visible Then ShockwaveFlash1.Playing = False ShockwaveFlash1.Visible = False Else ShockwaveFlash1.Playing = True ShockwaveFlash1.Visible = True
End SubPrivate Sub Timer1_Timer() If ShockwaveFlash1.Visible Then ShockwaveFlash1.Playing = False ShockwaveFlash1.Visible = False Else ShockwaveFlash1.Playing = True ShockwaveFlash1.Visible = True
然后画到窗体上,设置swf路径,OK。
怪不得我这边VB中没有
我的系统,上 CSDN 没有任何要安装组件的提示,在 VB6 工程“部件”中也找不到 Adobe Flash ActiveX 。
然后找东西
Windows 98只能支持版本8。
http://you.video.sina.com.cn/pg/topicdetail/topicPlay.php?tid=3211771&uid=1616984535&t=1#23295731
http://you.video.sina.com.cn/pg/topicdetail/topicPlay.php?tid=3211771&uid=1616984535&t=1#23295731
我不是要插入flash动画哦
谢谢你啊
首先,打开VB,新建一个工程,在工具箱上单击鼠标右键,选择部件,在部件窗口的控件列表中选择Shockwave flash,然后确定, Flash控件就被加到工具箱上了。
然后将Flash控件放到窗体上,并调整至适当的大小,然后在属性窗口中设置movie属性为Flash动画所在的路径。
Private Sub Form_Load()
ShockwaveFlash1.Playing = True
Timer1.Interval = 3000
Timer1.Enabled = True
End SubPrivate Sub Timer1_Timer()
ShockwaveFlash1.Playing = False
ShockwaveFlash1.Visible = False
End Sub
一般人会安装flash插件
编辑人会安装flash编辑器(我电脑有这个,不知道是否这个原因)
ShockwaveFlash1.Playing = True
Timer1.Interval = 3000
Timer1.Enabled = True
End SubPrivate Sub Timer1_Timer()
If ShockwaveFlash1.Visible Then
ShockwaveFlash1.Playing = False
ShockwaveFlash1.Visible = False
Else
ShockwaveFlash1.Playing = True
ShockwaveFlash1.Visible = True
End If
End Sub
dim aa as Blooen
aa=True
ShockwaveFlash1.Playing = True
Timer1.Interval = 3000
Timer1.Enabled = True
End SubPrivate Sub Timer1_Timer()
if aa=True then
ShockwaveFlash1.Playing = False
ShockwaveFlash1.Visible = False
aa=False
else
ShockwaveFlash1.Playing = true
ShockwaveFlash1.Visible = true
Timer1.Enable=False
Endif
End Sub
Timer1.Enable=False
ShockwaveFlash1.Playing = True
Timer1.Interval = 3000
Timer1.Enabled = True
End SubPrivate Sub Timer1_Timer()
If ShockwaveFlash1.Visible Then
ShockwaveFlash1.Playing = False
ShockwaveFlash1.Visible = False
Else
ShockwaveFlash1.Playing = True
ShockwaveFlash1.Visible = True
Timer1.Enabled = False
End If
End Sub
静态的 几秒后再是flash播放 这样大哥会吗?
Private Sub Form_Load()
ShockwaveFlash1.Playing = False
Timer1.Interval = 3000
Timer1.Enabled = True
End SubPrivate Sub Timer1_Timer()
If ShockwaveFlash1.Visible Then
ShockwaveFlash1.Playing = False
ShockwaveFlash1.Visible = False
Else
ShockwaveFlash1.Playing = True
ShockwaveFlash1.Visible = True
Timer1.Enabled = False
End If
End Sub
ShockwaveFlash1.Playing = False
Timer1.Interval = 8000
Timer1.Enabled = True
End SubPrivate Sub Timer1_Timer()
If ShockwaveFlash1.Visible Then
ShockwaveFlash1.Playing = False
ShockwaveFlash1.Visible = False
Else
ShockwaveFlash1.Playing = True
ShockwaveFlash1.Visible = True
Timer1.Enabled = False
End If
End Sub
'这里写