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 827 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 930 posted 12 years ago by adrianparr
0 367 posted 13 years ago by darkbaron1912
0 800 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 604 posted 13 years ago by burnandbass
1 608 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 1649 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 1042 posted 13 years ago by adrianparr
Here is a Document Class that loads an external XML file.
2 1061 posted 13 years ago by adrianparr
Run through infinite xml child nodes.
1 546 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 908 posted 13 years ago by adamcoulombe
2 749 posted 14 years ago by alvincrespo
0 543 posted 15 years ago by allnatural
and DropShadow Filter :)
0 740 posted 15 years ago by antpaw
« Prev 1 Next »