Statement explaination needed please

I'm trying to track down a variable bug using traces (AS2.0).  Could someone please explain to me what the statement in red below means and where I should look for it ? there seems to be another addressing concept that I'm missing.
scrolledMC is a MC container that holds the dynamic text field (auto sized) that is the text that is being scrolled.
scrollContent1 = _parent.scrolledMC  // this statement does "_parent" refer to the original Lib item or the MC in which
trace("scrollContent1 ="+ scrollContent1)
//trace result
// scrollContent1 = _level0.instance703.instance709.scrolledMC // what does this mean? "instance" of what ? what relevance to the numbers have ?
1. how do I display the contents of "_level0.instance703.instance709.scrolledMC"  in a text contents form I can read??
2. Everytime this trace runs the "instance" numbers are different. never the same numbers. so if I try to trace (_level0.instance703.instance709.scrolledMC) it comes back undefined.  these numbers can get vary large the longer the swf runs and i keep coming back to the page with all the traces. Whats up with that ??
3. How is _level0 different from _root ?
4 if I trace scrolledMC I get "undefined"
Thanks
Joel

Ned,
"It could be easier to explain if you explain what you have created that involves scrolledMC."
I will try to explain but I might make it worse . I'm a noob to flash, and Unfortunately, I'm not the originator of the fla code I'm working with and it is very poorly documented and I'm trying to figure out how somebody else did something so I can make it do what I want it to.
I am converting from dynamic content loaded from a html text file to dynamic content loaded from an XML file. the reason being I'm adding content that is much easier to deal with in an XML file than &MyVar=myContent&  text file. In order to be able to do this conversion I have to track down all the var assignments to text fields. 80% of this is not a problem and is straight forward. But then there are these scrolling text boxes which are a mystery. There is a single Lib item called Text_scrollerMC that is used for each instance of these scrolling text boxes on different pages. I can't switch this content over to the xml file until I figure out how it is being assigned to the different instances of the Text_scrollerMC.
So I'm trying to deterime how the content contained in the variables loaded at runtime from the html text file, are being assigned to any given instance of Text_scroller. "scrolledMC" is the part of Text_scroller that contains the actual dynamic text field that is being loaded with the var content. Each time it is filled with unique content used on the page on which it's used. The loaded content var names use the nav button name of the page in the content var name, for example on page1or "Home" page, the content in the scroller box is from var "home_txt5", on page2 it's from var "services_txt3", on page4 it's from var "members_txt7" and so on.  Each var starts with the name of that page followed by "_txt" then a number. Again a direct search of the fla does NOT find ANY use of these vars by name, yet somehow these vars are being assigned to the Text_scroller when it is used on a page. I can only assume that the proper var name to use for any given instance of the scroller box is being dynamicaly "built" some how based on the scrollers location or something.
So back to "scrolledMC". As mentioned scrolledMC is the text field component of the scrolling text box (Text_ScrollerMC). Inside "scrolledMC" is the dynamic text field named "tola" that the variable content gets assigned to. The var listed in the text box properties for it's content is "home_txt1" (this is NOT a var coming from the loaded text file of vars/content). As I mentioned, Text_scrollerMC is used 6 times on different pages on the site. I'm trying to figure at what point the differnt content variables are being assigned to a particualr instance of Text_scrollerMC. besides seaching with all the actual var names I searched using "home_txt1", and using "tola" and can't find any reference to how the content is finding it's way to the text box "tola" inside scrolledMC. There is no reference to any of the var names or "home_txt1" anywhere in the fla. The only refernece to "tola" is a line telling it to "autosize". Even though "home_txt1" is listed as the var in each instance of the text box "tola" in scrolledMC, nowhere is "home_txt1" listed in the fla. I don't know why it can't be as simple as home_txt1="var for the content I want". that would make too much sense.
anyway the only way i can figure to try to track this down is to try and follow "scrolledMC" since that is where the content has to end up. soooo...  in the code from the Text_scrollerMC....
scrollContent1 = _parent.scrolledMC 
from what i can determined at this point _parent.scrolledMC has the var content in it cause scrollContent1 is use in the computation of the scroller movement as being the "size" of the content so _parent.scrolledMC must have "auto resized" to fit the var content cause that is the size being used in the scroller math. so I placed a trace after that line to look for clues and what i got was....
_level0.instance703.instance709.scrolledMC
I was hoping for the holy grail but instead I had no idea of what that ment which is why I was asking.  I know that someplace there has to be a refence to the loaded content var in some way at some point so I'm just trying to track that down. In the above, what is "instance703" in reference to?  instance of what ??
So other than trying figure out how the hell the vars are being assigned if I can't figure it out i will have to go to plan "B" which is to make each use of the Text_scrollerMC it's own complete unit and just hard code the var in each seperate use. Which will add more weight to the file which I'm trying to avoid.
Maybe I'm going about this in the wrong way? is there a way to follow the content some way to see how it's being asigned.?
the only refence to scrolledMC is in the scroller code and in a gotoAndStop statement.
onClipEvent (load)
    oldY = 1;
    Y = 1;
    vY = 0;
    newY = 0;
    mouseWheelHitTest = true;
    contentHeight = _parent.scrolledMC._height;
    scrollSpeed = _parent.speed_content;
    scrollStep = _parent.step_content;
    viewHeight = _parent.line._height;
    buttonSize = _parent.dragMC._height;
    buttonY = buttonMC._y;
    scrollHeight = _parent.scrolledMC._height;
    scrollContent = _parent.scrolledMC._y;
    scrollContent1 = _parent.scrolledMC;
    newY = _parent.scrolledMC._height;
    var mouseListener = new Object();
    mouseListener.onMouseWheel = function (delta)
        if (!mouseWheelHitTest || scrollContent1.hitTest(_root._xmouse, _root._ymouse, false) || hitTest(_root._xmouse, _root._ymouse, false))
            if (buttonMC._y >= 0 && buttonMC._y <= scrollHeight - buttonSize + 1)
                buttonMC._y = buttonMC._y - delta * _parent.mouse_speed;
            } // end if
        } // end if
    Mouse.addListener(mouseListener);
    hiScroll = _parent.line._height - _parent.dragMC._height;
    step = (scrollHeight - buttonSize - hiScroll) / hiScroll;
    y = _parent.scrolledMC._y;
