<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[Lewis's Space]]></title><description><![CDATA[顛覆...Please let me feel that you have visited here today..thks...]]></description><link>https://blog.youkuaiyun.com/dreamlins</link><language>zh-cn</language><generator>https://blog.youkuaiyun.com/</generator><copyright><![CDATA[Copyright &copy; dreamlins]]></copyright><item><title><![CDATA[cocos2d-x 声音和音效]]></title><link>https://blog.youkuaiyun.com/dreamlins/article/details/47271483</link><guid>https://blog.youkuaiyun.com/dreamlins/article/details/47271483</guid><author>dreamlins</author><pubDate>Tue, 04 Aug 2015 08:52:48 +0800</pubDate><description><![CDATA[[-]

使用音效引擎支持平台与格式

预加载播放与停止暂停和恢复其他成员






Cocos2d-x提供了对声音和音效的支持，能够十分方便地实现音乐与音效的播放、暂停和循环功能。

使用音效引擎

我们可以使用Cocos2d-x自带的CocosDension库来使用声音引擎。CocosDesion实现了简单易用的SimpleAudioEngine类，为了使用它，]]></description><category></category></item><item><title><![CDATA[如何在 win8 下让 flash builder 运行调试版本(debug) flash player]]></title><link>https://blog.youkuaiyun.com/dreamlins/article/details/19191559</link><guid>https://blog.youkuaiyun.com/dreamlins/article/details/19191559</guid><author>dreamlins</author><pubDate>Fri, 14 Feb 2014 10:16:07 +0800</pubDate><description><![CDATA[1、网上下载 debug 版本调试器 flashplayer_11_sa_debug.exe
2、替换 C:\Program Files (x86)\Adobe\Adobe Flash CS6\Players\FlashPlayer.exe 即可，其实就是替换 flash builder 运行时提示的非debug 版本播放器。]]></description><category></category></item><item><title><![CDATA[Flash Builder 4.6 无法生成 html 文件的解决方法]]></title><link>https://blog.youkuaiyun.com/dreamlins/article/details/8087173</link><guid>https://blog.youkuaiyun.com/dreamlins/article/details/8087173</guid><author>dreamlins</author><pubDate>Thu, 18 Oct 2012 19:48:18 +0800</pubDate><description><![CDATA[点击项目的属性->Flex编译器，更改某个内容，比如取消‘检查目标Player版本’，确定后，会给予提示，重新构造模板，就是html-template下面的文件；然后运行就可以了！再把刚才改的内容改回来就行了！
其实就是更改了模板里面的内容致使fb平台不知道怎么生成启动的html文件了！]]></description><category></category></item><item><title><![CDATA[List 中使用 MXML 自定义组件的数据项访问方法]]></title><link>https://blog.youkuaiyun.com/dreamlins/article/details/8080451</link><guid>https://blog.youkuaiyun.com/dreamlins/article/details/8080451</guid><author>dreamlins</author><pubDate>Wed, 17 Oct 2012 11:21:03 +0800</pubDate><description><![CDATA[1、主 mxml 文件中的 List 控件ID为: userList
2、主 mxml 文件中的自定义的组件名称为：UserItemRenderer
代码即如下：
     

