Welcome To Snipplr


Everyone's Recent ActionScript 3 Snippets Tagged xml



« Prev 1 Next »
TimedText (TT) XML captions files can have namespaces that cause problems when parsing them in AS3. To get around this you can use this code to remove the namespace from the root XML node using Regex. This example uses
0 822 posted 12 years ago by adrianparr
If you don't deal with namespaces in XML correctly they can break your parsing in AS3. One way of getting around this is to remove the namespace from the XML a using regular expression.
0 919 posted 12 years ago by adrianparr
0 364 posted 13 years ago by darkbaron1912
0 791 posted 13 years ago by mediapoint
Simple usage: var xmlLoader:LoadXMLUtil = new LoadXMLUtil("path_to_xml.xml"); xmlLoader.addEventListener(Event.COMPLETE, onLoaderComplete); private function onLoaderComplete(event:Event):void{ trace("Loaded XML: "); trace(xmlLoader.xml...
2 599 posted 13 years ago by burnandbass
1 602 posted 13 years ago by hejaaa
Use this static class to encode and decode HTML Entity Names. For some reason Snipplr doesn't display all the code, so download the ZIP file for a full working demo and source code.
0 1641 posted 13 years ago by adrianparr
These five characters should be replaced with their HTML entity names before being used in XML, otherwise they may cause the XML to be invalid.
0 1038 posted 13 years ago by adrianparr
Here is a Document Class that loads an external XML file.
2 1054 posted 13 years ago by adrianparr
Run through infinite xml child nodes.
1 541 posted 13 years ago by dxc381
Basic usage of GreenSock\'s LoaderMax class for AS3. A simple slideshow controlled via XML.\r\n\r\nGo to http://adamcoulombe.info/lab/as3/loadermaxslideshow/ for demo and downloads.
3 899 posted 13 years ago by adamcoulombe
2 738 posted 14 years ago by alvincrespo
0 537 posted 15 years ago by allnatural
and DropShadow Filter :)
0 730 posted 15 years ago by antpaw
« Prev 1 Next »