onClipEvent (enterFrame)
    if (_parent.drag_but)
        if (buttonMC._y >= 0)
            buttonMC._y = buttonMC._y - scrollStep;
        } // end if
    } // end if
    if (_parent.down_but)
        if (buttonMC._y <= scrollHeight + buttonSize)
            buttonMC._y = buttonMC._y + scrollStep;
        } // end if
    } // end if
    if (buttonMC._y <= 0)
        buttonMC._y = 0;
    } // end if
    if (buttonMC._y >= viewHeight - buttonSize)
        buttonMC._y = viewHeight - buttonSize;
    } // end if
    level = buttonMC._y - buttonY;
    lev = int(y - level * step);
    newY = oldY + (lev - oldY) / scrollSpeed;
    _parent.scrolledMC._y = newY;
    oldY = newY;
I didn't see anything here to assign content but it looks like content has been assigned before it gets here. If so I can't fine it.
Thanks
Joel
BTW  Did something change about the forum ?  I can seem to get to the advanced editor, there is no button for it ???

Similar Messages

  • SQL UPDATE Statement Explaination (urgent please...)

    Hi,
    Could anyone explain for me what this statement will do:
    update KPIR KR
    set ( CA ) = (
    select sum(sl.RRC_CONN_STP_ATT) CA
    from PV_WCEL_SERVICE_LEVEL sl, UTP_MO um
    where sl.GLOBAL_ID = um.CO_GID
    group by sl.STARTTIME, um.OBJECT_INSTANCE
    I could not understand how the mapping between the two tables will be ("um" clause is not used in the select statement and it is used only in the "where" and "group by" arguments) What does this mean?.
    The actual problem is that when I execute the above SQL statement, it was take around just 3 minutes to be implemented. But after we upgrade from Oracle 8 to Oracle 9, this statement is taking around 3 hours to be implemented.
    Anyone have any idea what is the problem?

    Below is the plan:
    KPIR table:
    RNC_ID (str), PST ('YYYYMMDD_HH24'), CA (Numner)
    1, 20061105_13, 0
    1, 20061105_14, 0
    1, 20061105_15, 0
    2, 20061105_13, 0
    2, 20061105_14, 0
    2, 20061105_15, 0
    3, 20061105_13, 0
    3, 20061105_14, 0
    3, 20061105_15, 0
    4, 20061105_13, 0
    4, 20061105_14, 0
    4, 20061105_15, 0
    PV_WCEL_SERVICE_LEVEL table:
    GLOBAL_ID (str), STARTTIME ('YYYYMMDD_HH24'), RRC_CONN_STP_ATT (Number)
    A1, 20061101_00, 9
    A1, 20061101_01, 4
    A1, 20061101_23, 3
    A1, 20061130_23, 4
    A2, 20061101_00, 3
    A2, 20061101_01, 4
    A2, 20061101_23, 1
    A2, 20061130_23, 5
    UTP_MO table;
    RNC_ID (str), GLOBAL_ID (str), OBJECT_INSTANCE (str)
    1, A1, <A1_NAME>
    1, A2, <A2_NAME>
    1, A9, <A9_NAME>
    2, B1, <B1_NAME>
    2, B2, <B2_NAME>
    2, B9, <B9_NAME>
    3, C1, <C1_NAME>
    3, C2, <C2_NAME>
    3, C9, <C9_NAME>
    4, D1, <D1_NAME>
    4, D2, <D2_NAME>
    4, D9, <D9_NAME>
    Now, I want to update the value of CA in table KPIR:
    For instance, for RNC_ID='1' and at PST='20061105_13', the CA should equals to the sum of value RRC_CONN_STP_ATT for all GLOBAL_IDs under RNC_ID='1' and at STARTTIME '20061105_13'.
    So, is this SQL UPDATE statement will do it?
    update KPIR kr
    set ( CA ) = (
    select sum(sl.RRC_CONN_STP_ATT) CA
    from PV_WCEL_SERVICE_LEVEL sl, UTP_MO um
    where sl.GLOBAL_ID = um.GLOBAL_ID and kr.RNC_ID = um.RNC_ID and kr.PST = sl.STARTTIME
    group by sl.STARTTIME, um.OBJECT_INSTANCE
    And if so, why it is taking around 3 hours to be implemented? This issue is happened after upgrading from Oracle 8 to 9.
    Really appreciate your help and thanks in advance.

  • I want to upgrade my imac 10.4 Tiger to Snow leopard but will not install as it states I need 1GB RAM please help?

    I want to upgrade my imac from 10.4.11 Tiger to Snow Leopard, I have tried to install but it states I need 1GB RAM to install
    can anyone help as to what I need to do next.
    Thanks

    Go to a site such as OWC's or Crucial's and buy the RAM.
    (124598)

  • Help needed please.. how do I remove my credit card from itunes? just discovered over $450 of charges when I looked at my email... Kids had no clue they were using our money and not their gift cards

    Help needed please.... I just discovered over $450 charges to my credit card from Itunes. The kids had no idea they were using our credit card and not their itunes gift cards and 4 year old just clicks on anything! I didnt save my credit card details so am a bit miffed at this... I cant find anywhere in itunes to remove it. Edit.. but not remove. Editing does not remove it.. HELP

    To Contact iTunes Customer Service and request assistance
    Use this Link  >  Apple  Support  iTunes Store  Contact
    Accepted forms of payment  >  http://support.apple.com/kb/HT5552
    Changing Account Information  >  http://support.apple.com/kb/HT1918

  • Help needed please, with Iphone stuck with apple picture and progress bar after software update attempted

    Help needed please, everytime I try to update the software version on my iphone it comes up with a message saying it could not be completed and is now frozen with the apple picture and progress bar on it. Do I unplug it and hope the macbook pro sees it again, I also stupidly did not back up before starting the download which I realise I will have to go back to the previous back up. This keeps happening, everytime I do this type of update, I'm starting to think I should just give up on updating my software on the Iphone. I thought it was happening because I was using a window based computer to do the updates, this time I used my Macbook Pro. Please somebody help

    ljm17 wrote:
    ...This keeps happening, everytime I do this type of update, I...
    Then you should know what you need to do... If you don't remember...
    See Here  >  http://support.apple.com/kb/HT1808

  • I cannot re-open files that have been saved in Numbers version09 - it states "You need a newer version of numbers to open this document". This is the latest version

    I cannot re-open files that have been saved in Numbers version09 - it states "You need a newer version of numbers to open this document". This is the latest version & also the one I have created/saved???

    Jules,
    You may delete Numbers 08 if you wish, but some folks like keeping it around. Close all your Numbers docs and Quit the Numbers app, and the other Numbers app if necessary.Then click the Numbers icon on your doc. Then select Numbers > About Numbers, and in the window that pops up, see which version it is. If the Dock icon started Numbers 08, you can cure that by dragging that icon off the Dock and letting it go in a puff of virtual smoke.
    Now, to put the Numbers 09 icon on the Dock, double-click one of those known Numbers 09 documents so that Numbers 09 starts up. Verify by checkig Numbers > about Numbers.
    Now click and hold the Numbers Dock icon and select the Option for Keep in Dock.
    Jerry
    Message was edited by: Jerrold Green1 -- I inadvertently posted about Pages rather than Numbers. Just corrected it.

  • I am trying to load the 64 bit version of iTunes on to my PC but it continues to fail. My Pc is running Windows XP x64 edition. The rrror message states I need Window Vista 64 or later. What should I do?

    I am trying to load the 64 bit version of iTunes on to my PC but it continues to fail. My Pc is running Windows XP x64 edition. The rrror message states I need Window Vista 64 or later. What should I do?

    There is no version of iTunes that truly supports the 64-bit version of Windows XP and never will be. If you search this forum for "XP 64" or do a web search for something like "iTunes Windows XP 64",  you'll find threads describing the process some people have used to "crowbar" iTunes onto XP 64, with varying levels of success, none of them complete.  
    Regards.

  • HT1338 my mac is running 10.5.8, I bought a new Nano, itunes is prompting me to get the current itunes, but my mac will not take it, states I need 10.6.8.  How do I get that?  When I run a software update, system says there is none.  Help

    my mac is running 10.5.8, I bought a new Nano, itunes is prompting me to get the current itunes, but my mac will not take it, states I need 10.6.8.  How do I get that?  When I run a software update, system says there is none.  Help

    Click here, check that your computer meets the requirements, buy and install the DVD, and then run Software Update.
    (73181)

  • Summarize your question in a sentencewhen i open a youtube videos it doesnt open and it shows the folloing statement"You need to upgrade your Adobe Flash Player to watch this video. Download it from Adobe."

    when i open a youtube videos it doesnt open and it shows the folloing statement"You need to upgrade your Adobe Flash Player to watch this video. Download it from Adobe."

    Your above posted list of installed plugins doesn't show the Flash plugin for Firefox.
    See:
    * https://support.mozilla.com/kb/Managing+the+Flash+plugin
    * https://support.mozilla.com/kb/Installing+the+Flash+plugin
    * http://kb.mozillazine.org/Flash
    You can get the Adobe Flash Player here:
    * http://get.adobe.com/flashplayer/
    * http://get.adobe.com/flashplayer/otherversions/
    You can visit the Adobe welcome and test page to verify if the installation has been successful.
    * http://www.adobe.com/software/flash/about/

  • IOS 8 update states I need to delete apps under usage settings.  True?

    ios 8 update states I need to delete apps under usage.  I want to keep these apps.  Feedback?

    This might be true if you are running out of usable space on your device and you want to install a new app. Sometimes installing a new app can take up to 3x as much available space as the actual size of the app. In that case you'll have to free some space by deleting apps or app data.

  • Can I transfer files from a Mini running 10.4.11 to a new Mini running Lion? States I need to upgrade Migration Assistant, but I see no viable path I can take. OPtions to get photos over to new Mini?

    Can I transfer files from a Mini running 10.4.11 to a new Mini running Lion? States I need to upgrade Migration Assistant, but I see no viable path I can take. OPtions to get photos over to new Mini?

    Thanks Mende1; I know that PPC apps won't function on Intel machines but I can migrate the Universal apps, right? There is such a large gap between Tiger and Mountain Lion - can I still migrate files directly from one to the other taking the Universal apps as well? Sorry, I'm not very computer savvy!
    Len57

  • My free Adobe subscription is expired. I tried uninstalling the Reader and installing the new free Reader, but my system will not let me open a file and states I need to purchase the Adobe Reader. Any other way to view a PDF file?

    My free Adobe Reader has expired. I tried uninstalling the Reader and installing the new Free Reader trial, but my system still will not open a PDF file and states I need to subscribe to Adobe. Any way around this?

    Thank you.
    On Thu, Jun 26, 2014 at 9:44 AM, Bernd Alheit <[email protected]>

  • Imovie 9.0.8 wont update, states i need to use another account

    The problem is it is my wifes laptop and i updated it to mountain lion on my account as you can.
    Now i have an update for Imovie that won't allow an update, it states that i need to use another account?
    Which account as i have tried mine and my wife apple acounts. Imove update is 9.0.8.
    is this worth a trip to the genius bar? 

    I am an IT professional, my home network logs in securely and the issue is not with the user logon, it is to do with the update of the software via app store.
    Imovie software will not update via my wifes itunes account, nor via my itunes account. this was used to update to mountain lion. There are no other accounts available to try ? so why does itunes app state i need another account?

  • Can't update the flashplayer becasue it states I need to close firefox? Not sure why, I have an updated version of flashplayer but when I go in through firefox it tells me I need to update it, but won't because I am in firefox.

    Can't update the flashplayer becasue it states I need to close firefox? Not sure why, I have an updated version of flashplayer but when I go in through firefox it tells me I need to update it, but won't because I am in firefox. This seems to be a problem when I am in FB.

    You must close Firefox to install the update after it is saved to your hard drive. Follow the instructions below.
    There are 2 versions of Adobe Flash. Both must be installed and updated on Windows systems. In Firefox it would show as Shockwave Flash in your plug-ins, if you had it installed.
    *an ActiveX version for IE only
    *a plug-in version for Firefox and most other browsers
    #'''Install or Update the [[Managing the Flash plugin|Flash]] plugin''' to the latest version.
    #*Download and SAVE to your Desktop so you can find the installer later
    #*If you do not have the current version, click on the "Player Download Center" link on the "'''Download and information'''" or "'''Download Manual installers'''" below
    #*After download is complete, exit Firefox
    #*Click on the installer you just downloaded and install
    #**Windows 7 and Vista: may need to right-click the installer and choose "Run as Administrator"
    #*Start Firefox and check your version again or test the installation by going back to the download link below
    #*'''Download and information''': http://www.adobe.com/software/flash/about/
    #**Use Firefox to go to the above site to update the Firefox plugin (will also install plugin for most other browsers; except IE)
    #**Use IE to go to the above site to update the IE ActiveX
    #*'''Download Manual installers'''.
    #**http://kb2.adobe.com/cps/191/tn_19166.html#main_ManualInstaller
    #**Note separate links for:
    #***Plugin for Firefox and most other browsers
    #***ActiveX for IE

  • HT203097 Why do I receive a message that states I need to change to my media sync settings on iphone when my summary shows over 3GB of free space?

    Why do I receive a message that states I need to change to my media sync settings on iphone when my summary shows over 3GB of free space? THe message states the amount of storage needed (610 MB), which is considerably less than my summary shows currently available.

    # Yes, if you go to accounts.firefox.org, sign out, you will now be signed out.
    # Sign back in, and you will be asked to save the password you entered.
    # This will save the password and autocomplete if you have this option turned on.
    I am not exactly sure why the menu did not detect the password change or if it was stored incorrectly after you changed it? But after storing the correct password you can manage any duplicate passwords in the password manager.[[Password manager - Remember, delete and change saved passwords in Firefox]]

Maybe you are looking for