<?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; 网页设计</title>
	<atom:link href="http://www.ppzhao.net/index.php/archives/category/web/feed" rel="self" type="application/rss+xml" />
	<link>http://www.ppzhao.net</link>
	<description>FLASH FLEX AS3 WEB UI ...</description>
	<lastBuildDate>Thu, 08 Apr 2010 08:14:29 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Zend Framework是个好东西！！！</title>
		<link>http://www.ppzhao.net/index.php/archives/294</link>
		<comments>http://www.ppzhao.net/index.php/archives/294#comments</comments>
		<pubDate>Wed, 16 Sep 2009 08:42:26 +0000</pubDate>
		<dc:creator>阿平</dc:creator>
				<category><![CDATA[FLASH/FLEX开发]]></category>
		<category><![CDATA[网页设计]]></category>

		<guid isPermaLink="false">http://www.flashcs4.com.cn/?p=294</guid>
		<description><![CDATA[今天详细研究了下ZendAMF,才知道Zend Framework不仅仅是ZendAMF这么简单，Zend Framework里面包含了一大包相对独立的组件，ZendAMF只是其中一个。
Zend Framework里面的组件真是五花八门，可以独立使用，也可以相互配合使用，这样就形成了这样一个强大的，并且是可以扩展的开发框架，这可能就是Zend相搞出来的一个公司，和Adobe的合作可能只是其中的一个推广手段。
不要用Flash Builder自带的生成程序了，打开网址：http://framework.zend.com/点上面的那个大大的DownLoad按钮，可以下到最近的版本，现在的版本是1.9，下载“Zend Framework 1.9.2 Full.zip”文件，里面不仅仅包括框架源码，还包括文档(居然还有部分内容是中文的)，开发范例什么的。
真是好东西啊，吃透了这个东西，php水平绝对可以大提升。
]]></description>
			<content:encoded><![CDATA[<p>今天详细研究了下ZendAMF,才知道Zend Framework不仅仅是ZendAMF这么简单，Zend Framework里面包含了一大包相对独立的组件，ZendAMF只是其中一个。<br />
Zend Framework里面的组件真是五花八门，可以独立使用，也可以相互配合使用，这样就形成了这样一个强大的，并且是可以扩展的开发框架，这可能就是Zend相搞出来的一个公司，和Adobe的合作可能只是其中的一个推广手段。<br />
不要用Flash Builder自带的生成程序了，打开网址：http://framework.zend.com/点上面的那个大大的DownLoad按钮，可以下到最近的版本，现在的版本是1.9，下载“Zend Framework 1.9.2 Full.zip”文件，里面不仅仅包括框架源码，还包括文档(居然还有部分内容是中文的)，开发范例什么的。<br />
真是好东西啊，吃透了这个东西，php水平绝对可以大提升。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ppzhao.net/index.php/archives/294/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>FLASH中弹窗口不被拦的方法</title>
		<link>http://www.ppzhao.net/index.php/archives/287</link>
		<comments>http://www.ppzhao.net/index.php/archives/287#comments</comments>
		<pubDate>Fri, 11 Sep 2009 08:24:16 +0000</pubDate>
		<dc:creator>阿平</dc:creator>
				<category><![CDATA[FLASH/FLEX开发]]></category>
		<category><![CDATA[网页设计]]></category>

		<guid isPermaLink="false">http://www.flashcs4.com.cn/?p=287</guid>
		<description><![CDATA[在flash中弹出新窗口，被拦，今天又遇到了。
在Flash中直接用navigateToURL();肯定是不行的，一定会被拦掉。
调JS的Window.open()也是不行的。
正确的方法是用JS模拟一个表单，把表单的target设为_blank.是可以成功，经过多种浏览器的试验，均可行。
在网页中放置JS代码

&#60;script type=&#34;text/javascript&#34;&#62;
function OpenNewWin&#40;url&#41;
&#123;
	var frm=document.createElement&#40;&#34;form&#34;&#41;;
    frm.method=&#34;POST&#34;;
    frm.target=&#34;_blank&#34;;
    frm.action=url;
    document.body.appendChild&#40;frm&#41;;
    frm.submit&#40;&#41;;
&#125;
&#60;/script&#62;

在FLASH中调JS：ExternalInterface.call(&#8220;OpenNewWin&#8221;,&#8221;网址&#8221;）;
即可。
如果出现JS错误，查一下Flash所在Object的ID有没有设。
]]></description>
			<content:encoded><![CDATA[<p>在flash中弹出新窗口，被拦，今天又遇到了。<br />
在Flash中直接用navigateToURL();肯定是不行的，一定会被拦掉。<br />
调JS的Window.open()也是不行的。<br />
正确的方法是用JS模拟一个表单，把表单的target设为_blank.是可以成功，经过多种浏览器的试验，均可行。<br />
在网页中放置JS代码</p>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;"><span style="color: #339933;">&lt;</span>script type<span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;text/javascript&quot;</span><span style="color: #339933;">&gt;</span>
<span style="color: #003366; font-weight: bold;">function</span> OpenNewWin<span style="color: #009900;">&#40;</span>url<span style="color: #009900;">&#41;</span>
<span style="color: #009900;">&#123;</span>
	<span style="color: #003366; font-weight: bold;">var</span> frm<span style="color: #339933;">=</span>document.<span style="color: #660066;">createElement</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;form&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    frm.<span style="color: #660066;">method</span><span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;POST&quot;</span><span style="color: #339933;">;</span>
    frm.<span style="color: #660066;">target</span><span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;_blank&quot;</span><span style="color: #339933;">;</span>
    frm.<span style="color: #660066;">action</span><span style="color: #339933;">=</span>url<span style="color: #339933;">;</span>
    document.<span style="color: #660066;">body</span>.<span style="color: #660066;">appendChild</span><span style="color: #009900;">&#40;</span>frm<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    frm.<span style="color: #660066;">submit</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
<span style="color: #339933;">&lt;/</span>script<span style="color: #339933;">&gt;</span></pre></div></div>

<p>在FLASH中调JS：ExternalInterface.call(&#8220;OpenNewWin&#8221;,&#8221;网址&#8221;）;<br />
即可。<br />
如果出现JS错误，查一下Flash所在Object的ID有没有设。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ppzhao.net/index.php/archives/287/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>fireFox中通过flash访问存储的session会丢？</title>
		<link>http://www.ppzhao.net/index.php/archives/269</link>
		<comments>http://www.ppzhao.net/index.php/archives/269#comments</comments>
		<pubDate>Tue, 18 Aug 2009 12:24:00 +0000</pubDate>
		<dc:creator>阿平</dc:creator>
				<category><![CDATA[FLASH/FLEX开发]]></category>
		<category><![CDATA[网页设计]]></category>

		<guid isPermaLink="false">http://www.flashcs4.com.cn/?p=269</guid>
		<description><![CDATA[最近搞公司的一个项目，是个flash全部，其中有个通过flash中的表单登陆网站的功能。
测试部门的反馈却是在FireFox火狐浏览器下，网站不能正常登陆，似乎依赖于用户身份的相关功能统统失效。很是郁闷。排查了N久，才发现是Session失效了。
在网上查了一下，发现很多人都遇到了这个问题。经过一翻讨论，最后用一个简单的办法解决了这个问题：
在用户登陆时，服务器将SessionID传给flash存储起来，在和服务器通信时，如需要，就将SessionID拼在URL后面，再传给服务器，用来识别用户的身份。
后记：为什么这个世界上会有这么多的浏览器需要我们去兼容呢？
]]></description>
			<content:encoded><![CDATA[<p>最近搞公司的一个项目，是个flash全部，其中有个通过flash中的表单登陆网站的功能。</p>
<p>测试部门的反馈却是在FireFox火狐浏览器下，网站不能正常登陆，似乎依赖于用户身份的相关功能统统失效。很是郁闷。排查了N久，才发现是Session失效了。</p>
<p>在网上查了一下，发现很多人都遇到了这个问题。经过一翻讨论，最后用一个简单的办法解决了这个问题：</p>
<p>在用户登陆时，服务器将SessionID传给flash存储起来，在和服务器通信时，如需要，就将SessionID拼在URL后面，再传给服务器，用来识别用户的身份。</p>
<p>后记：为什么这个世界上会有这么多的浏览器需要我们去兼容呢？</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ppzhao.net/index.php/archives/269/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>FLASH中相对地址引用的问题解决</title>
		<link>http://www.ppzhao.net/index.php/archives/228</link>
		<comments>http://www.ppzhao.net/index.php/archives/228#comments</comments>
		<pubDate>Tue, 30 Jun 2009 08:04:05 +0000</pubDate>
		<dc:creator>阿平</dc:creator>
				<category><![CDATA[网页设计]]></category>

		<guid isPermaLink="false">http://www.flashcs4.com.cn/?p=228</guid>
		<description><![CDATA[很多网页美工都被一个问题所困扰:网页在一个目录中,网页中的FLASH是在另一个目录中,这时flash里面要引用一个相对的地址,比如要跳转到某个页面.这时这个相对的地址是哪个的相对地址呢?是相对于网页的地址呢?还是相对于FLASH的地址呢?
其实这个问题很好解决,只要在插FLASH的网页代码中增加一行参数即可:
&#60;pram name=&#8221;base&#8221; value=&#8221;./&#8221;&#62;
其中value的值就是定义的flash里面引用相对对址所基于的那个地址.
]]></description>
			<content:encoded><![CDATA[<p>很多网页美工都被一个问题所困扰:网页在一个目录中,网页中的FLASH是在另一个目录中,这时flash里面要引用一个相对的地址,比如要跳转到某个页面.这时这个相对的地址是哪个的相对地址呢?是相对于网页的地址呢?还是相对于FLASH的地址呢?</p>
<p>其实这个问题很好解决,只要在插FLASH的网页代码中增加一行参数即可:</p>
<p>&lt;pram name=&#8221;base&#8221; value=&#8221;./&#8221;&gt;</p>
<p>其中value的值就是定义的flash里面引用相对对址所基于的那个地址.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ppzhao.net/index.php/archives/228/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WEB网页设计全色系颜色表</title>
		<link>http://www.ppzhao.net/index.php/archives/88</link>
		<comments>http://www.ppzhao.net/index.php/archives/88#comments</comments>
		<pubDate>Thu, 21 May 2009 04:44:56 +0000</pubDate>
		<dc:creator>阿平</dc:creator>
				<category><![CDATA[网页设计]]></category>
		<category><![CDATA[颜色表]]></category>

		<guid isPermaLink="false">http://www.flashcs4.com.cn/?p=88</guid>
		<description><![CDATA[曾经有位牛人对我说：对于半专业人士，网页配色只要注意两个原则就行了，其一：同一个页面里的颜色不要超过四种，其二：实在不会配，直接在PhotoShop里面用吸管吸附近的颜色就行了，即使不好看，也不会太差。
至今我都把这两条奉为真理。]]></description>
			<content:encoded><![CDATA[<p>曾经有位牛人对我说：对于半专业人士，网页配色只要注意两个原则就行了，其一：同一个页面里的颜色不要超过四种，其二：实在不会配，直接在PhotoShop里面用吸管吸附近的颜色就行了，即使不好看，也不会太差。<br />
至今我都把这两条奉为真理。</p>
<p><a href="http://www.flashcs4.com.cn/wp-content/uploads/2009/05/1.gif"><img class="alignnone size-full wp-image-89" title="1" src="http://www.flashcs4.com.cn/wp-content/uploads/2009/05/1.gif" alt="1" width="500" height="647" /></a></p>
<p><a href="http://www.flashcs4.com.cn/wp-content/uploads/2009/05/2.gif"><img class="alignnone size-full wp-image-90" title="2" src="http://www.flashcs4.com.cn/wp-content/uploads/2009/05/2.gif" alt="2" width="511" height="2365" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.ppzhao.net/index.php/archives/88/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>网页中flash wmode参数详解</title>
		<link>http://www.ppzhao.net/index.php/archives/9</link>
		<comments>http://www.ppzhao.net/index.php/archives/9#comments</comments>
		<pubDate>Fri, 15 May 2009 01:47:03 +0000</pubDate>
		<dc:creator>阿平</dc:creator>
				<category><![CDATA[网页设计]]></category>

		<guid isPermaLink="false">http://www.flashcs4.com.cn/?p=9</guid>
		<description><![CDATA[在做web开发中可能会遇到flash遮挡页面中元素的情况，无论怎么设置flash容器和层的深度(z-index)也无济于事，现有的解决方案是在插入flash的embed或object标签中加入”wmode”属性并设置为wmode=“transparent”或”opaque”，但wmode属性到底是什么意义，为什么可以解决这个问题呢？]]></description>
			<content:encoded><![CDATA[<p>在做web开发中可能会遇到flash遮挡页面中元素的情况，无论怎么设置flash容器和层的深度(z-index)也无济于事，现有的解决方案是在插入flash的embed或object标签中加入”wmode”属性并设置为wmode=“transparent”或”opaque”，但wmode属性到底是什么意义，为什么可以解决这个问题呢？</p>
<p><strong>window mode(wmode)</strong></p>
<p>wmode即窗口模式总共有三种，看看当年Macromedia官方的说法：</p>
<ul>
<li>Window: Use the Window value to play a Flash Player movie in its own rectangular window on a web page. This is the default value for wmode and it works the way the classic Flash Player works. This normally provides the fastest animation performance.</li>
<li>Opaque: By using the Opaque value you can use JavaScript to move or resize movies that don’t need a transparent background. Opaque mode makes the movie hide everything behind it on the page. Additionally, opaque mode moves elements behind Flash movies (for example, with dynamic HTML) to prevent them from showing through.</li>
<li>Transparent: Transparent mode allows the background of the HTML page, or the DHTML layer underneath the Flash movie or layer, to show through all the transparent portions of the movie. This allows you to overlap the movie with other elements of the HTML page. Animation performance might be slower when you use this value.</li>
</ul>
<p><strong>window 模式</strong></p>
<p>默认情况下的显示模式，在这种模式下flash player有自己的窗口句柄，这就意味着flash影片是存在于Windows中的一个显示实例，并且是在浏览器核心显示窗口之上的，所以flash只是貌似显示在浏览器中，但这也是flash最快最有效率的渲染模式。由于他是独立于浏览器的HTML渲染表面，这就导致默认显示方式下flash总是会遮住位置与他重合的所有DHTML层。</p>
<p>但是大多数苹果电脑浏览器会允许DHTML层显示在flash之上，但当flash影片播放时会出现比较诡异的现象，比如DHTML层像被flash刮掉一块一样显示异常。</p>
<p><strong>Opaque 模式</strong></p>
<p>这是一种无窗口模式，在这种情况下flash player没有自己的窗口句柄，这就需要浏览器需要告诉flash player在浏览器的渲染表面绘制的时间和位置。这时flash影片就不会在高于浏览器HTML渲染表面而是与其他元素一样在同一个页面上,因此你就可以使用z-index值来控制DHTML元素是遮盖flash或者被遮盖。</p>
<p><strong>Transparent 模式</strong></p>
<p>透明模式，在这种模式下flash player会将stage的背景色alpha值将为0并且只会绘制stage上真实可见的对象，同样你也可以使用z-index来控制flash影片的深度值，但是与Opaque模式不同的是这样做会降低flash影片的回放效果，而且在9.0.115之前的flash player版本设置wmode=”opaque”或”transparent”会导致全屏模式失效。</p>
<p>了解了各种模式的实现方式和意义在以后的开发中就可以按照具体情况选择设置wmode属性的值了。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ppzhao.net/index.php/archives/9/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