3、UserItemRender 组件内有公共（public）方法为：getUserName()
4、在主 mxml 中需访问 userList 中的某一项（下标为: index）的 getUserName 方]]></description><category></category></item><item><title><![CDATA[Flash 与 Flex 配合开发，flash 导出 swc 到 flex]]></title><link>https://blog.youkuaiyun.com/dreamlins/article/details/8080386</link><guid>https://blog.youkuaiyun.com/dreamlins/article/details/8080386</guid><author>dreamlins</author><pubDate>Wed, 17 Oct 2012 11:08:35 +0800</pubDate><description><![CDATA[Flash与Flex常配合起来开发游戏，通常方法有两种：
1 Flash创建元件资源给FB，由FB实现编译
2 FB创建纯ActionScript项目，作为Flash的文档类，由FP编译（查看详细讲述）
这里主要说明第1种，这是一种很多程序员都使用的方式。Flash创建元件资源给FB，还有两种方式：
1 SWF。Flash导出SWF，FB通过loader或者SWFLoader加载；
2]]></description><category></category></item><item><title><![CDATA[VS2008切换时卡死解决方法]]></title><link>https://blog.youkuaiyun.com/dreamlins/article/details/8009519</link><guid>https://blog.youkuaiyun.com/dreamlins/article/details/8009519</guid><author>dreamlins</author><pubDate>Sun, 23 Sep 2012 12:59:13 +0800</pubDate><description><![CDATA[VS2008切换时卡死解决方法


       突然有一天，在使用vs2008从源视图向设计视图切换时，界面出现了假死现象，重装后亦无效。我从网上搜索原因，发现很多朋友都有类似的问题，但解决方 案各异，原因更是众说纷纭。下面我就我所看到的和我的切身经历，对vs2008设计视图假死的原因及解决方案总结如下。 在这之前先说明下，有些朋友出现此类问题，其实并不是假死，或是源代码的错误，或是内存过]]></description><category></category></item><item><title><![CDATA[安装虚拟机问题汇总（7.1.1 build-282343）]]></title><link>https://blog.youkuaiyun.com/dreamlins/article/details/7331579</link><guid>https://blog.youkuaiyun.com/dreamlins/article/details/7331579</guid><author>dreamlins</author><pubDate>Thu, 08 Mar 2012 09:55:33 +0800</pubDate><description><![CDATA[一、安装虚拟机过程中，出现下面状况的：
The cpu has been disabled by the guest operating system. You will need to power off or reset the virtual machine at this point
编辑 vmx 的文件，就是开始的时候添加下面这个语句：
cpuid.1.eax = "0000:00]]></description><category></category></item><item><title><![CDATA[win7 下打开 ice demo 工程文件出错的问题解决方法]]></title><link>https://blog.youkuaiyun.com/dreamlins/article/details/7310309</link><guid>https://blog.youkuaiyun.com/dreamlins/article/details/7310309</guid><author>dreamlins</author><pubDate>Thu, 01 Mar 2012 17:33:50 +0800</pubDate><description><![CDATA[以下两个 XML 文件安装后出现乱码，导致打开工程时出错，只要把文件内容改为正确的 XML 格式即可：
C:\ProgramData\ZeroC\ice.props
C:\ProgramData\ZeroC\ice.vsprops
 
