use five minutes, adds to the functionality flash player flash player is the use...
资 源 简 介
利用五分钟,给程序添加播放flash的功能flash的播放,是使用Macromedia的flash播放控件来播放flash步骤如下:建立一个单文档的程序,最后一步选择CFormView作为视图编辑视图的资源添加一个EditBox作为输入文件名,一个按钮播放。添加flash播放控件Project Add To Project Components and Controls Gallary选择:Registered ActiveX Controls文件夹下面的Shockwave Flash Object,它其实是指向c:winntsystem32macromedFlashFlash.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 an
文 件 列 表
Flash2
Debug
Flash2.aps
Flash2.clw
Flash2.cpp
Flash2.dsp
Flash2.dsw
Flash2.h
Flash2.ncb
Flash2.opt
Flash2.plg
Flash2.rc
Flash2Doc.cpp
Flash2Doc.h
Flash2View.cpp
Flash2View.h
MainFrm.cpp
MainFrm.h
ReadMe.txt
res
Flash2.ico
resource.h
shockwaveflash.cpp
shockwaveflash.h
StdAfx.cpp
StdAfx.h
res