Categories

Facebook XML Flash. How to add readmore page and button Facebook.

Ray Taylor October 7, 2011
Rating: 5.0/5. From 1 vote.
Please wait...

This tutorial will show you how to add new Read More button and Read More page in Facebook Flash-XML templates, using Adobe Flash program in AS3 version.

  1. open the ‘main.xml‘ file from ‘sources/flash/’ folder in Adobe Dreamweaver or any editor, such as Notepad or Wordpad.
  2. Locate the page with ‘readmore’ button text and ‘readmore’ page.
  3. Duplicate the ‘readmore’ button.

    NOTE: ‘linkPage’ number always starts with ‘0’. Therefore, if you have one ‘readmore’ button and you want to add another one, the ‘linkPage’ number for the second one will be ‘1’. In other words, ‘linkPage=0’ will open first ‘readmore’ page and ‘linkPage=1’ will open the second ‘readmore’ page.

  4. Duplicate the ‘readmore’ page.
  5. Save this file.
  6. Open the ‘.fla‘ flash file, from ‘sources/flash’ folder in Adobe Flash program.
  7. Locate the movie clip with all the pages, using the timeline or the library. Usually named “all_pages”, “all content”,”content” or ”pages2”.
  8. Locate the ‘readmore‘ movie clip, which we will duplicate using the CTRL+C to copy and CTRL+V to paste method. Then, navigate to the “properties” panel and change its ‘instance name’. From “r_m_0” to “r_m_1”
  9. Locate the Action Script symbol on the timeline, click on it to select and press F9 key to open the action script panel.
  10. Duplicate the existing code, paste it right below and change  “r_m_0” to “r_m_1”
  11. Go back to the ‘All Content’ movie clip.
  12. Locate the Action Script symbol on the timeline, click on it to select and press F9 key to open the action script panel.
  13. Locate the script for ‘read more’ text:
        scroll1.dynamic_page_content. r_m_0.numTXT = 0;
      
  14. Duplicate it and paste right below, changing the “r_m_0” to “r_m_1” and “TXT = 0” to “TXT = 1”:
        scroll1.dynamic_page_content. r_m_0.numTXT = 0;
        scroll1.dynamic_page_content. r_m_1.numTXT = 1;
      
  15. Publish this .FLA file to see the changes.

 

Feel free to check the detailed video tutorial below:

Facebook. XML Flash. How to add readmore page and button
This entry was posted in Facebook Flash Template Tutorials and tagged as3, Facebook, flash, page, readmore, XML. Bookmark the permalink.

Submit a ticket

If you are still unable to find a sufficient tutorial regarding your issue please use the following link to submit a request to our technical support team. We'll provide you with our help and assistance within next 24 hours: Submit a ticket