<?xml version="1.0" encoding="utf-8"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:dc = "http://purl.org/dc/elements/1.1/" xmlns="http://purl.org/rss/1.0/">
	<channel rdf:about="http://livedocs.adobe.com/">
	<title>LiveDocs Comments - flash - 9.0 - ActionScriptLangRefV3 - flash/filesystem/File.html</title>	
		<link>http://livedocs.adobe.com/</link>
		<description>Macromedia LiveDocs - online documentation with user feedback.</description>
		<copyright>Copyright 2009, Macromedia, Inc.</copyright>
		<dc:date>2009-11-25T01:37:14</dc:date>
		<dc:language>en-us</dc:language>
		<items>
			<rdf:Seq>
				<rdf:li rdf:resource="http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/filesystem/File.html#83938" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/filesystem/File.html#83914" />
			</rdf:Seq>
		</items>
	</channel>
	
	<item rdf:about="http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/filesystem/File.html#83938">
		<title>flash/9.0/ActionScriptLangRefV3/flash/filesystem/File.html</title>
		<link>http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/filesystem/File.html#83938</link>
		<description>@bomby:&lt;br&gt;&lt;br&gt;While it's generally best to include a semicolon at the end of each statement (and we should have done so) it's not strictly required. ActionScript has a rule called semicolon auto-insertion which (as it's name suggests) automatically adds a semicolon where there probably ought to be one (there are some specific rules it follows, of course). One place it will add a semicolon is at the end of a line before a closing curly brace, as in this example.&lt;br&gt;&lt;br&gt;Nevertheless, as I said, it's best not to rely on that rule and instead to just use a semicolon.</description>
		<dc:creator>adbe_paul</dc:creator>
		<dc:type>1 0</dc:type>
		<dc:date>2008-05-12T11:08:53</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/filesystem/File.html#83914">
		<title>flash/9.0/ActionScriptLangRefV3/flash/filesystem/File.html</title>
		<link>http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/filesystem/File.html#83914</link>
		<description>Semi-colon missing after statement [trace(&quot;Failed:&quot;, error.message)] in example, or is it not strictly necessary?&lt;br /&gt;&lt;br /&gt;import flash.filesystem.File;&lt;br /&gt;import flash.events.Event;&lt;br /&gt;&lt;br /&gt;var directory:File = File.documentsDirectory;&lt;br /&gt;&lt;br /&gt;try&lt;br /&gt;{&lt;br /&gt;    directory.browseForDirectory(&quot;Select Directory&quot;);&lt;br /&gt;    directory.addEventListener(Event.SELECT, directorySelected);&lt;br /&gt;}&lt;br /&gt;catch (error:Error)&lt;br /&gt;{&lt;br /&gt;    trace(&quot;Failed:&quot;, error.message)&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;function directorySelected(event:Event):void &lt;br /&gt;{&lt;br /&gt;    directory = event.target as File;&lt;br /&gt;    var files:Array = directory.getDirectoryListing();&lt;br /&gt;    for(var i:uint = 0; i &lt; files.length; i++)&lt;br /&gt;    {&lt;br /&gt;        trace(files[i].name);&lt;br /&gt;    }&lt;br /&gt;}</description>
		<dc:creator>bomby</dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2008-05-12T01:46:34</dc:date>
	</item>
	</rdf:RDF>

