<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>癫狂蚊子的痴狂世界 &#187; NetStream</title>
	<atom:link href="http://www.askgame.com.cn/index.php/game/tag/netstream/feed" rel="self" type="application/rss+xml" />
	<link>http://www.askgame.com.cn</link>
	<description>一切对我而言都是游戏! Everything is Game!</description>
	<lastBuildDate>Thu, 02 Feb 2012 05:58:50 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>在flash中插入流媒体</title>
		<link>http://www.askgame.com.cn/index.php/game/159</link>
		<comments>http://www.askgame.com.cn/index.php/game/159#comments</comments>
		<pubDate>Wed, 15 Apr 2009 09:42:32 +0000</pubDate>
		<dc:creator>癫狂蚊子</dc:creator>
				<category><![CDATA[我的代码世界]]></category>
		<category><![CDATA[as3]]></category>
		<category><![CDATA[NetStream]]></category>
		<category><![CDATA[视频]]></category>

		<guid isPermaLink="false">http://www.askgame.com.cn/?p=159</guid>
		<description><![CDATA[最几天，有同事问我网页中插入视频的方法，类似于youku，56一样的效果，回去做了一下，比想像中的要简单的多，方法帖出备查！ 插入流媒体先要有一个NetStream实例，NetStream的构造函数需要有个NetConnection实例，因此插入流媒体的基本方法如下~ var _netStream:NetStream; var _videoConnection:NetConnection=new NetConnection(); var _video:Video=new Video(); //因为不需要打开connection，因此在这里null就OK了~ _videoConnection.connect(null); _netStream=new NetStream(_videoConnection); _netStream.play("a53c527ba4354bc986bb3780b9b00b35.flv"); //将NetStream加载到Video的实例当中 _video.attachNetStream(_netStream); stage.addChild(_video); 至于实际应用当中，只需要将播放的flv的地址通过php传入flash当中就Ok了！不过貌似还要考虑服务器的负荷等实际情况，这个以后有机会请教下小宝了~]]></description>
		<wfw:commentRss>http://www.askgame.com.cn/index.php/game/159/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

