Posted By

jeffnehlsen on 06/25/11


Tagged


Versions (?)

XML for Accordion Slider


 / Published in: XML
 

XML for Jeff Nehlsen's Accordion Slider (http://www.jeffnehlsen.com)

  1. <?xml version="1.0" encoding="utf-8" ?>
  2. <pages>
  3. <settings>
  4. <headerWidth>30</headerWidth>
  5. <stageWidth>600</stageWidth>
  6. <menuHeight>300</menuHeight>
  7. <defaultImageWidth>100</defaultImageWidth>
  8. <defaultImageHeight>100</defaultImageHeight>
  9. <defaultFont>Arial</defaultFont>
  10. <defaultFontSize>12</defaultFontSize>
  11. </settings>
  12. <page title="Overview" backgroundColor="0xFF0000" headerY="100" textColor="0x000000" headerColor="0x000000" headerFontColor="0xFFFFFF" headerFont="Arial">
  13. <text color="0x000000" x="10" y="10" size="26" bold="true" italic="true">Accordion Slider Overview</text>
  14. <text color="0xFFF000" x="30" y="40" size="18" bold="true">The Accordion Slider has a few things:</text>
  15. <text color="0xFFF000" x="40" y="65" size="16" bold="true">- It's Scalable</text>
  16. <text color="0xFFF000" x="40" y="85" size="16" bold="true">- It's easy to use</text>
  17. <text color="0xFFF000" x="40" y="105" size="16" bold="true">- It's all driven by XML</text>
  18. <text color="0xFFF000" x="40" y="125" size="16" bold="true">- Supports text, images, and whole SWF files!</text>
  19. </page>
  20. <page title="Instructions" backgroundColor="0xFF0000" textColor="0x000000" headerColor="0x333333" headerFontColor="0xFFFFFF" headerY="100" headerFont="Arial">
  21. <text color="0x000000" x="10" y="10" size="26" bold="true" italic="true">Steps For Use</text>
  22. <text color="0xFFF000" x="40" y="65" size="16" bold="true">- Import package into code</text>
  23. <text color="0xFFF000" x="40" y="85" size="16" bold="true">- Create XML file</text>
  24. <text color="0xFFF000" x="40" y="105" size="16" bold="true">- Create an AccordionMenu object with the XML</text>
  25. <text color="0xFFF000" x="50" y="125" size="16" bold="true">file as an argument.</text>
  26. </page>
  27. <page title="Credits" backgroundColor="0xFF0000" headerY="100" textColor="0x000000" headerColor="0x666666" headerFontColor="0xFFFFFF" headerFont="Arial">
  28. <text color="0x000000" x="10" y="10" size="26" bold="true" italic="true">Created By:</text>
  29. <text color="0xFFF000" x="40" y="65" size="16" bold="true">Jeff Nehlsen</text>
  30. <text color="0xFFF000" x="40" y="85" size="16" bold="true" selectable="true">http://www.jeffnehlsen.com/</text>
  31. <text color="0xFFF000" x="40" y="105" size="16" bold="true" selectable="true">[email protected]</text>
  32. <image src="mario.jpg" x="50" y="190" width="150" height="200" />
  33. <text color="0x000000" x="205" y="285" size="12" bold="true">Hey, look! It's Mario!</text>
  34. </page>
  35. </pages>

Report this snippet  

You need to login to post a comment.