{"id":9630,"date":"2011-07-19T04:31:58","date_gmt":"2011-07-19T08:31:58","guid":{"rendered":"http:\/\/info.template-help.com\/?p=9630"},"modified":"2015-09-11T06:47:55","modified_gmt":"2015-09-11T10:47:55","slug":"xml-flash-add-new-page-and-menu-item","status":"publish","type":"post","link":"https:\/\/www.templatemonster.com\/help\/xml-flash-add-new-page-and-menu-item.html","title":{"rendered":"XML Flash. Add new page and menu item (AS2)"},"content":{"rendered":"<ol>\r\n  <li>Open the &lsquo;sources\/flash&rsquo; folder.<\/li>\r\n\r\n  <li>Open the &lsquo;tfile_main.xml&rsquo; file in  Dreamweaver and locate the menu text.<\/li>\r\n\r\n  <li>Duplicate one of the menu items and  paste it right under the last one, prior to the &lt;\/section&gt;.\u00a0 Specify the number (6) in this case and name  it. For example (newpage)\r\n<a href=\"http:\/\/info.template-help.com\/wp-content\/uploads\/2011\/07\/XML_NEW_PAGE_NEW_MENU_3.jpg\"><img loading=\"lazy\" src=\"http:\/\/info.template-help.com\/wp-content\/uploads\/2011\/07\/XML_NEW_PAGE_NEW_MENU_3-300x162.jpg\" alt=\"\" title=\"XML_NEW_PAGE_NEW_MENU_3\" width=\"300\" height=\"162\" class=\"alignnone size-medium wp-image-9634\" \/><\/a><\/li>\r\n\r\n  <li>Locate the page, which you want to  duplicate and copy the whole page text. We are going to copy the &ldquo;Contact&rdquo; page  in this Example. NOTE: you are going to duplicate the same page when editing  .FLA file.\r\n<a href=\"http:\/\/info.template-help.com\/wp-content\/uploads\/2011\/07\/XML_NEW_PAGE_NEW_MENU_4.jpg\"><img loading=\"lazy\" src=\"http:\/\/info.template-help.com\/wp-content\/uploads\/2011\/07\/XML_NEW_PAGE_NEW_MENU_4-300x204.jpg\" alt=\"\" title=\"XML_NEW_PAGE_NEW_MENU_4\" width=\"300\" height=\"204\" class=\"alignnone size-medium wp-image-9635\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2011\/07\/XML_NEW_PAGE_NEW_MENU_4-300x204.jpg 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2011\/07\/XML_NEW_PAGE_NEW_MENU_4.jpg 1000w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a>\r\n<\/li>\r\n\r\n  <li>Paste the copied page under the  original one, prior to the &lt;\/section&gt; script. You can now edit the page  name, title and modify the text.\r\n<a href=\"http:\/\/info.template-help.com\/wp-content\/uploads\/2011\/07\/XML_NEW_PAGE_NEW_MENU_5.jpg\"><img loading=\"lazy\" src=\"http:\/\/info.template-help.com\/wp-content\/uploads\/2011\/07\/XML_NEW_PAGE_NEW_MENU_5-300x212.jpg\" alt=\"\" title=\"XML_NEW_PAGE_NEW_MENU_5\" width=\"300\" height=\"212\" class=\"alignnone size-medium wp-image-9636\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2011\/07\/XML_NEW_PAGE_NEW_MENU_5-300x212.jpg 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2011\/07\/XML_NEW_PAGE_NEW_MENU_5.jpg 1000w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a>\r\n<\/li>\r\n\r\n  <li>Save this file (CTRL+S) or File -&gt;  Save<\/li>\r\n\r\n  <li>Open the .FLA file in Adobe Flash  program<\/li>\r\n\r\n  <li>Locate the &lsquo;menu&rsquo; movie clip in the  Flash library.\r\n<a href=\"http:\/\/info.template-help.com\/wp-content\/uploads\/2011\/07\/XML_NEW_PAGE_NEW_MENU_7.jpg\"><img loading=\"lazy\" src=\"http:\/\/info.template-help.com\/wp-content\/uploads\/2011\/07\/XML_NEW_PAGE_NEW_MENU_7-300x161.jpg\" alt=\"\" title=\"XML_NEW_PAGE_NEW_MENU_7\" width=\"300\" height=\"161\" class=\"alignnone size-medium wp-image-9638\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2011\/07\/XML_NEW_PAGE_NEW_MENU_7-300x161.jpg 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2011\/07\/XML_NEW_PAGE_NEW_MENU_7.jpg 1001w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a>\r\n<\/li>\r\n\r\n  <li>On the time line, create a new layer.  Right click -&gt;Insert layer.\r\n<a href=\"http:\/\/info.template-help.com\/wp-content\/uploads\/2011\/07\/XML_NEW_PAGE_NEW_MENU_8.jpg\"><img loading=\"lazy\" src=\"http:\/\/info.template-help.com\/wp-content\/uploads\/2011\/07\/XML_NEW_PAGE_NEW_MENU_8-300x100.jpg\" alt=\"\" title=\"XML_NEW_PAGE_NEW_MENU_8\" width=\"300\" height=\"100\" class=\"alignnone size-medium wp-image-9639\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2011\/07\/XML_NEW_PAGE_NEW_MENU_8-300x100.jpg 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2011\/07\/XML_NEW_PAGE_NEW_MENU_8.jpg 716w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a>\r\n<\/li>\r\n\r\n  <li>Highlight  one of the existing layers and copy it. Note: Copy the whole layer (all the  frames)\r\n<a href=\"http:\/\/info.template-help.com\/wp-content\/uploads\/2011\/07\/XML_NEW_PAGE_NEW_MENU_9.jpg\"><img loading=\"lazy\" src=\"http:\/\/info.template-help.com\/wp-content\/uploads\/2011\/07\/XML_NEW_PAGE_NEW_MENU_9-300x146.jpg\" alt=\"\" title=\"XML_NEW_PAGE_NEW_MENU_9\" width=\"300\" height=\"146\" class=\"alignnone size-medium wp-image-9640\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2011\/07\/XML_NEW_PAGE_NEW_MENU_9-300x146.jpg 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2011\/07\/XML_NEW_PAGE_NEW_MENU_9.jpg 775w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a>\r\n<\/li>\r\n\r\n  <li>Select  the newly created layer and paste the frames which you just copied.\r\n<a href=\"http:\/\/info.template-help.com\/wp-content\/uploads\/2011\/07\/XML_NEW_PAGE_NEW_MENU_10.jpg\"><img loading=\"lazy\" src=\"http:\/\/info.template-help.com\/wp-content\/uploads\/2011\/07\/XML_NEW_PAGE_NEW_MENU_10-300x145.jpg\" alt=\"\" title=\"XML_NEW_PAGE_NEW_MENU_10\" width=\"300\" height=\"145\" class=\"alignnone size-medium wp-image-9641\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2011\/07\/XML_NEW_PAGE_NEW_MENU_10-300x145.jpg 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2011\/07\/XML_NEW_PAGE_NEW_MENU_10.jpg 754w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/li>\r\n\r\n  <li>You  should now edit the item numbers and &lsquo;num&rsquo; values via action script. Note: this  should be done for each frame (dots on the timeline).<\/li>\r\n\r\n  <li>Click  on the &lsquo;dot&rsquo; to select, navigate to the properties panel and change the item  number. (previous button was under number 5, so this one should be\u00a0 &lsquo;item6&rsquo; )\r\n<a href=\"http:\/\/info.template-help.com\/wp-content\/uploads\/2011\/07\/XML_NEW_PAGE_NEW_MENU_11.jpg\"><img loading=\"lazy\" src=\"http:\/\/info.template-help.com\/wp-content\/uploads\/2011\/07\/XML_NEW_PAGE_NEW_MENU_11-300x289.jpg\" alt=\"\" title=\"XML_NEW_PAGE_NEW_MENU_11\" width=\"300\" height=\"289\" class=\"alignnone size-medium wp-image-9642\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2011\/07\/XML_NEW_PAGE_NEW_MENU_11-300x289.jpg 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2011\/07\/XML_NEW_PAGE_NEW_MENU_11.jpg 719w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a>\r\n<\/li>\r\n\r\n  <li>Click  on the button frame, which you can see on the Scene itself and press F9 key to  open the Action Script panel.<\/li>\r\n\r\n  <li>Change  the &lsquo;num&rsquo; value from &lsquo;5&rsquo; to &lsquo;6&rsquo;.\r\n<a href=\"http:\/\/info.template-help.com\/wp-content\/uploads\/2011\/07\/XML_NEW_PAGE_NEW_MENU_12.jpg\"><img loading=\"lazy\" src=\"http:\/\/info.template-help.com\/wp-content\/uploads\/2011\/07\/XML_NEW_PAGE_NEW_MENU_12-300x256.jpg\" alt=\"\" title=\"XML_NEW_PAGE_NEW_MENU_12\" width=\"300\" height=\"256\" class=\"alignnone size-medium wp-image-9643\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2011\/07\/XML_NEW_PAGE_NEW_MENU_12-300x256.jpg 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2011\/07\/XML_NEW_PAGE_NEW_MENU_12.jpg 648w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/li>\r\n\r\n  <li>Repeat  this process for each key frame, moving the item on the Scene to a new  location.\r\n<a href=\"http:\/\/info.template-help.com\/wp-content\/uploads\/2011\/07\/XML_NEW_PAGE_NEW_MENU_13.jpg\"><img loading=\"lazy\" src=\"http:\/\/info.template-help.com\/wp-content\/uploads\/2011\/07\/XML_NEW_PAGE_NEW_MENU_13-300x232.jpg\" alt=\"\" title=\"XML_NEW_PAGE_NEW_MENU_13\" width=\"300\" height=\"232\" class=\"alignnone size-medium wp-image-9644\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2011\/07\/XML_NEW_PAGE_NEW_MENU_13-300x232.jpg 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2011\/07\/XML_NEW_PAGE_NEW_MENU_13.jpg 716w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a>\r\n<\/li>\r\n\r\n  <li>After  that is done, double click on the button object in the Scene until you get to  the actual text frame.\r\n<a href=\"http:\/\/info.template-help.com\/wp-content\/uploads\/2011\/07\/XML_NEW_PAGE_NEW_MENU_14.jpg\"><img loading=\"lazy\" src=\"http:\/\/info.template-help.com\/wp-content\/uploads\/2011\/07\/XML_NEW_PAGE_NEW_MENU_14-279x300.jpg\" alt=\"\" title=\"XML_NEW_PAGE_NEW_MENU_14\" width=\"279\" height=\"300\" class=\"alignnone size-medium wp-image-9645\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2011\/07\/XML_NEW_PAGE_NEW_MENU_14-279x300.jpg 279w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2011\/07\/XML_NEW_PAGE_NEW_MENU_14.jpg 648w\" sizes=\"(max-width: 279px) 100vw, 279px\" \/><\/a>\r\n<\/li>\r\n\r\n  <li>You  should now add a new frame on the time line. Copy the existing actions script  frames (layer 3 and layer 4) and paste to the newly added frame.\r\n<a href=\"http:\/\/info.template-help.com\/wp-content\/uploads\/2011\/07\/XML_NEW_PAGE_NEW_MENU_15.jpg\"><img loading=\"lazy\" src=\"http:\/\/info.template-help.com\/wp-content\/uploads\/2011\/07\/XML_NEW_PAGE_NEW_MENU_15-300x256.jpg\" alt=\"\" title=\"XML_NEW_PAGE_NEW_MENU_15\" width=\"300\" height=\"256\" class=\"alignnone size-medium wp-image-9646\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2011\/07\/XML_NEW_PAGE_NEW_MENU_15-300x256.jpg 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2011\/07\/XML_NEW_PAGE_NEW_MENU_15.jpg 648w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a>\r\n<a href=\"http:\/\/info.template-help.com\/wp-content\/uploads\/2011\/07\/XML_NEW_PAGE_NEW_MENU_16.jpg\"><img loading=\"lazy\" src=\"http:\/\/info.template-help.com\/wp-content\/uploads\/2011\/07\/XML_NEW_PAGE_NEW_MENU_16.jpg\" alt=\"\" title=\"XML_NEW_PAGE_NEW_MENU_16\" width=\"250\" height=\"201\" class=\"alignnone size-full wp-image-9647\" \/><\/a>\r\n<\/li>\r\n\r\n  <li>Click  on the newly added frame on the Layer3 to select and open the action script  panel\u00a0(F9 key)\r\n<a href=\"http:\/\/info.template-help.com\/wp-content\/uploads\/2011\/07\/XML_NEW_PAGE_NEW_MENU_17.jpg\"><img loading=\"lazy\" src=\"http:\/\/info.template-help.com\/wp-content\/uploads\/2011\/07\/XML_NEW_PAGE_NEW_MENU_17-300x92.jpg\" alt=\"\" title=\"XML_NEW_PAGE_NEW_MENU_17\" width=\"300\" height=\"92\" class=\"alignnone size-medium wp-image-9648\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2011\/07\/XML_NEW_PAGE_NEW_MENU_17-300x92.jpg 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2011\/07\/XML_NEW_PAGE_NEW_MENU_17.jpg 403w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a>\r\n<\/li>\r\n\r\n  <li>Change  the (thisText) number. In this case it should be number &lsquo;6&rsquo;<\/li>\r\n\r\n  <li>We  are done with menu item. We should now add a new page. Navigate to the Flash  Library and locate the movie clip for pages. Usually called &ldquo;pages&rdquo;,  &ldquo;pages_all&rdquo;, pages2&rdquo; or &ldquo;all_content&rdquo;.\r\n<a href=\"http:\/\/info.template-help.com\/wp-content\/uploads\/2011\/07\/XML_NEW_PAGE_NEW_MENU_18.jpg\"><img loading=\"lazy\" src=\"http:\/\/info.template-help.com\/wp-content\/uploads\/2011\/07\/XML_NEW_PAGE_NEW_MENU_18-300x180.jpg\" alt=\"\" title=\"XML_NEW_PAGE_NEW_MENU_18\" width=\"300\" height=\"180\" class=\"alignnone size-medium wp-image-9649\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2011\/07\/XML_NEW_PAGE_NEW_MENU_18-300x180.jpg 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2011\/07\/XML_NEW_PAGE_NEW_MENU_18.jpg 923w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a>\r\n<\/li>\r\n\r\n  <li>On  the timeline, locate the last page frame, which always goes prior the &ldquo;read more&rdquo;  pages. There, you should insert a new frame. (key F5). Copy the existing frames  from the other page (the same page, which you have duplicated in the XML file)  In this case, it is &ldquo;contact&rdquo; page. Select all the frames for that specific page, right click  and Copy Frames.\r\n<a href=\"http:\/\/info.template-help.com\/wp-content\/uploads\/2011\/07\/XML_NEW_PAGE_NEW_MENU_19.jpg\"><img loading=\"lazy\" src=\"http:\/\/info.template-help.com\/wp-content\/uploads\/2011\/07\/XML_NEW_PAGE_NEW_MENU_19-300x186.jpg\" alt=\"\" title=\"XML_NEW_PAGE_NEW_MENU_19\" width=\"300\" height=\"186\" class=\"alignnone size-medium wp-image-9650\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2011\/07\/XML_NEW_PAGE_NEW_MENU_19-300x186.jpg 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2011\/07\/XML_NEW_PAGE_NEW_MENU_19.jpg 922w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/li>\r\n\r\n  <li>Select all the frames for the newly  added space for the new page and paste the frames.\r\n<a href=\"http:\/\/info.template-help.com\/wp-content\/uploads\/2011\/07\/XML_NEW_PAGE_NEW_MENU_20.jpg\"><img loading=\"lazy\" src=\"http:\/\/info.template-help.com\/wp-content\/uploads\/2011\/07\/XML_NEW_PAGE_NEW_MENU_20-300x187.jpg\" alt=\"\" title=\"XML_NEW_PAGE_NEW_MENU_20\" width=\"300\" height=\"187\" class=\"alignnone size-medium wp-image-9651\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2011\/07\/XML_NEW_PAGE_NEW_MENU_20-300x187.jpg 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2011\/07\/XML_NEW_PAGE_NEW_MENU_20.jpg 928w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a>\r\n<\/li>\r\n\r\n  <li>Publish your .FLA file to see the  changes.\r\n<a href=\"http:\/\/info.template-help.com\/wp-content\/uploads\/2011\/07\/XML_NEW_PAGE_NEW_MENU_21.jpg\"><img loading=\"lazy\" src=\"http:\/\/info.template-help.com\/wp-content\/uploads\/2011\/07\/XML_NEW_PAGE_NEW_MENU_21-300x218.jpg\" alt=\"\" title=\"XML_NEW_PAGE_NEW_MENU_21\" width=\"300\" height=\"218\" class=\"alignnone size-medium wp-image-9631\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2011\/07\/XML_NEW_PAGE_NEW_MENU_21-300x218.jpg 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2011\/07\/XML_NEW_PAGE_NEW_MENU_21.jpg 724w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a>\r\n<\/li>\r\n\r\n<\/ol>\r\n\r\n\r\n<p>&nbsp;<\/p>\r\n<p>Feel free to check the detailed video tutorial below:<\/p>\r\n<a href=\"\/help\/files\/xml\/29282_XML_Flash_Site_New_Menu_New_Page.htm\" target=\"blank\">XML Flash. Add new page and menu item<\/a>","protected":false},"excerpt":{"rendered":"<p>Open the &lsquo;sources\/flash&rsquo; folder. Open the &lsquo;tfile_main.xml&rsquo; file in Dreamweaver and locate the menu text. Duplicate one of the menu items and paste it right under the last one, prior to the &lt;\/section&gt;.\u00a0 Specify the number (6) in this case and name it. For example (newpage) Locate the page, which you want to duplicate and [&hellip;]<\/p>\n","protected":false},"author":12,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[287,760],"tags":[486,571,572,570],"_links":{"self":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts\/9630"}],"collection":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/users\/12"}],"replies":[{"embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/comments?post=9630"}],"version-history":[{"count":0,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts\/9630\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/media?parent=9630"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/categories?post=9630"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/tags?post=9630"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}