I am working with a template and I would like to keep most of my page elements as they came from the developer. With that being said there are dynamic text values I do want to change and I am far too nubish to go any farther than removing certain entries and "lets see if it works lol". So after a painstaking search I found the AS code I believe houses the dynamic text values I wish to change.

For a little background, the page is essentially all 1 page (flash movie) and within the page, the menu opens up little sub windows(some with their own menus, that open other subwindows to take their place) Following buttons in these subwindows opens subsubwindows(?) with the main menu titles listed in the dynamic text (as defined below) and a number (which seems to follow the order listed on the page).

I would like to remove the numbering system so it simply displays the text defined below.

Also I am assuming that... if (_root.btn == 1) refers to the 1st menu button, would it be as easy as adding code to have it refer to a sub menu button as well? (i.e. root menu btn 2 opens my services page, on that page there are simple text buttons that open a subwindow that will have the text titles (from the below code) and a number) I would like to in some cases have a different text value if the subwindow is opened from a sub menu and not the main menu.

I hope what I wrote makes sense to someone out there lol.
If not you can visit my page at www.redflashphotography.com and go to the "services" tab, and click on any of the services listed below and you'll see it'll bring up a window titled "services #X").


CODE
//_root.cont.cont.contt.descr.txt.nws.index = i;
stop();
if (_root.btn == 1) {
    this.rmt.autoSize = true;
    this.rmt.htmlText = 'News #'+_root.RM;
    _root.cont.cont.readm.descr.txt.nws.autoSize = true;
    _root.cont.cont.readm.descr.txt.nws.htmlText = _root.xml.childNodes[0].childNodes[1].childNodes[Number(_root.RM+1)].nodeValue;
}
if (_root.btn == 2) {
    if (_root.RM<>200 and _root.RM<>300 and _root.RM<>400) {
        this.rmt.autoSize = true;
        this.rmt.html = true;
        this.rmt.htmlText = 'Services'+_root.RM+": "+_root.xml.childNodes[0].childNodes[3].childNodes[3].childNodes[Number(_root.RM*2-2)].nodeValue;
        _root.cont.cont.readm.descr.txt.nws.autoSize = true;
        _root.cont.cont.readm.descr.txt.nws.htmlText = _root.xml.childNodes[0].childNodes[3].childNodes[3].childNodes[Number(_root.RM*2-1)].nodeValue;
    }
    if (_root.RM == 200 and _root.RM<>300 and _root.RM<>400) {
        this.rmt.autoSize = true;
        this.rmt.htmlText = _root.xml.childNodes[0].childNodes[3].childNodes[0].attributes.title;
        _root.cont.cont.readm.descr.txt.nws.autoSize = true;
        _root.cont.cont.readm.descr.txt.nws.htmlText = _root.xml.childNodes[0].childNodes[3].childNodes[1].nodeValue;
    }
}
if (_root.btn == 4) {
    this.rmt.autoSize = true;
    this.rmt.htmlText = 'Extras  #'+_root.RM;
    _root.cont.cont.readm.descr.txt.nws.autoSize = true;
    _root.cont.cont.readm.descr.txt.nws.htmlText = _root.xml.childNodes[0].childNodes[4].childNodes[Number(_root.RM+1)].nodeValue;
}
/*
if (_root.btn == 8) {
    this.rmt.autoSize = true;
    this.rmt.html = true;
    this.rmt.htmlText = _root.xml.childNodes[0].childNodes[6].childNodes[0].nodeValue;
    _root.cont.cont.readm.descr.txt.nws.autoSize = true;
    _root.cont.cont.readm.descr.txt.nws.htmlText = _root.xml.childNodes[0].childNodes[6].childNodes[1].nodeValue;
}
if (_root.btn == 9) {
    this.rmt.autoSize = true;
    this.rmt.html = true;
    this.rmt.htmlText = _root.xml.childNodes[0].childNodes[7].childNodes[0].nodeValue;
    _root.cont.cont.readm.descr.txt.nws.autoSize = true;
    _root.cont.cont.readm.descr.txt.nws.htmlText = _root.xml.childNodes[0].childNodes[6].childNodes[1].nodeValue;
}
*/


This particular item in my library consist of each subwindow design (which are all in my library individually without the text elements). Each frame may be a little different(diff subwindow designs) and all the coding for this is on the same layer, let me know if the coding from additional frames are needed(as it appears the other frames simply code the other subwindows)

Thank you to anyone who had the patience to look at this for me.

P.S. forgive my usage of the term subwindow lol. I dont know what else to call it smile.gif