XML onLoad execution context

i am loading data from an XML file using the XML object. the
XML handling is being done in a class i have defined. the basic
class definition is below (with extraneous code removed).
the issue is that when that "trace" fires, it displays the
contents of the XML object. in other words, the onLoad handler is
executing in the context of the XML object rather than in the
context of the class. so i cannot reference the XML object in the
onLoad handler (ie using "xmlVideo.firstChild"). if i try to access
any of the properties of the XML object using this (ie:
"this.firstChild"), Flash gives me a compile error because the
class does not have any such property.
i have used a similar process to load XML with the
actionscript on a frame rather than in a class. in that case, the
onLoad handler executed in the context of the MovieClip not the
context of the XML object. can anyone tell me how to deal with
this? how can i access the properties of the XML object in the
onLoad handler? better still, how can i persuade the onLoad handler
to execute in the context of the class?

ah... i see. i have used a similar technique in other
circumstances, but i didn't see how to apply it here. thank
you.

Similar Messages

  • Shared execution context support in SOA Suite Products

    Context:
    An enterprise application is likely to be made up of components that span across the BPEL, JEE (servlets and EJBs) and ESB containers with heterogeneous mix of technologies/computing languages (especially if part of that application is a legacy application), communication protocols, transport, QoS capabilities etc. The latter opens up a complex set of related issues such as assertion, ownership and enforcement of policies and contracts (both infrastructure-oriented such as security, privacy, manageability and business-oriented such as hours of business, goods return policies) that must be managed in order for the application to behave consistently end to end. In a way, this concept is similar to one of header vs payload distinction.
    Goal:
    Yet those heterogeneous resources and technologies mentioned above should be abstracted (or externalized) from the business intent, ie the actual data and associated functional processing that deliver real benefits to business, as contextual information that may be both out-of-band and in-band (ie something that is created during the course of an interaction). In this way, the business components (BPEL scripts, presentation tier actions [as opposed to controllers], POJOs, or ESB mediation services implemented using XSLT scripts etc) can be reused in completely new unplanned scenarios with newer execution platforms/infrastructure since the latter can be made virtualized from the point of view of the business components.
    To achieve the above, one of the key enabling factors is a shared execution context to capture such dynamic relationships between the application modules or components or services that is technology neutral but can be passed from one containers to the other seamlessly.
    Problem:
    Having understood the context and goals, the big question is what is the level of support for a shared context implementation found in Oracle BPEL, JEE and ESB containers? Especially in the ESB container since it is the execution environment of all services.
    This overarching problem may be decomposed to the following:
    * How far is loose coupling of services implemented? Strictly pure XML over HTTP or web services between tiers/containers?
    * If it is pure web services everywhere, what about the impedance mismatch problem between POJOs and XML?
    * If so, what is the form of a message dispatch/invocation framework to be put in place between tiers/containers? WSIF/AXIS? The choice will obviously be influenced by NFRs and to some extent the ease of integration of such frameworks with Oracle products runtime libraries.
    * How does a service lookup another, at design-time or run-time?
    * What mechanisms are there in each of the 3 containers above to allow for dynamic service assembly and dependencies injections?
    * How should a message be structured (header vs payload)?
    * How easy is the header or context that is most likely to be expressed in XML format be mapped to a run-time artifact in each of the containers? Is this mapping process lossless? This header is more than likely to carry a diverse range of information such as session and authentication tokens, management data, logs, audit trails, errors/exceptions and other QoS data.
    In attempting to design and implement the above architectural requirements on Oracle SOA suite, I am unable to find any semblance of a design or runtime construct or artifact that is remotely close to what I would call a shared context. Should I conclude therefore that I would have to build the above facilities from ground up, instead of being able to customize a shared context construct or feature in Oracle SOA suite (the ESB container in particular)? I would have thought this is a fundamental capability of an integration platform such as Oracle SOA suite, am I right?

    I supposed to make my previous question more concrete, the first answer I need before moving on to the rest of the bigger questions is this ...
    What is Oracle’s recommendation for a services invocation framework between BPEL, JEE and ESB containers? From a quick read of Oracle Technet website, WSIF seem to be the preferred framework for this purpose. However, from an equally quick survey of such frameworks in use today outside of Oracle, WSIF does not seem to enjoy any widespread developer community support anymore and all talk in public forum seem to point to newer Apache Frameworks such as CXF which support emerging standards such as JAX-WS 2.0 What is the current stand of Oracle with respect to this matter?

  • Need help in learning XML in the context of ABAP

    Experts,
    I am wondering if you can help me.
    I know abap (up to SAP 4.6c versions) but I know nothing about XML ( I am literally zero on XML). I want to learn XML in the contexts of ABAP programs in SAP Netweaver versions. I tied to google XML tutorials but information is overwhelmingly too much. I do not intend to become an XML expert but want to be able to learn XML only to the level where where I can use them in ABAP programs.
    Can you guide me if there is some step by step material / documents/ tutorial on internet which is not too much?
    Thanks
    AP

    hi,
    check these:
    [http://help.sap.com/saphelp_nw70/helpdata/en/fd/9d734b389211d596a200a0c94260a5/frameset.htm]
    [http://searchsap.techtarget.com/generic/0,295582,sid21_gci1207657,00.html#]
    [http://sapblog.rmtiwari.com/2009/02/discovering-hidden-gem-generate-simple.html]
    These are just a few to start. Explore and google to dig more.
    Regards,
    Subramanian

  • Write XML in a context field

    Good morning forum
    Have to implement the following solution.
    In a Web Dynpro component I am consuming a web service, and reading an XML, it is now functioning properly.
    But after the XML data is loaded into context, I must record all xml content in a context field.
    I implemented the following logic:
    Request_ITF_O_S_CONSULTA_CADASTRO requestMO = wdContext.currentRequestWSElement () modelObject (.);
    requestMO.wdSetInvocationLogEnabled (true);
    String xml = requestMO.wdGetResponseLog ();
    However the variable "XML" is blank.
    Does anyone have any tips on how to do this?

    Hi Carlos,
    have you even executed the the operation of your WS Model? I can't see that from your code. And ofcourse you have to set the LogEnabled to true before you execute the operation.
    Here is some sample with explanations:
    Request_NumberToWords requestMO = wdContext.currentRequest_NumberToWordsElement().modelObject(); 
    if (logger.beDebug()) {
      requestMO.wdSetInvocationLogEnabled(true); //switch on logging for this model object
    try {
      requestMO.execute();
      wdContext.nodeResponse().invalidate(); //update context from model
      } catch(Exception ce) {
      wdComponentAPI.getMessageManager().reportException(ce.getMessage(), false);
    logger.debugT(requestMO.wdGetRequestLog()); //request log (HTTP header + SOAP request)
    logger.debugT(requestMO.wdGetResponseLog()); //response log (HTTP header + SOAP response)
    logger.debugT(requestMO.associatedModelClassInfo().getModelInfo().toString()); //model metadata in XML format
    logger.debugT(requestMO.toString()); //model object tree in XML format (= model context node content)
    Regards,
    Tobias

  • Taw web xml file ADMINREADCC8 context parameter

    when I run the scipt for CCA the Useme.sql I only see the ADMINCC8 user I don't see the ADMINREADCC8 so I'm not sure what to put on the following context for web.xml
    <!-- Needs to be removed for MSSQL-->
    <!--<context-param>-->
    <!--<param-name>databaseSchemaReadOnly</param-name>-->
    <!--<param-value>ADMINCCREAD813</param-value>-->
    <!--</context-param>-->

    This is the eclipse error
    The content of element type "web-app" must match "(icon?,display-
    name?,description?,distributable?,context-param*,filter*,filter-mapping*,listener*,servlet*,servlet-
    mapping*,session-config?,mime-mapping*,welcome-file-list?,error-page*,taglib*,resource-env-
    ref*,resource-ref*,security-constraint*,login-config?,security-role*,env-entry*,ejb-ref*,ejb-local-
    ref*)".
    Web.xml file
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE web-app
            PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
            "http://java.sun.com/dtd/web-app_2_3.dtd">
    <web-app>
         <display-name>tapestryHiber Tapestry 5 Application</display-name>
         <context-param>
              <!-- The only significant configuration for Tapestry 5, this informs Tapestry
                   of where to look for pages, components and mixins. -->
              <param-name>tapestry.app-package</param-name>
              <param-value>com.kids.crm</param-value>
         </context-param>
         <filter>
              <filter-name>app</filter-name>
              <filter-class>org.apache.tapestry5.TapestryFilter</filter-class>
         </filter>
         <filter-mapping>
              <filter-name>app</filter-name>
              <url-pattern>/*</url-pattern>
         </filter-mapping>
         <context-param>
              <param-name>contextConfigLocation</param-name>
              <param-value>/WEB-INF/spring/spring-servlet.xml</param-value>
         </context-param>
         <listener>
              <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
         </listener>
    </web-app>
          Edited by: csckid on Aug 29, 2011 5:51 AM

  • LoadMovie() &  XML.onLoad query(AS2)

    Hi all :)
    I have a Flash file that uses the loadMovie () to load JPG
    files successfully, example:
    imageuri = "../images/00_proto" + var1 + ".jpg";
    holder_mc.holder0.loadMovie(this["imageuri"]);
    Working
    Example
    'holder_mc' is the container clip and 'holder0' is the clip
    that stores the loaded JPG file, this works fine.
    I am upgrading the Flash file using an XML database, code
    example:
    var statesXML:XML = new XML();
    statesXML.ignoreWhite = true;
    statesXML.load("../XML/USA.xml");
    statesXML.onLoad = function(success)
    // XML loading excluded
    // Problem code
    imageuri = "../images/00_proto" + var1 + ".jpg";
    _parent.holder_mc.holder0.loadMovie(this["imageuri"]);
    The JPG's are not being loaded into the 'holder0' clip from
    inside the XML.onLoad() method. Spent hours trying to fix this,
    still have not resolved the problem. Any responses much welcomed!
    regards
    John
    www.javono.com

    Hi John,
    Its diffcult as I don't know what you've tried before, but my
    first stop would be to trace out imageurl to make sure the path to
    the image is correct (although usually you'll get an error message
    if not). Are you sure you need _parent. on the start of that path?
    Have you tried it without that?
    Tom.

  • Deploy given EAR file having application.xml and change context-root

    hi
    Please consider deploying a given EAR file on WebLogic Server 10.3.5 (part of JDeveloper 11.1.1.6.0) and changing the context-root for its web-module.
    For example an EAR file with only a web-module (ReviewContextRootFirstApp.ear [1]) or an EAR file with a web-module and an ejb-module (ReviewContextRootSecondApp.ear [2]).
    Given documentation appendix B section "context-root" [3] saying
    "... A context-root setting in application.xml takes precedence over context-root setting in weblogic.xml. ..."
    and documentation section "Typical Deployment Configuration Workflows" [4] saying
    "Oracle does not support using a deployment plan to change the context-root in an application.xml file. However, if an application is deployed as a library, you can either change the context-root through an weblogic-application.xml file or use the deployment plan to change the context-root in an weblogic-application.xml file. "
    Some observed behaviour:
    - scenario (sc1) : deploy ReviewContextRootFirstApp.ear without deployment plan, results in context-root "/rcrfaweb" (as in application.xml)
    - scenario (sc2) : deploy ReviewContextRootFirstApp.ear with deployment plan fa-plan.xml (tries to configure "/rcrfaweb11"), results in context-root "/rcrfaweb" (as in application.xml)
    - scenario (sc3) : deploy ReviewContextRootSecondApp.ear without deployment plan, results in context-root "/rcrsaweb" (as in application.xml)
    - scenario (sc4) : deploy ReviewContextRootSecondApp.ear with deployment plan sa-plan.xml (tries to configure "/rcrsaweb21"), results in context-root "/rcrsaweb" (as in application.xml)
    The blog post "Defining the context root of a web application in Oracle WebLogic server" [5] by Silviu Leahu in its section "Defining the context root in deployment plan" suggests to
    "Remove the META-INF/application.xml DD from the EAR"
    - scenario (sc5) : remove application.xml from ReviewContextRootFirstApp.ear (e.g. using Ant target "remove.application.xml.from.ear") and deploy with deployment plan fa-plan.xml, results in context-root "/rcrfaweb11" (as in fa-plan.xml)
    - scenario (sc6) : remove application.xml from ReviewContextRootSecondApp.ear (e.g. using Ant target "remove.application.xml.from.ear") and deploy with deployment plan sa-plan.xml, results in context-root "/rcrsaweb21" (as in sa-plan.xml)
    One could expect that using a deployment plan (like in scenario's (sc2) and (sc4)) would allow to configure/change the context-root, whithout having to make changes to the EAR file to make this possible. (Somewhat like "Figure 4-2 Single Deployment Plan Workflow")
    Only in scenario's (sc5) and (sc6) I see something close to what I would like to achieve, but there the application.xml file has been removed from the EAR file.
    So ...
    - (q1) Is it impossible to change the context-root at deploy-time for a web-module in a given EAR file that includes an application.xml file, without changing the EAR file?
    - (q2) Is working with EAR files that don't have an application.xml file a supported approach (to change the context-root at deploy-time)?
    Seems like a simple goal, but I must be missing something that is required to achieve it.
    - [1] ReviewContextRootFirstApp/deploy/ReviewContextRootFirstApp.ear in the ZIP file
    at http://www.consideringred.com/files/oracle/2012/ReviewContextRootApps-v0.01.zip
    - [2] ReviewContextRootSecondApp/deploy/ReviewContextRootSecondApp.ear in the (same) ZIP file
    at http://www.consideringred.com/files/oracle/2012/ReviewContextRootApps-v0.01.zip
    - [3] http://docs.oracle.com/cd/E21764_01/web.1111/e13712/weblogic_xml.htm#WBAPP623
    - [4] http://docs.oracle.com/cd/E21764_01/web.1111/e13702/config.htm#DEPGD172
    - [5] http://blog.leahu.net/it/2011/01/04/defining-the-context-root-of-a-web-application-in-oracle-weblogic-server/
    many thanks
    Jan Vervecken

    Thanks for your reply René van Wijk.
    René van Wijk wrote:
    You can use deployment plans in order to change the context-root ...That is what I tried and describe in scenario's (sc2), (sc4), (sc5) and (sc6) in this forum thread.
    Because the application.xml file (in the "given EAR file"), added by JDeveloper 11.1.1.6.0 when deploying to an EAR file, doesn't have id attributes on its application/module elements, I first tried a different XPath expression:
    "/application/module/web[web-uri/text()="WebProject.war"]/context-root"
    But, that didn't work.
    Although the "given EAR file" does not have the suggested id attributes, I tried adding a deployment descriptor application.xml file that does have such id attributes [2], allowing an XPath expression like the one suggested:
    "/application/module[id="WebProject"]/web/context-root"
    - scenario (sc7) : deploy ReviewContextRootFirstApp.ear (in ReviewContextRootApps-v0.02.zip) with deployment plan fa-plan-application-xml-with-id.xml (tries to configure "/rcrfaweb14"), results in context-root "/rcrfaweb" (as in application.xml)
    - scenario (sc8) : deploy ReviewContextRootSecondApp.ear (in ReviewContextRootApps-v0.02.zip) with deployment plan sa-plan-application-xml-with-id.xml (tries to configure "/rcrsaweb24"), results in context-root "/rcrsaweb" (as in application.xml)
    So, it does not seem to work.
    ... you have to use a variable assignment in the right part of the deployment plan (in this case the application.xml) ...My observations I describe above (that it does not seem to work) seem to confirm the Oracle documentation [1] I referred to in this forum thread before:
    "Oracle does not support using a deployment plan to change the context-root in an application.xml file. ... "
    ... By using an xpath expression, you can define which part of the xml has to be changed. ...The values for the deployment-plan xpath elements seem to be "peculiar".
    Although it should not be a problem in an XPath expression, using single quotes (like module[id='WebProject'] ) instead of double quotes (like module[id="WebProject"] ) results in:
    "java.lang.AssertionError: Attributes must be defined as name value pairs, eg, name="value" -- [id='WebProject']"
    Because an XPath predicate expression would use an "@" to refer to an attribute, I also tried to replace what you suggested module[id="Web"] with something like module[@id="Web"] but that also did not make a difference.
    - [1] http://docs.oracle.com/cd/E21764_01/web.1111/e13702/config.htm#DEPGD172
    - [2] http://www.consideringred.com/files/oracle/2012/ReviewContextRootApps-v0.02.zip
    regards
    Jan Vervecken

  • Dynamic user data in execution context

    Hi,
    I need to call to an USB-driver-DLL via LV7 in parallel running excutions (modified parallel process model with several test sockets).
    I get a DevHdl after opening the driver from every instance (execution).
    Is there an elegant solution to keep this handle in the context of every execution? I dislike the idea of keeping an array of handles in a station global and access it with the test socket index or to maintain a chain of parameters 'handle' throughout all the sequence files involved in that calls.
    Any ideas?
    Greetings from Germany!
    Uwe

    Uwe -
    When I here someone saying they want to create dynamic variables associated with an execution in TestStand, I believe they are talking about using subproperties under Execution.RunTimeVariables. I cannot think of any better way to do it within TestStand.
    As to why your VI calls appear to crash quietly when using this DLL and TestStand, I have no ideas. The first path to debug this would be to attach a debugger like MSVC to the process that goes away to see what might be going on. Minimally you should be able to catch the exception that is causing it to crash, see what type of exception it is, and to see the minimal stack trace to see where the crash is occurring. Sometimes this type of information can lead you to the next level of de
    bugging. If you have source for the DLL, then you can possibly see more details if the crash occurs inside the DLL source code.
    Scott Richardson
    Scott Richardson
    National Instruments

  • XML onLoad problem

    I'm calling an external xml file and loading it into Flash.
    I can only pull the varables out in the onLoad function. Here
    it is.
    var courseXML:XML = new XML();
    courseXML.ignoreWhite = true;
    courseXML.load("presentSlidesOne.xml");
    courseXML.onLoad = function(bSuccess:Boolean):Void {
    if (bSuccess && this.status == 0) {
    var xnRoot:XMLNode = new XMLNode(3, this.firstChild);
    var xnHelpText:XMLNode = new XMLNode(3,
    this.firstChild.firstChild);
    trace(xnHelpText.nodeValue);
    else {
    trace("document failed to load or parse.");
    //stop();
    All these trace statements produce the desired result.
    However, I can't get the data out and available globally. In
    other words, I want the same variable statements to exist outside
    the onLoad function call, so that I can actually use the data.
    Anybody know how to do this?
    Thanks,

    That is because that is what you are telling Flash to do. Any
    variable declared with "var" is going to be local to the function
    where it is created. So your choice is to drop var. But of course
    if you truly want a global variable, then declare it as a _global
    variable!
    PS: The courseXML object is its own object and exists outside
    the onLoad event handler function. Once it is loaded it stays there
    until you remove it. So the data is there an freely available even
    after it loads.

  • CVI XML Functions Execution Times Increase When Looped

    I have written multiple functions using CVI that read XML files. I have confirmed in the Resource Tracking utility that i have cleaned up all of my lists, elements, documents, etc. I have found that when I loop any of the functions I have created, the execution times increase. The increase is small but it is noticable and does effect my execution.
    Are there any other sources of memory that I need to deallocate? It seems that there is a memory leak somewhere but I am unable to see where this increase is located.
    I am currently running LabWIndows/CVI 2009 on Windows 2008 Server. I have looped my functions using TestStand 4.2.1. Any help would be appreciated!
    Thanks in advance,
    Kyle
    Solved!
    Go to Solution.

    HI Daniel,
    Thanks for the quick response.
    It is indeed slow down in execution speed when we loop. When looped, the XML reader is overwriting variables, not adding to an array. Our application is structured differently than my test case. We run a CVI function from TestStand that contains a series of commands, which contains the XML reading. The XML looping is really done in CVI. I used TestStand in my test case just to get execution times. Our psuedocode for the CVI function is as followed:
    For loop (looping over values, like amplitude or frequency)
    Reading the XML
    Applying the data from the XML to set up some instrument(s)
    Do something...
    End loop
    I can confirm that the instrument set up is not the cause of the slow down. We have written the same XML reading in C# and applied the values to the instrument setup and do not experience the slow down.
    I tested with On-The-Fly Reporting enabled and the execution time continued to slow down.
    I hope that answers all of your questions!
    Thanks,
    Kyle

  • Xml.onLoad variables undefined outside function

    Hi all,
    I've been searching this problem for a while and have tried a number of solutions found on google but nothing has worked so far. I'm sure this is a common problem, but due to my lack of flash knowledge I can't logically work through it as I'm used to windows form development, it makes sense to me that the function could access the variables I have defined but they dissapear after the .onLoad event. Does anyone know the common solution to this problem? I want to be able to pass the xml details into the local variables so I can pass on the details into a dynamic text field when movies are hovered over etc.
    Thanks in advance for any help.
    var myXML:XML = new XML();
    myXML.ignoreWhite=true
    var nav1TitleText:String;
    var nav1Text:String;
    var nav2TitleText:String;
    var nav2Text:String;
    var nav3TitleText:String;
    var nav3Text:String;
    var nav4TitleText:String;
    var nav4Text:String;
    myXML.load("navigation.xml");
    myXML.onLoad = function(success){
    if (success){
    nav1TitleText = myXML.firstChild.childNodes[0].childNodes[1].firstChild.nodeValue;
    trace(nav1TitleText); \\ This one shows the text from the xml file
    nav1Text = myXML.firstChild.childNodes[0].childNodes[2].firstChild.nodeValue;
    nav2TitleText = myXML.firstChild.childNodes[1].childNodes[1].firstChild.nodeValue;
    nav2Text = myXML.firstChild.childNodes[1].childNodes[2].firstChild.nodeValue;
    nav3TitleText = myXML.firstChild.childNodes[2].childNodes[1].firstChild.nodeValue;
    nav3Text = myXML.firstChild.childNodes[2].childNodes[2].firstChild.nodeValue;
    nav4TitleText = myXML.firstChild.childNodes[3].childNodes[1].firstChild.nodeValue;
    nav4Text = myXML.firstChild.childNodes[3].childNodes[2].firstChild.nodeValue;
    trace(nav1TitleText);  // This one traces undefined

    Thanks for your help, I have got it working now by doing as you suggested. In .net programming when you specify something to load, it will run the onload first, and then continue through to the rest of the code. I'm assuming flash runs all of the code (non-functions) regardless of order of code. So it was running the trace below the onLoad before the onLoad, even though I told it to myXML.Load() before the other code...
    Seriously doesn't make sense to me.. lol
    var myXML:XML = new XML();
    myXML.ignoreWhite=true
    var nav1TitleText:String;
    var nav1Text:String;
    var nav2TitleText:String;
    var nav2Text:String;
    var nav3TitleText:String;
    var nav3Text:String;
    var nav4TitleText:String;
    var nav4Text:String;
    myXML.load("navigation.xml");
    myXML.onLoad = function(success){
    if (success){
    nav1TitleText = myXML.firstChild.childNodes[0].childNodes[1].firstChild.nodeValue;
    trace(nav1TitleText);
    nav1Text = myXML.firstChild.childNodes[0].childNodes[2].firstChild.nodeValue;
    nav2TitleText = myXML.firstChild.childNodes[1].childNodes[1].firstChild.nodeValue;
    nav2Text = myXML.firstChild.childNodes[1].childNodes[2].firstChild.nodeValue;
    nav3TitleText = myXML.firstChild.childNodes[2].childNodes[1].firstChild.nodeValue;
    nav3Text = myXML.firstChild.childNodes[2].childNodes[2].firstChild.nodeValue;
    nav4TitleText = myXML.firstChild.childNodes[3].childNodes[1].firstChild.nodeValue;
    nav4Text = myXML.firstChild.childNodes[3].childNodes[2].firstChild.nodeValue;
    loadedValues();
    function loadedValues()
    trace(nav1TitleText);
    navItem1.title1.text = nav1TitleText;
    navItem2.title2.text = nav2TitleText;
    navItem3.title3.text = nav3TitleText;
    navItem4.title4.text = nav4TitleText;
    Thank you again for your reply!
    Bex

  • Xml.onLoad variables undefined outside

    Hi all,
    I've been searching this problem for a while and have tried a number of solutions found on google but nothing has worked so far. I'm sure this is a common problem, but due to my lack of flash knowledge I can't logically work through it as I'm used to windows form development, it makes sense to me that the function could access the variables I have defined but they dissapear after the .onLoad event. Does anyone know the common solution to this problem? I want to be able to pass the xml details into the local variables so I can pass on the details into a dynamic text field when movies are hovered over etc.
    var myXML:XML = new XML();
    myXML.ignoreWhite=true
    var nav1TitleText:String;
    var nav1Text:String;
    var nav2TitleText:String;
    var nav2Text:String;
    var nav3TitleText:String;
    var nav3Text:String;
    var nav4TitleText:String;
    var nav4Text:String;
    myXML.load("navigation.xml");
    myXML.onLoad = function(success){
    if (success){
    nav1TitleText = myXML.firstChild.childNodes[0].childNodes[1].firstChild.nodeValue;
    trace(nav1TitleText); \\ This one shows the text from the xml file
    nav1Text = myXML.firstChild.childNodes[0].childNodes[2].firstChild.nodeValue;
    nav2TitleText = myXML.firstChild.childNodes[1].childNodes[1].firstChild.nodeValue;
    nav2Text = myXML.firstChild.childNodes[1].childNodes[2].firstChild.nodeValue;
    nav3TitleText = myXML.firstChild.childNodes[2].childNodes[1].firstChild.nodeValue;
    nav3Text = myXML.firstChild.childNodes[2].childNodes[2].firstChild.nodeValue;
    nav4TitleText = myXML.firstChild.childNodes[3].childNodes[1].firstChild.nodeValue;
    nav4Text = myXML.firstChild.childNodes[3].childNodes[2].firstChild.nodeValue;
    trace(nav1TitleText);  // This one traces undefined

    Hi, thanks for your reply. For some reason I've ended up with two of the same posts.
    The other one is here: http://forums.adobe.com/message/2204418#2204418 and has been answered.
    Cheers,
    Bex

  • XML.onLoad  ... split command ?

    Hi all
    I am loading weather data from on external XML file into
    flash.
    Everything works fine and AS is loading the XML sucessfully
    But I only need certain letters or characters from the XML
    node.....
    can you help me with some code, I only want the AS to load
    the temperature data, nothing else !!!
    Help is very much appreciated.... thanks :-D

    YES THERE IS A WAY and I will find it ......
    the split command can be used to say ...... split Node at
    character 14 ..... and so on .... It is possible.
    The fact that it downloads the whole XML file doesnt mean
    anything. ;-D

  • Error while running interface with different execution context.

    Hi all,
    I have created an Interface in one context and when change the context to another one it gives error while creating internal error tables.
    It says table does not exist APPS.E$_XXCNV_CUST_BCUR_STG but there is no error while creating the table.
    The actual issue is that context is coming as UNDEFINED in Loading Connection tab and Default connection has the earlier context.
    This issue is not coming in all the interfaces only in few interfaces. The other interface runs successfully after changing the context.
    Please let us know if you have faced such an issue and what could be the cause of context coming as UNDEFINED.

    Hi,
    Can you cross check the logical schema of the interface which is pointed on the corresponding context? If its pointed to wrong DB(Physical Schema) it will errored out UNDEFINED error.
    Thanks,
    Guru

  • Re: Java Errors on onLoad execution

    Real Casino Guide Here'real casino guide'
    http://naked.realcasinoguide4u.com/expensive/healthexposed/real-casino-guide.htm)'real
    casiino guide'
    http://cheap.realcasinoguide4u.com/results/pornlove/real-casino-guide.htm)'real
    caisnl guide'
    http://glossy.realcasinoguide4u.com/naked/nudenew/real-casino-guide.htm)'real
    casinno guide'
    http://sex.realcasinoguide4u.com/new/cuntmoney/real-casino-guide.htm)'real
    casino guidre'
    http://cheap.realcasinoguide4u.com/glossy/sexyou/real-casino-guide.htm)'eral
    cvsajnjo gujde'
    http://class.realcasinoguide4u.com/porn/cheapnew/real-casino-guide.htm)'realk
    casino guide'
    http://exposed.realcasinoguide4u.com/safety/glossyresults/real-casino-guide.htm)'real
    caeino guide'
    http://expensive.realcasinoguide4u.com/save/cheaplove/real-casino-guide.htm)'realo
    caisno guide'
    http://porn.realcasinoguide4u.com/expensive/guaranteeexpensive/real-casino-guide.htm)'read l
    casino giyde'
    http://sex.realcasinoguide4u.com/porn/pornyou/real-casino-guide.htm)'real
    casino guide'
    http://expensive.realcasinoguide4u.com/glossy/baresave/real-casino-guide.htm)'real
    casino guids'
    http://love.realcasinoguide4u.com/save/classglossy/real-casino-guide.htm)'real
    casino guide'
    http://naked.realcasinoguide4u.com/****/guaranteeexposed/real-casino-guide.htm)'real
    casinbo guiide'
    http://****.realcasinoguide4u.com/health/easyclass/real-casino-guide.htm)'realasino
    ugide'
    http://naked.realcasinoguide4u.com/cheap/newnude/real-casino-guide.htm)'eal
    casino gudie'
    http://exposed.realcasinoguide4u.com/love/moneycheap/real-casino-guide.htm)'edal
    casino guide'
    http://cheap.realcasinoguide4u.com/discover/discoverlove/real-casino-guide.htm)'rral
    casino guyide'
    http://sex.realcasinoguide4u.com/glossy/pornnaked/real-casino-guide.htm)'rela
    casino guied'
    http://easy.realcasinoguide4u.com/new/safetycunt/real-casino-guide.htm)http://tinyurl.com/ 96svjjhttp://realcasinoguide4u.comhttp://realcasinoguide4u.com

    REPOSITORY_URL=http://winms-wwscale.millsite.net:5500/em/upload/
    I searched every file in the <server url> directory and changed any references to the old servername to the new one. The only ones that showed up were for isqlplus items.
    I am pretty sure I have run the "emca dbcontrol db -repos recreate" command, but perhaps I'll do it again. I also have a thread going on this in metalink and one suggestion is to do the following:
    SHUTDOWN IMMEDIATE;
    STARTUP RESTRICT;
    A. Drop the repository manually using following procedure.
    Stop the DB Console if not already stoped: $ORACLE_HOME/bin/emctl stop dbconsole
    Log on in sqlplus as sys user and run the following commands:
    a. drop user sysman cascade;
    b. drop role MGMT_USER;
    c. drop user MGMT_VIEW cascade;
    d. drop public synonym MGMT_TARGET_BLACKOUTS;
    e. drop public synonym SETEMVIEWUSERCONTEXT;
    (Note If any of the above statement failed and saying object doesn't exist just skip that
    statement)
    B. Drop the DB Control configuration files.
    Remove the following directories:
    $rm -rf $ORACLE_HOME/<HOSTNAME_SID>
    $rm -rf $ORACLE_HOME/oc4j/j2ee/OC4J_DBConsole_<HOSTNAME_SID>
    On Windows systems just delete the folders above from the Explorer.
    You have to replace the values in the <> with the correct values from your environment .
    The shutdown and startup restrict seems a tad severe to me, I'm thinking thats if others may be trying to access the database control page while you are doing all of this.

Maybe you are looking for

  • Error calling DLL in LabVIEW, but works in VC

    I compiled a DLL from Matlab, and then compiled a wrapper DLL in VC++. I tested the wrapper DLL in VC++, and it works fine, generating the correct output as in Matlab.  But when I call the wrapper DLL in LabVIEW, the first thing I noticed was that it

  • Can't join calendar; already owner

    My wife and I use the same Apple id for purchases and I have separate id for other use.  I tried to share a calendar withe my wife while signed into iCloud with my separate id.  She got the invite to join email; however, when she enters her apple id

  • No Service provider in Demark

    I have bought a BB Pearl 8100 in US. As it appears I can not use it for anything else than mobile phone as TDC (the Major Danish service provider) or any other Service provider in Denmark for thqat sake  does not support BB except having an enterpris

  • BW Statistics  - Is it transportable ?

    Hello Gurus, This is a question on BW Statistics. I have made the necessary settings to switch on BW Statistics. My question is, Are these settings Transportable or do they need to be maintained in each landscape. Thanks in advance

  • How to transfer contacts from Windows 7.5 Mobile OS to IOS7

    Help needed, I recently bought a iphone 5C and am looking at options to trnasfer my contacts,pics etc from my old Nokia Lumina phone which runs windows 7.5 to my new iphone....thanks