<?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>Blog.BitTube.com &#187; Flash 7</title>
	<atom:link href="http://blog.bittube.com/category/development/flash-7/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.bittube.com</link>
	<description>flash examples and development for the web, PSP Flash Player, Mobile flash lite player. All mixed up with some random thoughts, photos, images and poetic words</description>
	<lastBuildDate>Mon, 01 Feb 2010 13:58:16 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>FlashLite Helper Classes for Download. Pt 2. NetworkBroadcaster</title>
		<link>http://blog.bittube.com/2007/10/22/flashlite-helper-classes-for-download-pt-2-networkbroadcaster/</link>
		<comments>http://blog.bittube.com/2007/10/22/flashlite-helper-classes-for-download-pt-2-networkbroadcaster/#comments</comments>
		<pubDate>Mon, 22 Oct 2007 15:35:23 +0000</pubDate>
		<dc:creator>Dave</dc:creator>
				<category><![CDATA[ActionScript 2]]></category>
		<category><![CDATA[BitTube Work]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[Downloads]]></category>
		<category><![CDATA[Flash 7]]></category>
		<category><![CDATA[Flash Lite]]></category>
		<category><![CDATA[FlashLite 2]]></category>
		<category><![CDATA[FlashLite 3]]></category>
		<category><![CDATA[Mobile Development]]></category>
		<category><![CDATA[Mobile Devices]]></category>
		<category><![CDATA[Mobile Phones]]></category>
		<category><![CDATA[ActionScript]]></category>
		<category><![CDATA[Battery]]></category>
		<category><![CDATA[Download]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[FlashLite]]></category>
		<category><![CDATA[Mobile]]></category>

		<guid isPermaLink="false">http://blog.bittube.com/2007/10/22/flashlite-helper-classes-for-download-pt-2-networkbroadcaster/</guid>
		<description><![CDATA[Following on from the simple BatteryBroadcaster class posted last week I have put together a second helper class for FlashLite, again built in ActionScript 2, so it should work for any FlashLite 2 or FlashLite 3 project. The NetworkBroadcaster class centralises all network and signal related events, and broadcasts any changes to listeners on 2 [...]]]></description>
			<content:encoded><![CDATA[<p>Following on from the simple BatteryBroadcaster class <a href="http://blog.bittube.com/2007/10/18/flashlite-2-helper-classes-for-download-pt-1-batterybroadcaster/">posted last week</a> I have put together a second helper class for FlashLite, again built in ActionScript 2, so it should work for any FlashLite 2 or FlashLite 3 project. The NetworkBroadcaster class centralises all network and signal related events, and broadcasts any changes to listeners on 2 separate intervals. One for general signal levels, the other for "other" network status events, for example changes in network generation support.<br />
<span id="more-219"></span><br />
The idea here is that signal levels probably change more frequently than some of the other network properties, so we may not need to check them so frequently. In theory this should reduce processing in our application, and as a result save our users some precious battery time. I say in theory, I haven't tested is this makes any noticeable difference.<br />
<br />
The NetworkBroadcaster class, like the BatteryBroadcaster class, uses some custom "Event" classes, SignalEvent and NetworkEvent, these both extend from the same custom core Event class as was used in the BatteryBroadcaster class. Once again I am using the EventDispatcher class to broadcast the Network and signal changes. This should mean that there is a limited file size over head in your application if you are:</p>
<ol>
<li>Already using the <code>mx.events.EventDispatcher</code> class in your FlashLite application</li>
<li>Planning on or maybe already are, using my <code>com.bittube.core.BatteryBroadcaster</code> class in your FlashLite application. (incidentally if you are I am honored, and would also like to know <img src='http://blog.bittube.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' />  )</li>
</ol>
<p>
You can download the NetworkBroadcaster classes from the link below.<br />
<br />
<a href="http://blog.bittube.com/assets/downloads/NetworkBroadcaster.zip">Download the NetworkBroadcaster.zip</a><br />
<br />
It is also posted in the <a href="http://blog.bittube.com/downloads/">Downloads</a> area if you loose this post.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.bittube.com/2007/10/22/flashlite-helper-classes-for-download-pt-2-networkbroadcaster/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Detecting Screen Rotation in Nokia N95 Browser</title>
		<link>http://blog.bittube.com/2007/09/18/detecting-screen-rotation-in-nokia-n95-browser/</link>
		<comments>http://blog.bittube.com/2007/09/18/detecting-screen-rotation-in-nokia-n95-browser/#comments</comments>
		<pubDate>Tue, 18 Sep 2007 20:30:41 +0000</pubDate>
		<dc:creator>Dave</dc:creator>
				<category><![CDATA[ActionScript 2]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[Flash 7]]></category>
		<category><![CDATA[FlashLite 2]]></category>
		<category><![CDATA[Mobile Development]]></category>
		<category><![CDATA[Mobile Devices]]></category>
		<category><![CDATA[Mobile Phones]]></category>

		<guid isPermaLink="false">http://blog.bittube.com/2007/09/18/detecting-screen-rotation-in-nokia-n95-browser/</guid>
		<description><![CDATA[Continuing my work with Web Development for Mobile Phones and other Devices I updated my very simple early FlashLite 2 tests that I showed on in screen shots on my N95. 
In those posts I discussed the problem of detecting screen rotation detection on the Nokia N95. I could not get the FlashLite player to [...]]]></description>
			<content:encoded><![CDATA[<p>Continuing my work with Web Development for Mobile Phones and other Devices I updated my very simple <a href="http://blog.bittube.com/2007/04/19/flashlite2-development-for-the-nokia-n95-browser/">early FlashLite 2 tests</a> that I showed on in <a href="http://blog.bittube.com/2007/04/20/nokia-n95-flashlite-2-browser-support-screen-shots/">screen shots on my N95</a>. </p>
<p>In those posts I discussed the problem of detecting screen rotation detection on the Nokia N95. I could not get the FlashLite player to register a change in Stage size when switching from portrait to landscape viewing modes. I have since added a little JavaScript function that I thought might be able to detect this change in lieu of the FlashPlayer not working.</p>
<p>Unfortunately all methods I have attempted so far to register a change in orientation have failed. The browser does not seem to support the onResize event which I assumed would provide the answer. This limitation appears similar to information I have found from iPhone web developers that have encountered similar issues.</p>
<p><a href="http://blogs.smugmug.com/don/2007/07/13/smugmug-on-our-iphones/">SmugBlog</a> Makes Reference to it on there site. There is also a couple of links to a Framework that provides a work around of sorts using an interval.</p>
<p><a href="http://www.joehewitt.com">joehewitt</a>, the developer responsible for the facebook I belive, has published the <a href="http://www.joehewitt.com/iui/">iUI</a>  as a <a href="http://code.google.com/p/iui/">google code project</a>.</p>
<p>In addition to the resize problem it seems that the FlashLite 2 player within the browser does not offer support for the FlashVars parameter of the Embed and Object tags, it also does not appear to support appending variables on the SWF path name. These limitations would not allow values to be passed into the SWF file at run time.</p>
<p>A final test I performed was to export my test movie not as FlashLite content, but rather as Flash Player 6 and Flash Player 7 content with ActionScript 2 support. The thinking behind this was that this would offer me some lowest common denominator for publishing mobile flash content on a broad range of devices. Sony's PSP of course uses the Flash Player 6 as its platform while Nintendo's Wii uses the Flash Player 7. Both versions of the file ran within the FlashLite 2 Player. Although no the IDE did complain about using FlashLite specific FSCommand2 functions. In addition there was some issues with the image loader in the Flash Player 6 version of the swf when loaded by the FlashLite 2 player, the image was rotated through -90 degrees for some reason.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.bittube.com/2007/09/18/detecting-screen-rotation-in-nokia-n95-browser/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Balthaser patent .180 reexamination</title>
		<link>http://blog.bittube.com/2006/08/18/balthaser-patent-180-reexamination/</link>
		<comments>http://blog.bittube.com/2006/08/18/balthaser-patent-180-reexamination/#comments</comments>
		<pubDate>Fri, 18 Aug 2006 13:29:16 +0000</pubDate>
		<dc:creator>Dave</dc:creator>
				<category><![CDATA[.Net]]></category>
		<category><![CDATA[AJAX]]></category>
		<category><![CDATA[ActionScript 2]]></category>
		<category><![CDATA[ActionScript 3]]></category>
		<category><![CDATA[BitTube Work]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[Flash 7]]></category>
		<category><![CDATA[Flash 8]]></category>
		<category><![CDATA[Flash 9]]></category>
		<category><![CDATA[Flash Lite]]></category>
		<category><![CDATA[Flash for PSP]]></category>
		<category><![CDATA[Flex 2]]></category>
		<category><![CDATA[PortableApps]]></category>
		<category><![CDATA[Ruby]]></category>

		<guid isPermaLink="false">http://blog.bittube.com/2006/08/18/balthaser-patent-180-reexamination/</guid>
		<description><![CDATA[As Mike over at Flashgen.com and also Aral Balkan reports it seems someone is looking to contest the ridiculous Balthaser RIA patent that was reported a while ago by a number of Flash developers. I have also been contacted by Oliver Lorenz with regard to providing more information and certainly urge anyone that wants to [...]]]></description>
			<content:encoded><![CDATA[<p>As Mike over at <a href="http://blog.flashgen.com/2006/08/17/the-balthaser-ria-patent-revisited/trackback/">Flashgen.com</a> and also <a href="http://aralbalkan.com/695">Aral Balkan</a> reports it seems someone is looking to contest the ridiculous <a href="http://patft.uspto.gov/netacgi/nph-Parser?Sect1=PTO1&Sect2=HITOFF&d=PALL&p=1&u=%2Fnetahtml%2FPTO%2Fsrchnum.htm&r=1&f=G&l=50&s1=7,000,180.PN.&OS=PN/7,000,180&RS=PN/7,000,180">Balthaser RIA patent</a> that was reported a while ago by a number of Flash developers. I have also been contacted by Oliver Lorenz with regard to providing more information and certainly urge anyone that wants to beable to continue RIA development without the potential of infringing on this patent.</p>
<p>The issue I have with the patent is its broad and sweeping coverage of very common interface and application GUI design systems. As an example reading one portion of the "Summary of The Invention".</p>
<blockquote><p>When editing a component, the user may modify a number of features associated with a component including, but not limited to, the volume of an acoustic component, the link between a menu entry and an associated component, the font, font size, color, or effect of a text field, or the layout, size, transparency, rotation, color, position, or level of any graphical rich-media component. The user may modify these components by means of a slider bar or a textual input field. In addition, the user may modify the volume of a sound component by means of up and down volume buttons. The user may undo modifications made to a component's parameters. The user may also modify the position of a graphical rich-media component by a graphical input field, by clicking and dragging said component, or by text fields. When the user modifies the position of a graphical rich-media component by means of clicking and dragging said component, said component may align itself to a grid point or a guide line. The user may also modify the style and the Uniform Resource Locator (URL) of a component linked to a menu entry. </p></blockquote>
<p>Unless I am mistaken the recently posted link to <a href="http://netvibes.com/">Netvibes</a> would actually infringe on this part of the patent. In that the user can select 'panes' or 'graphical rich-media components' of the netvibes application and alter there position within the application by clicking and dragging them to a new position.</p>
<p>In this example, because there is no specific technology linked to the patent claim, any RIA in any technology, Flash, Ajax, Appolo, XUL Runner, HaXe, Sparkle, add any other future technology here..... These systems would all be in break of the patent claim.</p>
<p>And this is just <strong>ONE</strong> of the <strong>EIGHTY THREE</strong> different claims in this patent.</p>
<p>Very worrying I think any developer would agree. Everyone involved in Internet application development, in my opinion, should take a serious look at this patent. Think about ANY work they have done or seen in past. The work they are doing today. Then consider the possible implications of future networked development. If you know of anything that has been posted, exhibited or shown publicly that can bring this patent down, it is in every ones interest to make it known to strengthen the Magix reexamination.</p>
<p>And remember we are not just talking about flash applications or work here. If you remember or are aware of ANY online application, in any technology, be it DHTML, Director, Java or anything else. If it used any, all or even one of these systems to allow user interation then it may well be enough to show that Mr Neil Balthaser did not invent these systems, and certainly has not right to lay claim to doing so as he has in his patent application.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.bittube.com/2006/08/18/balthaser-patent-180-reexamination/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>10 years of flash, my how things have changed.</title>
		<link>http://blog.bittube.com/2006/07/18/10-years-of-flash-my-how-things-have-changed/</link>
		<comments>http://blog.bittube.com/2006/07/18/10-years-of-flash-my-how-things-have-changed/#comments</comments>
		<pubDate>Tue, 18 Jul 2006 11:20:21 +0000</pubDate>
		<dc:creator>Dave</dc:creator>
				<category><![CDATA[ActionScript 2]]></category>
		<category><![CDATA[ActionScript 3]]></category>
		<category><![CDATA[BitTube Work]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[Flash 7]]></category>
		<category><![CDATA[Flash 8]]></category>
		<category><![CDATA[Flash 9]]></category>
		<category><![CDATA[Flash Lite]]></category>
		<category><![CDATA[Flash for PSP]]></category>
		<category><![CDATA[Flex 2]]></category>

		<guid isPermaLink="false">http://blog.bittube.com/2006/07/18/10-years-of-flash-my-how-things-have-changed/</guid>
		<description><![CDATA[It all started at university. Microsoft or MSN Australia I think it was, that was the first 'flash' movie I saw. And it changed everything I had seen on the web until then. Of course unlike everything else on the web at that time there was no way to see how they had done it. [...]]]></description>
			<content:encoded><![CDATA[<p>It all started at university. Microsoft or MSN Australia I think it was, that was the first 'flash' movie I saw. And it changed everything I had seen on the web until then. Of course unlike everything else on the web at that time there was no way to see how they had done it. Or at least you would think <img src='http://blog.bittube.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  . A few moments in a hex editor to remove those pesky 10th and 11th bytes, if memory serves, that was the 'copy protection' and we were off and de-compiling, perhaps the first flash de-compiler was actually <a href="http://www.ultraedit.com/">UltraEdit</a>? <img src='http://blog.bittube.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<p>As you will have seen Mike Jones (<a href="http://blog.flashgen.com/2006/07/18/what-do-you-do-after-10-years-as-a-flash-developer/trackback/">FlashGen.com</a>) and I are meeting to take notes, share war stories and generally reminisce the 'Good <a href="http://www.oldskoolflash.com">OldSkool</a> Days'. To find out what files we still have, and even which URLs are still <a href="http://www.bbc.co.uk/education/rocks/flash/indexfull.html">live</a> (Flash 3 (alpha) circa 1997/8 btw <a href="http://weblogs.macromedia.com/jd/archives/2006/07/got_historic_sw.cfm#trackbacks">JD</a> produced by Spooky & the Bandit - you may remember them :p)</p>
<p>Keep your eyes peal for more news as events unfold....</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.bittube.com/2006/07/18/10-years-of-flash-my-how-things-have-changed/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ActionScript 3 &amp; Flash 9 Compatibility Info</title>
		<link>http://blog.bittube.com/2006/07/05/actionscript-3-flash-9-compatibility-info/</link>
		<comments>http://blog.bittube.com/2006/07/05/actionscript-3-flash-9-compatibility-info/#comments</comments>
		<pubDate>Wed, 05 Jul 2006 11:42:08 +0000</pubDate>
		<dc:creator>Dave</dc:creator>
				<category><![CDATA[ActionScript 2]]></category>
		<category><![CDATA[ActionScript 3]]></category>
		<category><![CDATA[Flash 7]]></category>
		<category><![CDATA[Flash 8]]></category>
		<category><![CDATA[Flash 9]]></category>
		<category><![CDATA[Flex 2]]></category>

		<guid isPermaLink="false">http://blog.bittube.com/2006/07/05/actionscript-3-flash-9-compatibility-info/</guid>
		<description><![CDATA[Previously I have mentioned concerns with regard to compatibility of Flash Player 9, ActionScript 3, Flex 2, and the recently released Flash 9 Preview. After digging around last night for information on how to get cracking on some Action Script 3 development I found this information on LiveDocs regarding the compatibility of the various flash [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://blog.bittube.com/2006/04/22/flash-player-9-blaze-announcments/trackback/">Previously</a> I have mentioned concerns with regard to compatibility of Flash Player 9, ActionScript 3, Flex 2, and the recently released Flash 9 Preview. After digging around last night for information on how to get cracking on some Action Script 3 development I found this information on LiveDocs regarding the compatibility of the various flash SWF formats and ActionScript versions.</p>
<blockquote>
<ul>
<li>A single SWF file cannot combine ActionScript 1.0 or 2.0 code with ActionScript 3.0 code.</li>
<li>ActionScript 3.0 code can load a SWF file written in ActionScript 1.0 or 2.0, but it cannot access the SWF file's variables and functions.</li>
<li>SWF files written in ActionScript 1.0 or 2.0 cannot load SWF files written in ActionScript 3.0. This means that SWF files authored in Flash 8 or Flex Builder 1.5 or earlier versions cannot load ActionScript 3.0 SWF files.
<p>      The only exception to this rule is that an ActionScript 2.0 SWF file can replace itself with an ActionScript 3.0 SWF file, as long as the ActionScript 2.0 SWF file hasn't previously loaded anything into any of its levels. An ActionScript 2.0 SWF file can do this through a call to loadMovieNum(), passing a value of 0 to the level parameter.</li>
<li>In general, SWF files written in ActionScript 1.0 or 2.0 must be migrated if they are to work together with SWF files written in ActionScript 3.0. For example, say you created a media player using ActionScript 2.0. The media player loads various content that was also created using ActionScript 2.0. You cannot create new content in ActionScript 3.0 and load it in the media player. You must migrate the video player to ActionScript 3.0.
<p>      If, however, you create a media player in ActionScript 3.0, that media player can perform simple loads of your ActionScript 2.0 content.</li>
</ul>
</blockquote>
<p>The full information can be found here:</p>
<p><a href="http://livedocs.macromedia.com/flex/2/docs/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Parts&file=00001801.html#120451">Programming ActionScript 3.0  > Overview of ActionScript Programming > Introduction to ActionScript 3.0 > Compatibility with previous versions</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.bittube.com/2006/07/05/actionscript-3-flash-9-compatibility-info/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The Dark Art of the XPathAPI</title>
		<link>http://blog.bittube.com/2006/06/21/the-dark-art-of-the-xpathapi/</link>
		<comments>http://blog.bittube.com/2006/06/21/the-dark-art-of-the-xpathapi/#comments</comments>
		<pubDate>Wed, 21 Jun 2006 16:03:10 +0000</pubDate>
		<dc:creator>Dave</dc:creator>
				<category><![CDATA[ActionScript 2]]></category>
		<category><![CDATA[BitTube Work]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[Flash 7]]></category>
		<category><![CDATA[Flash 8]]></category>
		<category><![CDATA[XML]]></category>

		<guid isPermaLink="false">http://blog.bittube.com/2006/06/21/the-dark-art-of-the-xpathapi/</guid>
		<description><![CDATA[I've personally been using the XPathApi in flash for a little while. I don't remember how I came across it initially, but I do know that I use it in almost every project I have worked on lately. However it has been bought to my attention by a colleague that not everyone has fallen across [...]]]></description>
			<content:encoded><![CDATA[<p>I've personally been using the XPathApi in flash for a little while. I don't remember how I came across it initially, but I do know that I use it in almost every project I have worked on lately. However it has been bought to my attention by a colleague that not everyone has fallen across this most handy of classes. Below is information and links to help you get the most out of the XPathApi class in flash.</p>
<p><span id="more-114"></span></p>
<p>I am sure everyone is aware of the XML Object in flash and the ability to load and manage structured XML data in a flash movie. One of the challenges is how to access all that lovely data in a quick and easy method. </p>
<p>On numerous occasions on site I have seen an almost infinite number of XML parsers that will take in an XML document or Object and through recursive functions or the like rip the various XML nodeValues and attributes into native flash Objects, Arrays and Variables. </p>
<p>These would then be used through out the movie as any other data set. There is of course nothing wrong with this system, and at times in the past I too have gone about development in this manner, apart from the fact that it is ultimately a waste of time.</p>
<p>In flash we are provided with the ability to access the data held in an XML Document and or Object natively, Everyone will likely be aware of the Node.firstChild.nodeValue access notation. This allows us to preserve the structure of an XML Document while still having access to the data it holds. The downside of course is that the Syntax can become long and unwieldy if you are processing a complex XML structure.</p>
<p>A second option for dealing with XML in Flash has been provided as of Flash MX 2004 Professional edition. With the DataBinding components in Flash MX 2004 Pro was provided the mx.xpath package of classes. Adobe have also included this package in Flash 8. In addition the classes within the xpath package are compatible with Flash 6 MX so they operate well on the PSP Flash player as well.</p>
<p>The XPath implementation provided is not a complete XPath Implementation. But it does provide a susinct method for accessing XML Nodes by name, and or attribute values in a simple syntax.</p>
<p>Below is a simple snippet to highlight use of the XPathApi in Flash.</p>
<p>[as]<br />
/* example XML Structure used in this snippet.<br />
< ?xml version="1.0" encoding="UTF-8"?><br />
<bittubesite><br />
 <navbar><br />
  <navitem><br />
   <label>< ![CDATA[work]]&gt;</label><br />
  </navitem><br />
  <navitem><br />
   <label>< ![CDATA[cv]]&gt;</label><br />
  </navitem><br />
  <navitem><br />
   <label>< ![CDATA[contact]]&gt;</label><br />
  </navitem><br />
 </navbar><br />
</bittubesite><br />
*/<br />
//import the xpath api class<br />
import mx.xpath.XPathAPI;<br />
// create a new XML Object that will load the XML Data<br />
var myXMLDocument:XML = new XML();<br />
myXMLDocument.ignoreWhite = true;<br />
// create an onLoad Event Handler for the XML Object<br />
myXMLDocument.onLoad = function(bln_success:Boolean)<br />
{<br />
 if(bln_success)<br />
 {<br />
  //the string xpath value<br />
  var xPath_str:String = "bittubesite/navbar/navitem"<br />
  // the selectNodeList method of XPathAPI returns an array of XML Node Objects<br />
  var navLabels_arr:Array = XPathAPI.selectNodeList(_projectInfo.firstChild, xPath_str);</p>
<p>  // trace the values stored in the array generated by selectNodeList<br />
  trace("navLabels_arr" + navLabels_arr);<br />
  /* outputs<br />
  ===================<br />
  <label>work</label><br />
  <label>cv</label><br />
  <label>contact</label><br />
  */<br />
 }<br />
 else<br />
 {<br />
  trace("XML Load Error!!");<br />
 }<br />
}<br />
// load the xml document<br />
myXMLDocument.load("myXMLURL");<br />
[/as]</p>
<p>Unfortunately there is a lack of official documentation to the mx.xpath package in the flash documentation, which is a little frustrating. </p>
<p>There is a more complete implementation of the W3C XPath specification that has been produced by <a href="http://www.xfactorstudio.com/">xfactorstudio</a>. This is available in both ActionScript 1 and ActionScript 2 versions. </p>
<p>There are a number of other articles that have been written that offer more detail of the capabilities of provided by the built in mx.xpath package I have linked to them at the end of this post along with some other xpath resources for those that want to find out more.</p>
<p><a href="http://www.xfactorstudio.com/">xpathStudio</a>  -- Alternative and more complete XPath implementation<br />
<a href="http://chattyfig.figleaf.com/pipermail/flashcoders/2005-April/135838.html">mx.xpath.XPathAPI vs xpathStudio</a><br />
<a href="http://www.peachpit.com/articles/article.asp?p=169633&rl=1">using XPathAPI by by peach pit</a><br />
<a href="http://tutorials.lastashero.com/2005/10/using_the_xpath_api_in_flash.html">using XPathAPI by last actionscript hero</a><br />
<a href="http://weblogs.macromedia.com/dehaan/archives/2005/01/using_xpath_wit.cfm">using XPathAPI by Jen deHaan</a><br />
<a href="http://www.w3.org/TR/xpath">W3C XPath Specification</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.bittube.com/2006/06/21/the-dark-art-of-the-xpathapi/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>
