Revision: 48162
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at June 25, 2011 05:55 by jeffnehlsen
Initial Code
package { import flash.display.MovieClip; import flash.events.Event; /** * ... * @author Jeff Nehlsen */ public class Main extends MovieClip { private var loader:XMLLoader; private var menu:AccordionMenu; public function Main() { loader = new XMLLoader(); loader.addEventListener(Event.COMPLETE, xmlLoaded); loader.loadXML("test.xml"); } private function xmlLoaded(e:Event):void { trace("Creating menu"); menu = new AccordionMenu(loader.xml); addChild(menu); } } }
Initial URL
http://www.jeffnehlsen.com/
Initial Description
Creating and using my Accordion Menu
Initial Title
Main.as for XML Accordion Menu
Initial Tags
Initial Language
ActionScript