<?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: 很笨很惱人又不值一提的問題: Packages cannot be nested. (更新)</title>
	<atom:link href="http://blog.fm-lab.com/index.php/2007/07/31/77/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.fm-lab.com/index.php/2007/07/31/77/</link>
	<description>pei&#039;s blog version 3.0 a</description>
	<lastBuildDate>Tue, 07 Feb 2012 11:59:25 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>By: pei</title>
		<link>http://blog.fm-lab.com/index.php/2007/07/31/77/comment-page-1/#comment-1468</link>
		<dc:creator>pei</dc:creator>
		<pubDate>Wed, 01 Aug 2007 13:29:40 +0000</pubDate>
		<guid isPermaLink="false">http://blog.fm-lab.com/index.php/2007/07/31/77/#comment-1468</guid>
		<description>Fish, 我去看了你提供的連結，看起來是比較針對Flash cs3 vs. Flex2. 我把第二個package sample先移除了，因為，不懂得人會越看越不懂低。待我更了解後再來補充好了。</description>
		<content:encoded><![CDATA[<p>Fish, 我去看了你提供的連結，看起來是比較針對Flash cs3 vs. Flex2. 我把第二個package sample先移除了，因為，不懂得人會越看越不懂低。待我更了解後再來補充好了。</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: fish</title>
		<link>http://blog.fm-lab.com/index.php/2007/07/31/77/comment-page-1/#comment-1464</link>
		<dc:creator>fish</dc:creator>
		<pubDate>Wed, 01 Aug 2007 01:06:31 +0000</pubDate>
		<guid isPermaLink="false">http://blog.fm-lab.com/index.php/2007/07/31/77/#comment-1464</guid>
		<description>剛剛看了一下討論區，有人這麼回答 (大家愈改愈像 Java 了)：

You don&#039;t need the first script tag, the reference to the class file will be worked out from the names. I think when you import the script you are already in a default package, so when it sees the package declaration in the source file it throws the nesting error.

I think you also need to import multiupload.*; as you need to import the actual classes not the package itself (similar to Java). Alternatively you could replace * with the specific class name (e.g. &quot;import multiupload.MultiUpload;&quot;). 

http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?forumid=60&amp;catid=585&amp;threadid=1286925&amp;enterthread=y</description>
		<content:encoded><![CDATA[<p>剛剛看了一下討論區，有人這麼回答 (大家愈改愈像 Java 了)：</p>
<p>You don&#8217;t need the first script tag, the reference to the class file will be worked out from the names. I think when you import the script you are already in a default package, so when it sees the package declaration in the source file it throws the nesting error.</p>
<p>I think you also need to import multiupload.*; as you need to import the actual classes not the package itself (similar to Java). Alternatively you could replace * with the specific class name (e.g. &#8220;import multiupload.MultiUpload;&#8221;). </p>
<p><a href="http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?forumid=60&#038;catid=585&#038;threadid=1286925&#038;enterthread=y" rel="nofollow">http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?forumid=60&#038;catid=585&#038;threadid=1286925&#038;enterthread=y</a></p>
]]></content:encoded>
	</item>
</channel>
</rss>

