<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: ［三腳貓的］AS3筆記-之AS3一玄:Error 1119</title>
	<atom:link href="http://www.silkrt.com/v01/2008/06/13/%ef%bc%bb%e4%b8%89%e8%85%b3%e8%b2%93%e7%9a%84%ef%bc%bdas3%e7%ad%86%e8%a8%98-%e4%b9%8bas3%e4%b8%80%e7%8e%84error-1119/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.silkrt.com/v01/2008/06/13/%ef%bc%bb%e4%b8%89%e8%85%b3%e8%b2%93%e7%9a%84%ef%bc%bdas3%e7%ad%86%e8%a8%98-%e4%b9%8bas3%e4%b8%80%e7%8e%84error-1119/</link>
	<description>W.E. Linked</description>
	<lastBuildDate>Mon, 22 Feb 2010 10:00:53 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: 不惑仔</title>
		<link>http://www.silkrt.com/v01/2008/06/13/%ef%bc%bb%e4%b8%89%e8%85%b3%e8%b2%93%e7%9a%84%ef%bc%bdas3%e7%ad%86%e8%a8%98-%e4%b9%8bas3%e4%b8%80%e7%8e%84error-1119/comment-page-1/#comment-1235</link>
		<dc:creator>不惑仔</dc:creator>
		<pubDate>Sun, 12 Apr 2009 07:06:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.silkrt.com/v01/2008/06/13/%ef%bc%bb%e4%b8%89%e8%85%b3%e8%b2%93%e7%9a%84%ef%bc%bdas3%e7%ad%86%e8%a8%98-%e4%b9%8bas3%e4%b8%80%e7%8e%84error-1119/#comment-1235</guid>
		<description>試試傳統用法 :p
this.parent.parent[&quot;whatevernested&quot;].alpha=0.5;</description>
		<content:encoded><![CDATA[<p>試試傳統用法 :p<br />
this.parent.parent["whatevernested"].alpha=0.5;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Marc</title>
		<link>http://www.silkrt.com/v01/2008/06/13/%ef%bc%bb%e4%b8%89%e8%85%b3%e8%b2%93%e7%9a%84%ef%bc%bdas3%e7%ad%86%e8%a8%98-%e4%b9%8bas3%e4%b8%80%e7%8e%84error-1119/comment-page-1/#comment-661</link>
		<dc:creator>Marc</dc:creator>
		<pubDate>Sun, 15 Jun 2008 07:52:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.silkrt.com/v01/2008/06/13/%ef%bc%bb%e4%b8%89%e8%85%b3%e8%b2%93%e7%9a%84%ef%bc%bdas3%e7%ad%86%e8%a8%98-%e4%b9%8bas3%e4%b8%80%e7%8e%84error-1119/#comment-661</guid>
		<description>迅速寫了一篇&quot;無知萬萬用&quot;希望你看得懂</description>
		<content:encoded><![CDATA[<p>迅速寫了一篇&quot;無知萬萬用&quot;希望你看得懂</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: pei</title>
		<link>http://www.silkrt.com/v01/2008/06/13/%ef%bc%bb%e4%b8%89%e8%85%b3%e8%b2%93%e7%9a%84%ef%bc%bdas3%e7%ad%86%e8%a8%98-%e4%b9%8bas3%e4%b8%80%e7%8e%84error-1119/comment-page-1/#comment-660</link>
		<dc:creator>pei</dc:creator>
		<pubDate>Sat, 14 Jun 2008 17:00:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.silkrt.com/v01/2008/06/13/%ef%bc%bb%e4%b8%89%e8%85%b3%e8%b2%93%e7%9a%84%ef%bc%bdas3%e7%ad%86%e8%a8%98-%e4%b9%8bas3%e4%b8%80%e7%8e%84error-1119/#comment-660</guid>
		<description>嗯 我剛寫不久 幾乎沒有用到過parent，我當時遇到1119錯誤的時候是我用到上面寫的那行getchildat [意思倒過來但是差不多的意思] 股溝下來 查得了zeuslabs的那篇解說 才知道原來還不少人遇到這樣的問題

正規的 MovieClip(this.parent.parent).whatevernested.alpha=.5 ;
意思是一樣的 通常都是卡在不知道要cast 才會有1119的錯誤訊息 當時我看用as MovieClip來cast覺得很有趣 原來flash也可以這樣寫 好像Coldfusion的語法 還滿有親切感的

對了 能不能請你寫一篇dispatchEvent 的運用呢?</description>
		<content:encoded><![CDATA[<p>嗯 我剛寫不久 幾乎沒有用到過parent，我當時遇到1119錯誤的時候是我用到上面寫的那行getchildat [意思倒過來但是差不多的意思] 股溝下來 查得了zeuslabs的那篇解說 才知道原來還不少人遇到這樣的問題</p>
<p>正規的 MovieClip(this.parent.parent).whatevernested.alpha=.5 ;<br />
意思是一樣的 通常都是卡在不知道要cast 才會有1119的錯誤訊息 當時我看用as MovieClip來cast覺得很有趣 原來flash也可以這樣寫 好像Coldfusion的語法 還滿有親切感的</p>
<p>對了 能不能請你寫一篇dispatchEvent 的運用呢?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Marc</title>
		<link>http://www.silkrt.com/v01/2008/06/13/%ef%bc%bb%e4%b8%89%e8%85%b3%e8%b2%93%e7%9a%84%ef%bc%bdas3%e7%ad%86%e8%a8%98-%e4%b9%8bas3%e4%b8%80%e7%8e%84error-1119/comment-page-1/#comment-657</link>
		<dc:creator>Marc</dc:creator>
		<pubDate>Sat, 14 Jun 2008 04:34:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.silkrt.com/v01/2008/06/13/%ef%bc%bb%e4%b8%89%e8%85%b3%e8%b2%93%e7%9a%84%ef%bc%bdas3%e7%ad%86%e8%a8%98-%e4%b9%8bas3%e4%b8%80%e7%8e%84error-1119/#comment-657</guid>
		<description>別這麼說,大家都是 AS3 新手

不過如果你的東西有很多 parent,就代表你的東西很不ｏｏｐ,
一般來講,由上往下就一路點(dot&quot;.&quot;)下去就好了,不過有下往上,也就是ㄧ要在children執行parent的動作,盡量用 dispatchEvent會比較好,不過你這招也真是特別,說不定某些狀況可以派上用場 (capture phase)
MovieClip(this.parent.parent).whatevernested.alpha=.5 ;
我比較喜歡用正規的casting

不過displayContainer不也繼承了alpha, x, y...等等的屬性嗎？ 只是不能亂加custom variables,其他的應該也可以設定吧.</description>
		<content:encoded><![CDATA[<p>別這麼說,大家都是 AS3 新手</p>
<p>不過如果你的東西有很多 parent,就代表你的東西很不ｏｏｐ,<br />
一般來講,由上往下就一路點(dot&#8221;.&#8221;)下去就好了,不過有下往上,也就是ㄧ要在children執行parent的動作,盡量用 dispatchEvent會比較好,不過你這招也真是特別,說不定某些狀況可以派上用場 (capture phase)<br />
MovieClip(this.parent.parent).whatevernested.alpha=.5 ;<br />
我比較喜歡用正規的casting</p>
<p>不過displayContainer不也繼承了alpha, x, y&#8230;等等的屬性嗎？ 只是不能亂加custom variables,其他的應該也可以設定吧.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