C:\ProgramData\ZeroC\ice.props 出错的内容：
锘??xml version="1.0" encoding="utf-8"?>]]></description><category></category></item><item><title><![CDATA[PHP环境搭建:Windows 7下安装配置PHP+Apache+Mysql环境教程(红色字体为新增)]]></title><link>https://blog.youkuaiyun.com/dreamlins/article/details/7308821</link><guid>https://blog.youkuaiyun.com/dreamlins/article/details/7308821</guid><author>dreamlins</author><pubDate>Thu, 01 Mar 2012 10:37:48 +0800</pubDate><description><![CDATA[这两天刚装好Windows 7，碰巧前段时间有朋友问我Windows下如何安装搭建PHP环境，所以打算勤劳下，手动一步步搭建PHP环境，暂且不使用PHP环境搭建软件了，在此详细图解在Windows 7下安装配置PHP+Apache+Mysql环境的教程，希望对PHP初学者有所帮助。
　　在Windows 7下进行PHP环境搭建，首先需要下载PHP代码包和Apache与Mysql的安装软件包。]]></description><category></category></item><item><title><![CDATA[RichEdit 的用法]]></title><link>https://blog.youkuaiyun.com/dreamlins/article/details/6593500</link><guid>https://blog.youkuaiyun.com/dreamlins/article/details/6593500</guid><author>dreamlins</author><pubDate>Fri, 08 Jul 2011 17:58:44 +0800</pubDate><description><![CDATA[2008-05-25 10:47很不错的源代码http://www.pudn.com/search_db.asp?keyword=MyRichEdit&x=36&y=16richedit 常见使用问题一.常见问题a.可以编译,不能执行的在需要在相应的对话框中加上InitInsta]]></description><category></category></item><item><title><![CDATA[对话框使用 CHtmlView 类打开网页]]></title><link>https://blog.youkuaiyun.com/dreamlins/article/details/6559042</link><guid>https://blog.youkuaiyun.com/dreamlins/article/details/6559042</guid><author>dreamlins</author><pubDate>Tue, 21 Jun 2011 16:26:00 +0800</pubDate><description><![CDATA[ 在对话框的 OnInitDialog() 函数后加入如下代码即可： CCreateContext pContext; CWnd* pFrameWnd = this; pContext.m_pCurrentDoc = new CDocument; pContext.m_pNewViewClass = RUNTIME_CLASS(CHtmlView); CHtmlVi]]></description><category></category></item><item><title><![CDATA[VC++ 更改标题字体以及居中显示标题]]></title><link>https://blog.youkuaiyun.com/dreamlins/article/details/6450319</link><guid>https://blog.youkuaiyun.com/dreamlins/article/details/6450319</guid><author>dreamlins</author><pubDate>Fri, 27 May 2011 15:50:00 +0800</pubDate><description><![CDATA[<br />在头文件中放下面的函数:<br />view plaincopy to clipboardprint?<br />afx_msg void OnNcPaint();   <br />afx_msg BOOL OnNcActivate(BOOL bActive);   <br />afx_msg void OnActivate( UINT nState, CWnd* pWndOther, BOOL bMinimized ); <br />      afx_msg void OnNcPaint()]]></description><category></category></item><item><title><![CDATA[obj,lib,dll,exe的关系 ]]></title><link>https://blog.youkuaiyun.com/dreamlins/article/details/6298013</link><guid>https://blog.youkuaiyun.com/dreamlins/article/details/6298013</guid><author>dreamlins</author><pubDate>Sat, 02 Apr 2011 13:06:00 +0800</pubDate><description><![CDATA[<br />obj,lib,dll,exe的关系<br />    lib是和dll对应的。lib是静态链接库的库文件，dll是动态链接库的库文件。<br />    所谓静态就是link的时候把里面需要的东西抽取出来安排到你的exe文件中，以后运行你的exe的时候不再需要lib。<br />    所谓动态就是exe运行的时候依赖于dll里面提供的功能，没有这个dll，你的exe无法运行。<br />    <br />    lib,dll,exe都算是最终的目标文件，是最终产物。而c/c++属于源代码]]></description><category></category></item><item><title><![CDATA[DLL 原理和使用 ]]></title><link>https://blog.youkuaiyun.com/dreamlins/article/details/6297970</link><guid>https://blog.youkuaiyun.com/dreamlins/article/details/6297970</guid><author>dreamlins</author><pubDate>Sat, 02 Apr 2011 12:52:00 +0800</pubDate><description><![CDATA[Dll原理和使用- -<br />『转载 』<br /><br />引言 调用方式 MFC中的DLL DLL入口函数 关于约定 关于DLL的函数 模块定义文件(.DEF) DLL程序和调用其输出函数的程序的关系 作者<br />。。。<br /><br />引言 比较大的应用程序都由很多模块组成，这些模块分别完成相对独立的功能，它们彼此协作来完成整个软件系统的工作。可能存在一些模块的功能较为通用，在构造其它软件系统时仍会被使用。在构造软件系统时，如果将所有模块的源代码都静态编译到整个应用程序EXE文件中，会]]></description><category></category></item><item><title><![CDATA[C++:STL标准入门汇总 ]]></title><link>https://blog.youkuaiyun.com/dreamlins/article/details/6297872</link><guid>https://blog.youkuaiyun.com/dreamlins/article/details/6297872</guid><author>dreamlins</author><pubDate>Sat, 02 Apr 2011 12:23:00 +0800</pubDate><description><![CDATA[<br />一、STL简介 <br />STL（Standard Template Library，标准模板库)是惠普实验室开发的一系列软件的统称。它是由Alexander Stepanov、Meng Lee和David R Musser在惠普实验室工作时所开发出来 <br />的。现在虽说它主要出现在C++中，但在被引入C++之前该技术就已经存在了很长的一段时间。 <br />STL的代码从广义上讲分为三类：algorithm（算法）、container（容器）和iterator（迭代器），几乎所有的代码]]></description><category></category></item><item><title><![CDATA[开始→运行→输入的命令集锦]]></title><link>https://blog.youkuaiyun.com/dreamlins/article/details/5911991</link><guid>https://blog.youkuaiyun.com/dreamlins/article/details/5911991</guid><author>dreamlins</author><pubDate>Tue, 28 Sep 2010 14:46:00 +0800</pubDate><description><![CDATA[<br />winver---------检查Windows版本<br />　　wmimgmt.msc----打开windows管理体系结构(WMI) <br />　　wupdmgr--------windows更新程序 <br />　　wscript--------windows脚本宿主设置 <br />　　write----------写字板 <br />　　winmsd---------系统信息 <br />　　wiaacmgr-------扫描仪和照相机向导 <br />　　winchat-----]]></description><category></category></item><item><title><![CDATA[删除 exe 本身(自删除)]]></title><link>https://blog.youkuaiyun.com/dreamlins/article/details/5905427</link><guid>https://blog.youkuaiyun.com/dreamlins/article/details/5905427</guid><author>dreamlins</author><pubDate>Sat, 25 Sep 2010 16:15:00 +0800</pubDate><description><![CDATA[<br />// KillMySelf.cpp : Defines the entry point for the console application.
//

