﻿<?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>Xixi&#039;s Blog &#187; Flash</title>
	<atom:link href="http://www.xixis.net/archives/tag/flash/feed" rel="self" type="application/rss+xml" />
	<link>http://www.xixis.net</link>
	<description>http://www.xixis.net  &#124;  Eternal Sunshine of the Spotless Mind</description>
	<lastBuildDate>Thu, 12 Jan 2012 06:04:19 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>解决Ubuntu下Firefox Flash插件中文乱码</title>
		<link>http://www.xixis.net/archives/under-the-settlement-ubuntu-garbled-firefox-flash-plug-in-chinese.html</link>
		<comments>http://www.xixis.net/archives/under-the-settlement-ubuntu-garbled-firefox-flash-plug-in-chinese.html#comments</comments>
		<pubDate>Wed, 24 Mar 2010 19:43:39 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[linux相关]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://www.xixis.net/archives/%e8%a7%a3%e5%86%b3ubuntu%e4%b8%8bfirefox-flash%e6%8f%92%e4%bb%b6%e4%b8%ad%e6%96%87%e4%b9%b1%e7%a0%81.html</guid>
		<description><![CDATA[打开firefox的 编辑-&#62;首选项，切换到内容标签栏，在字体＆颜色那一栏点击高级，打开一个对话框，在对话框的下面将默认字符编码那一栏改为：简体中文(GB2312).
cd /etc/fonts/conf.d/
cp 49-sansserif.conf 49-sansserif.conf.bak
sudo gedit 49-sansserif.conf
将对应的内容改为：

&#60;match target=&#34;pattern&#34;&#62;
&#60;test qual=&#34;all&#34; name=&#34;family&#34; compare=&#34;not_eq&#34;&#62;
&#60;string&#62;仿宋_GB2312&#60;/string&#62;
&#60;/test&#62;
&#60;test qual=&#34;all&#34; name=&#34;family&#34; compare=&#34;not_eq&#34;&#62;
&#60;string&#62;仿宋_GB2312&#60;/string&#62;
&#60;/test&#62;
&#60;test qual=&#34;all&#34; name=&#34;family&#34; compare=&#34;not_eq&#34;&#62;
&#60;string&#62;monospace&#60;/string&#62;
&#60;/test&#62;
&#60;edit name=&#34;family&#34; mode=&#34;append_last&#34;&#62;
&#60;string&#62;仿宋_GB2312&#60;/string&#62;
&#60;/edit&#62;
&#60;/match&#62;

要确定仿宋字体已安装，之后重启Firefox就好了。
]]></description>
			<content:encoded><![CDATA[<p>打开firefox的 编辑-&gt;首选项，切换到内容标签栏，在字体＆颜色那一栏点击高级，打开一个对话框，在对话框的下面将默认字符编码那一栏改为：简体中文(GB2312).</p>
<blockquote><p>cd /etc/fonts/conf.d/</p></blockquote>
<blockquote><p>cp 49-sansserif.conf 49-sansserif.conf.bak</p></blockquote>
<blockquote><p>sudo gedit 49-sansserif.conf</p></blockquote>
<p>将对应的内容改为：</p>

<div class="wp_syntax"><div class="code"><pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;match</span> <span style="color: #000066;">target</span>=<span style="color: #ff0000;">&quot;pattern&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;test</span> <span style="color: #000066;">qual</span>=<span style="color: #ff0000;">&quot;all&quot;</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;family&quot;</span> <span style="color: #000066;">compare</span>=<span style="color: #ff0000;">&quot;not_eq&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>仿宋_GB2312<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/test<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;test</span> <span style="color: #000066;">qual</span>=<span style="color: #ff0000;">&quot;all&quot;</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;family&quot;</span> <span style="color: #000066;">compare</span>=<span style="color: #ff0000;">&quot;not_eq&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>仿宋_GB2312<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/test<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;test</span> <span style="color: #000066;">qual</span>=<span style="color: #ff0000;">&quot;all&quot;</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;family&quot;</span> <span style="color: #000066;">compare</span>=<span style="color: #ff0000;">&quot;not_eq&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>monospace<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/test<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;edit</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;family&quot;</span> <span style="color: #000066;">mode</span>=<span style="color: #ff0000;">&quot;append_last&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>仿宋_GB2312<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/edit<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/match<span style="color: #000000; font-weight: bold;">&gt;</span></span></span></pre></div></div>

<p>要确定仿宋字体已安装，之后重启Firefox就好了。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.xixis.net/archives/under-the-settlement-ubuntu-garbled-firefox-flash-plug-in-chinese.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>flash六种点击停止或播放的按钮代码</title>
		<link>http://www.xixis.net/archives/flash-six-hits-to-stop-or-play-button-code.html</link>
		<comments>http://www.xixis.net/archives/flash-six-hits-to-stop-or-play-button-code.html#comments</comments>
		<pubDate>Tue, 02 Sep 2008 18:15:24 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[开发]]></category>
		<category><![CDATA[Flash]]></category>

		<guid isPermaLink="false">http://127.0.0.1/wp7/?p=153</guid>
		<description><![CDATA[以下是flash六种点击停止或播放的按钮代码。有需要的朋友可以看看。
ps=0;//初始化ps,有些算法要用到。 //循环算法-1 on (release) {  i++;  if (i == 1) {  &#160;play();  } else {  &#160;stop();  }  if (i>=2) { //当i=2时，让i=0，i就在1-0之间循环  &#160;i = 0;  } } //绝对值算法-2 on (release) { ps=Math.abs(ps-1)//计算绝对值ps if(ps==0){play(); }else{stop();} } on (release) { ps=Math.abs(ps-1)//计算绝对值ps if(ps==0){play(); }else{stop();} } //非算法-真假判断法-3 on (release) {  if (!ps) { //非算法，非真等于假，非假等于真  &#160;stop();  &#160;ps = true;//或者ps=1;因为算法里1代表真0代表假  } else {  &#160;ps = false;//或者ps=0;  &#160;play();  } } //赋值算法( 类似于第三种算法)-4 on (release) {  if (ps == 0) {  ...]]></description>
			<content:encoded><![CDATA[<p>以下是flash六种点击停止或播放的按钮代码。有需要的朋友可以看看。<br/><span id="more-153"></span><br/>
<pre lang="php" linenum="off"  ><br/>ps=0;//初始化ps,有些算法要用到。 <br/>//循环算法-1 <br/>on (release) { <br/> i++; <br/> if (i == 1) { <br/> &nbsp;play(); <br/> } else { <br/> &nbsp;stop(); <br/> } <br/> if (i>=2) { //当i=2时，让i=0，i就在1-0之间循环 <br/> &nbsp;i = 0; <br/> } <br/>} <br/><br/>//绝对值算法-2 <br/><br/>on (release) { <br/>ps=Math.abs(ps-1)//计算绝对值ps <br/>if(ps==0){play(); <br/>}else{stop();} <br/>} <br/><br/>on (release) { <br/>ps=Math.abs(ps-1)//计算绝对值ps <br/>if(ps==0){play(); <br/>}else{stop();} <br/>} <br/><br/>//非算法-真假判断法-3 <br/><br/>on (release) { <br/> if (!ps) { //非算法，非真等于假，非假等于真 <br/> &nbsp;stop(); <br/> &nbsp;ps = true;//或者ps=1;因为算法里1代表真0代表假 <br/> } else { <br/> &nbsp;ps = false;//或者ps=0; <br/> &nbsp;play(); <br/> } <br/>} <br/><br/>//赋值算法( 类似于第三种算法)-4 <br/><br/>on (release) { <br/> if (ps == 0) { <br/> &nbsp;stop(); <br/> &nbsp;ps = 1; <br/> } else { <br/> &nbsp;play(); <br/> &nbsp;ps = 0; <br/> } <br/>} <br/><br/>//奇偶数的算法-5 <br/><br/>on (release) { <br/> if (ps%2 == 1) { <br/> &nbsp;play(); <br/> } else { <br/> &nbsp;stop(); <br/> } <br/> ps++; <br/>} <br/><br/>on (release) { <br/> if (ps%2 == 1) { <br/> &nbsp;play(); <br/> } else { <br/> &nbsp;stop(); <br/> } <br/> ps++; <br/>} <br/><br/>//异或运算法-6 <br/><br/>on (release) { <br/>if(ps^1){ //异或：0异或1等于1，1异或1等于0。 <br/> stop(); <br/>}else{ <br/> play(); <br/>} <br/>ps++; <br/>if (ps>=2){ <br/> ps = 0; <br/>} <br/>} <br/><br/>on (release) { <br/>if(ps^1){ //异或：0异或1等于1，1异或1等于0。 <br/> stop(); <br/>}else{ <br/> play(); <br/>} <br/>ps++; <br/>if (ps>=2){ <br/> ps = 0; <br/>} <br/>}<br/></pre>
<p><br/></p>
]]></content:encoded>
			<wfw:commentRss>http://www.xixis.net/archives/flash-six-hits-to-stop-or-play-button-code.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

