在VB里面,比如说在Form里面怎么样嵌入Flash动画,还有怎么样使Flash的参数与VB交换数据?谢谢!
解决方案 »
- 如何添加右键功能???
- Activex控件中怎样实现多个控件对齐,设置多个控件等高,等宽,各个控件缩放,拖动
- 如何让COMBOBOX下拉菜单里按字母顺序进行排列,当输入A时,所有以A开头的选项就会全部出来。
- 数据库的图片记录我把它们调到几个image中,想在图片的左上角标上1、2、3、。。的序号,如何实现 ?
- 请问TreeView控件Node的拖动问题.
- 执行Shell "C:\Program Files\Internet Explorer\Iexplore.exe", vbNormalFocus,IE浏览器应该置顶,程序运行的时候没有置顶,用API函数S
- 如何实现文件的上传和下载呢?
- mschart的打印问题
- vb+mdb+密码??急!
- 有什么API可以代替picture1.point功能的..急急急
- 如何用vb做客户端连接远程装有sql server2000 域名为kunlunyihong.meibu.com的Materia数据库?
- 求救
1.先加载shockwareflash控件,这个你装了flash之后就有。
2.做一个flash按钮,按钮的action为fscommand("tb_action", "close_win");按钮保存为button.swf
3.VB建一窗体,加一个flash控件,名为xwin
Private Sub Form_Load()
xWin.Movie = app.path & "\button.swf"
End Sub
Private Sub xWin_FSCommand(ByVal command As String, ByVal args As String)
Static NhWnd& 'Variable to store WordPad's window handleSelect Case command
Case "tb_action"
Select Case args
Case "close_win"
If MsgBox("你确定要关闭窗口吗?") = vbYes Then End
End Select
End Select
End Sub
Private Sub Timer1_Timer()
Flash1.Movie = App.Path & "\test.swf"
Label1.Caption = "共" & Flash1.TotalFrames & "帧" & " 已播放到第" & Flash1.CurrentFrame & "帧"
End SubPrivate Sub Command1_Click()
Flash1.Playing = True
End SubPrivate Sub Command2_Click()
Flash1.Back
End SubPrivate Sub Command3_Click()
Flash1.Forward
End SubPrivate Sub Command4_Click()
Flash1.Stop
End SubPrivate Sub Command5_Click()
End
End Sub
WebBrowser1.Navigate2 urlurl指定你的FLASH动画。