文件名称:[笑语制作]播放flash
- 所属分类:
- ActiveX/DCOM
- 资源属性:
- [Windows] [Visual C] [源码]
- 上传时间:
- 2008-10-13
- 文件大小:
- 46.33kb
- 下载次数:
- 0次
- 提 供 者:
- 林*
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
利用五分钟,给程序添加播放flash的功能flash的播放,是使用Macromedia的flash播放控件来播放flash步骤如下:建立一个单文档的程序,最后一步选择CFormView作为视图编辑视图的资源添加一个EditBox作为输入文件名,一个按钮播放。添加flash播放控件Project Add To Project Components and Controls Gallary选择:Registered ActiveX Controls文件夹下面的Shockwave Flash Object,它其实是指向c:\\winnt\\system32\\macromed\\Flash\\Flash.ocx的。利用向导添加两个变量,分别对应输入的文件名和flash控件 CString m_filename CShockwaveFlash m_flash 添加播放按钮的事件,打开flash文件并且播放void CViewFlashView::OnPlay() { // TODO: Add your control notification handler code here //CShockwaveFlash UpdateData() m_flash.LoadMovie(0,m_filename) m_flash.Play() }-use five minutes, adds to the functionality flash player flash player is the use of the Macromedia flash player to player flash control steps are as follows : the creation of a single document the procedures, the last step CFormView choose Edit View View as the resources to add a EditBox as input file name, according to a NIU players. Adding flash player Control Project # 61664; Add To Project # 61664; Components and Controls Gallery options : Registered ActiveX Controls folders below the Shockwave Flash Object, it is actually pointing c : \\ winnt \\ system32 \\ macromed \\ Flash \\ the user. Using Wizard adding two variables, corresponding to the input file name and flash control redeem m_filename CShockwaveFlash m_flash add players button, and open the document flash player void CViewFlashVi
(系统自动生成,下载前可以参看下载内容)
下载文件列表
压缩包 : 464543[笑语制作]播放flash.rar 列表 Flash2 Flash2\Debug Flash2\Flash2.aps Flash2\Flash2.clw Flash2\Flash2.cpp Flash2\Flash2.dsp Flash2\Flash2.dsw Flash2\Flash2.h Flash2\Flash2.ncb Flash2\Flash2.opt Flash2\Flash2.plg Flash2\Flash2.rc Flash2\Flash2Doc.cpp Flash2\Flash2Doc.h Flash2\Flash2View.cpp Flash2\Flash2View.h Flash2\MainFrm.cpp Flash2\MainFrm.h Flash2\ReadMe.txt Flash2\res Flash2\res\Flash2.ico Flash2\res\Flash2.rc2 Flash2\res\Flash2Doc.ico Flash2\res\Toolbar.bmp Flash2\resource.h Flash2\shockwaveflash.cpp Flash2\shockwaveflash.h Flash2\StdAfx.cpp Flash2\StdAfx.h