<?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>joel&#039;s FLEX blog &#187; VideoDisplay</title>
	<atom:link href="http://blog.desizen.com/TAG/videodisplay/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.desizen.com</link>
	<description>FLEX,网络安全,Linux</description>
	<lastBuildDate>Fri, 13 May 2011 02:18:31 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>FLEX例子之VideoDisplay(FLV视频播放器)</title>
		<link>http://blog.desizen.com/4lone/589.html</link>
		<comments>http://blog.desizen.com/4lone/589.html#comments</comments>
		<pubDate>Tue, 10 Mar 2009 05:40:48 +0000</pubDate>
		<dc:creator>joel</dc:creator>
				<category><![CDATA[FLEX]]></category>
		<category><![CDATA[TourDeFlex]]></category>
		<category><![CDATA[VideoDisplay]]></category>
		<category><![CDATA[例子]]></category>

		<guid isPermaLink="false">http://www.joelove.cn/?p=589</guid>
		<description><![CDATA[这个例子进行的是Tourdeflex:UI Controls:Other Controls:VideoDisplay 本例子用到了一个flv文件,点此下载.下载后解压放入src文件夹内. 简介: The VideoDisplay control lets you play an FLV file in a Flex application. It supports progressive download over HTTP, streaming from the Flash Media Server, and streaming from a Camera object. 例子: &#60;?xml version=&#34;1.0&#34; encoding=&#34;utf-8&#34;?&#62; &#60;mx:Application xmlns:mx=&#34;http://www.adobe.com/2006/mxml&#34; layout=&#34;horizontal&#34; verticalAlign=&#34;top&#34; horizontalAlign=&#34;center&#34; backgroundGradientColors=&#34;[0x000000,0x323232]&#34; paddingTop=&#34;0&#34; viewSourceURL=&#34;srcview/index.html&#34;&#62; &#160; &#60;mx:Script&#62; &#60;![CDATA[ [Bindable] private var TitleText:String [...]]]></description>
			<content:encoded><![CDATA[<p>这个例子进行的是<a href="http://blog.desizen.com/TAG/tourdeflex" class="st_tag internal_tag" rel="tag" title="Posts tagged with TourDeFlex">Tourdeflex</a>:UI Controls:Other Controls:<a href="http://blog.desizen.com/TAG/videodisplay" class="st_tag internal_tag" rel="tag" title="Posts tagged with VideoDisplay">VideoDisplay</a><br />
本例子用到了一个flv文件,<a href='http://www.joelove.cn/wp-content/uploads/2009/03/videodisplay.rar'>点此</a>下载.下载后解压放入src文件夹内.<br />
简介:<br />
The <a href="http://blog.desizen.com/TAG/videodisplay" class="st_tag internal_tag" rel="tag" title="Posts tagged with VideoDisplay">VideoDisplay</a> control lets you play an FLV file in a <a href="http://blog.desizen.com/TAG/flex" class="st_tag internal_tag" rel="tag" title="Posts tagged with FLEX">Flex</a> application. It supports progressive download over HTTP, streaming from the Flash Media Server, and streaming from a Camera object.<br />
例子:<span id="more-589"></span></p>

<div class="wp_syntax"><div class="code"><pre class="mxml" style="font-family:monospace;"><span style="color: #000000;">&lt;?xml version=<span style="color: #ff0000;">&quot;1.0&quot;</span> encoding=<span style="color: #ff0000;">&quot;utf-8&quot;</span>?<span style="color: #7400FF;">&gt;</span></span>
<span style="color: #000000;"><span style="color: #7400FF;">&lt;mx:Application</span> xmlns:mx=<span style="color: #ff0000;">&quot;http://www.adobe.com/2006/mxml&quot;</span> layout=<span style="color: #ff0000;">&quot;horizontal&quot;</span> verticalAlign=<span style="color: #ff0000;">&quot;top&quot;</span></span>
<span style="color: #000000;">    horizontalAlign=<span style="color: #ff0000;">&quot;center&quot;</span> backgroundGradientColors=<span style="color: #ff0000;">&quot;[0x000000,0x323232]&quot;</span> paddingTop=<span style="color: #ff0000;">&quot;0&quot;</span> viewSourceURL=<span style="color: #ff0000;">&quot;srcview/index.html&quot;</span><span style="color: #7400FF;">&gt;</span></span>
&nbsp;
    <span style="color: #339933;">&lt;mx:Script&gt;</span>
<span style="color: #339933;">        &lt;![CDATA[</span>
<span style="color: #339933;">            [Bindable]</span>
<span style="color: #339933;">            private var TitleText:String = &quot;&lt;b&gt;VideoDisplay Control:&lt;/b&gt;&quot; + &quot;\n&quot;  + &quot;Use the buttons to control the video.&quot;;</span>
<span style="color: #339933;">        ]]&gt;</span>
<span style="color: #339933;">    &lt;/mx:Script&gt;</span>
    <span style="color: #000000;"><span style="color: #7400FF;">&lt;mx:VBox</span> backgroundColor=<span style="color: #ff0000;">&quot;0x323232&quot;</span> width=<span style="color: #ff0000;">&quot;400&quot;</span> height=<span style="color: #ff0000;">&quot;240&quot;</span> backgroundAlpha=<span style="color: #ff0000;">&quot;1&quot;</span> horizontalAlign=<span style="color: #ff0000;">&quot;center&quot;</span></span>
<span style="color: #000000;">        borderThickness=<span style="color: #ff0000;">&quot;4&quot;</span> borderColor=<span style="color: #ff0000;">&quot;0x545454&quot;</span> cornerRadius=<span style="color: #ff0000;">&quot;4&quot;</span> borderStyle=<span style="color: #ff0000;">&quot;solid&quot;</span> paddingTop=<span style="color: #ff0000;">&quot;5&quot;</span> <span style="color: #7400FF;">&gt;</span></span>
&nbsp;
        <span style="color: #000000;"><span style="color: #7400FF;">&lt;mx:Text</span> width=<span style="color: #ff0000;">&quot;75%&quot;</span> color=<span style="color: #ff0000;">&quot;0xffffff&quot;</span> textAlign=<span style="color: #ff0000;">&quot;center&quot;</span></span>
<span style="color: #000000;">           htmlText=<span style="color: #ff0000;">&quot;{TitleText}&quot;</span><span style="color: #7400FF;">/&gt;</span><span style="color: #808080; font-style: italic;">&lt;!--使用html方式显示标题--&gt;</span></span>
&nbsp;
        <span style="color: #000000;"><span style="color: #7400FF;">&lt;mx:VideoDisplay</span> id=<span style="color: #ff0000;">&quot;myVid&quot;</span> height=<span style="color: #ff0000;">&quot;146&quot;</span> width=<span style="color: #ff0000;">&quot;220&quot;</span> source=<span style="color: #ff0000;">&quot;assets/sample_vid.flv&quot;</span> autoPlay=<span style="color: #ff0000;">&quot;false&quot;</span><span style="color: #7400FF;">/&gt;</span></span>
&nbsp;
        <span style="color: #000000;"><span style="color: #7400FF;">&lt;mx:HBox</span><span style="color: #7400FF;">&gt;</span></span>
            <span style="color: #000000;"><span style="color: #7400FF;">&lt;mx:Button</span> label=<span style="color: #ff0000;">&quot;Play&quot;</span> color=<span style="color: #ff0000;">&quot;0x00000&quot;</span> click=<span style="color: #ff0000;">&quot;myVid.play();&quot;</span><span style="color: #7400FF;">/&gt;</span><span style="color: #808080; font-style: italic;">&lt;!--控制按钮--&gt;</span></span>
            <span style="color: #000000;"><span style="color: #7400FF;">&lt;mx:Button</span> label=<span style="color: #ff0000;">&quot;Pause&quot;</span> color=<span style="color: #ff0000;">&quot;0x00000&quot;</span> click=<span style="color: #ff0000;">&quot;myVid.pause();&quot;</span><span style="color: #7400FF;">/&gt;</span></span>
            <span style="color: #000000;"><span style="color: #7400FF;">&lt;mx:Button</span> label=<span style="color: #ff0000;">&quot;Stop&quot;</span> color=<span style="color: #ff0000;">&quot;0x00000&quot;</span> click=<span style="color: #ff0000;">&quot;myVid.stop();&quot;</span><span style="color: #7400FF;">/&gt;</span></span>
        <span style="color: #000000;"><span style="color: #7400FF;">&lt;/mx:HBox</span><span style="color: #7400FF;">&gt;</span></span>
&nbsp;
    <span style="color: #000000;"><span style="color: #7400FF;">&lt;/mx:VBox</span><span style="color: #7400FF;">&gt;</span></span>
<span style="color: #000000;"><span style="color: #7400FF;">&lt;/mx:Application</span><span style="color: #7400FF;">&gt;</span></span></pre></div></div>


	标签：<a href="http://blog.desizen.com/TAG/flex" title="FLEX" rel="tag">FLEX</a>, <a href="http://blog.desizen.com/TAG/tourdeflex" title="TourDeFlex" rel="tag">TourDeFlex</a>, <a href="http://blog.desizen.com/TAG/videodisplay" title="VideoDisplay" rel="tag">VideoDisplay</a>, <a href="http://blog.desizen.com/TAG/%e4%be%8b%e5%ad%90" title="例子" rel="tag">例子</a><br />

	<h4>相关日志</h4>
	<ul class="st-related-posts">
	<li><a href="http://blog.desizen.com/4lone/539.html" title="FLEX例子之OLAP数据表(OLAPDataGrid) (2009年2月25日)">FLEX例子之OLAP数据表(OLAPDataGrid)</a> (0)</li>
	<li><a href="http://blog.desizen.com/4lone/186.html" title="FLEX作品&#8211;地图控件 (2008年10月23日)">FLEX作品&#8211;地图控件</a> (0)</li>
	<li><a href="http://blog.desizen.com/4lone/647.html" title="说说最近的事 (2009年4月3日)">说说最近的事</a> (1)</li>
	<li><a href="http://blog.desizen.com/4lone/431.html" title="在flex中应用css样式详解 (2009年2月5日)">在flex中应用css样式详解</a> (0)</li>
	<li><a href="http://blog.desizen.com/4lone/305.html" title="FLEX例子之富文本编辑器(RichTextEditor) (2008年12月30日)">FLEX例子之富文本编辑器(RichTextEditor)</a> (0)</li>
	<li><a href="http://blog.desizen.com/4lone/401.html" title="FLEX例子之弹出按钮(PopUpButton) (2009年1月14日)">FLEX例子之弹出按钮(PopUpButton)</a> (0)</li>
	<li><a href="http://blog.desizen.com/4lone/392.html" title="贴近站长的FLEX应用案例 (2009年1月14日)">贴近站长的FLEX应用案例</a> (0)</li>
	<li><a href="http://blog.desizen.com/4lone/288.html" title="FLEX例子之标记(Label) (2008年12月26日)">FLEX例子之标记(Label)</a> (0)</li>
	<li><a href="http://blog.desizen.com/4lone/59.html" title="flex登陆框实例 (2008年8月25日)">flex登陆框实例</a> (3)</li>
	<li><a href="http://blog.desizen.com/4lone/424.html" title="FLEX例子之链接切换条(LinkBar) (2009年2月5日)">FLEX例子之链接切换条(LinkBar)</a> (0)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://blog.desizen.com/4lone/589.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