#include "stdafx.h"
#include <windows.h>    

BOOL DeleteMyself(WCHAR *pHelper)    
{    
    int ret;    
	WCHAR helper[MAX_PATH];    
	ZeroMemory(helper, sizeof(]]></description><category></category></item><item><title><![CDATA[C++ 启动默认浏览器]]></title><link>https://blog.youkuaiyun.com/dreamlins/article/details/5827139</link><guid>https://blog.youkuaiyun.com/dreamlins/article/details/5827139</guid><author>dreamlins</author><pubDate>Fri, 20 Aug 2010 16:58:00 +0800</pubDate><description><![CDATA[<br />HKEY hkRoot,hSubKey; //定义注册表根关键字及子关键字<br />    char ValueName[256];<br />    unsigned char DataValue[256];<br />    unsigned long cbValueName=256;<br />    unsigned long cbDataValue=256;<br />    char ShellChar[256]; //定义命令行<br />    DWORD dwType;<br]]></description><category></category></item><item><title><![CDATA[MFC 实现网络消息的群发]]></title><link>https://blog.youkuaiyun.com/dreamlins/article/details/5826081</link><guid>https://blog.youkuaiyun.com/dreamlins/article/details/5826081</guid><author>dreamlins</author><pubDate>Fri, 20 Aug 2010 11:31:00 +0800</pubDate><description><![CDATA[以代话框模式建立 MFC 工程，源码如下：IShoeSimulatorDlg.h// IShoeSimulatorDlg.h : header file
//

#if !defined(AFX_ISHOESIMULATORDLG_H__74DA1E31_B7DE_4B40_8FDA_F4FC5325870C__INCLUDED_)
#define AFX_ISHOESIMULATORDLG_H__74DA1E31_B7DE_4B40_8FDA_F4FC5325870C__INCLUDED_

]]></description><category></category></item><item><title><![CDATA[C++ 关键字 const 的用法小结]]></title><link>https://blog.youkuaiyun.com/dreamlins/article/details/5820567</link><guid>https://blog.youkuaiyun.com/dreamlins/article/details/5820567</guid><author>dreamlins</author><pubDate>Wed, 18 Aug 2010 12:35:00 +0800</pubDate><description><![CDATA[1、消除C语言中预处理器的值替代产生的问题        C 语言中预处理器用值替代名字的用法是:  #define FULLPATHNAME 255 <br />        这种方法避免了魔数(magic value)但存在类型问题。	<br />     应该完全用const来取代define的值替代。如：const int FULLPATHNAME = 255; 2、限定变量，提高安全性<br />        例： const int n = 100;<br />        这里的变量n在]]></description><category></category></item></channel></rss>