Xml Photogallery - my get url does not get

Hi, I was wondering if someone out there could help me out
with what might be a tiny problem... maybe.
I'd like my btn in flash to link to a URL. So i added it and
then added to the actionscript the onrelease function for the
button. I did a trace to see if it's targetting the link in the
xml, and it is but it won't load the URL inside the xml. Please oh
please... anyone?
Here is my xml:
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<images>
<pic>
<image2>
http://sumolab.co.uk/ymt_yorkvenues/images/shire.jpg</image2>
<link>
http://www.grahamhowe.net</link>
</pic>
</images>
The actionscript:
delay = 3000;
function loadXML(loaded) {
if (loaded) {
xmlNode = this.firstChild;
image1 = [];
total = xmlNode.childNodes.length;
for (i=0; i<total; i++) {
image1
= xmlNode.childNodes.childNodes[0].firstChild.nodeValue;
link
= xmlNode.firstChild.firstChild.childNodes[1].nodeValue;
//trace
(xmlNode.firstChild.childNodes[1].firstChild.nodeValue);
evening_btn.onRelease = function(){
getURL(link[0]);
I'd be very grateful if anyone could send some advise my way.
Thanks in advance

I would use the built-in onLoad method. myXML in this example
is the name of an XML Object:

Similar Messages

  • Content file download failed. Reason: HTTP status 404: The requested URL does not exist on the server.

    Hi,
    I am getting this error in most of our WSUS servers.
    Content file download failed.
    Reason: HTTP status 404: The requested URL does not exist on the server.
    Source File: /Content/FB/134501186F4C81089054E4EC3376E74EEC895EFB.exe 
    Destination File: d:\wsus\WsusContent\FB\134501186F4C81089054E4EC3376E74EEC895EFB.exe
     After few minutes, getting below error as well. But i could see the synchronization has completed successfully.
    Log Name:      Application
    Source:        Windows Server Update Services
    Date:          12/19/2014 4:45:55 PM
    Event ID:      10032
    Task Category: 7
    Level:         Error
    Keywords:      Classic
    User:          N/A
    Computer:      ******
    Description:
    The server is failing to download some updates.
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
      <System>
        <Provider Name="Windows Server Update Services" />
        <EventID Qualifiers="0">10032</EventID>
        <Level>2</Level>
        <Task>7</Task>
        <Keywords>0x80000000000000</Keywords>
        <TimeCreated SystemTime="2014-12-19T08:45:55.000000000Z" />
        <EventRecordID>496887</EventRecordID>
        <Channel>Application</Channel>
        <Computer>*****</Computer>
         <Data>The server is failing to download some updates.</Data>
    This error is happening everyday. Please advise for a fix.

    Reason: HTTP status 404: The requested URL does not exist on the server.
    Source File: /Content/FB/134501186F4C81089054E4EC3376E74EEC895EFB.exe 
    Destination File: d:\wsus\WsusContent\FB\134501186F4C81089054E4EC3376E74EEC895EFB.exe
    Source:        Windows Server Update Services
    Description:
    The server is failing to download some updates.
    This error is happening everyday. Please advise for a fix.
    If this is happening on an UPSTREAM server it is because you have approved updates that are no longer available from Microsoft. Almost always this involves approvals of *EXPIRED* updates (which have been pulled from the catalog and cannot be downloaded).
    If this is happening on a DOWNSTREAM server it's because something/someone deleted the files from the upstream server. It can also happen if the entire upstream ~\WSUSContent folder has gone amuk.
    For an upstream server, find the expired updates, remove the approvals, cancel the downloads, and then decline the updates.
    For a downstream server, figure out what the affected updates are and fix the upstream server.
    Lawrence Garvin, M.S., MCSA, MCITP:EA, MCDBA
    SolarWinds Head Geek
    Microsoft MVP - Software Packaging, Deployment & Servicing (2005-2014)
    My MVP Profile: http://mvp.microsoft.com/en-us/mvp/Lawrence%20R%20Garvin-32101
    http://www.solarwinds.com/gotmicrosoft
    The views expressed on this post are mine and do not necessarily reflect the views of SolarWinds.

  • Name in certificate `URL' does not match host name `URL'

    Hello,
    We are getting the error
    Name in certificate `URL' does not match host name  `URL'?
    Can someone can provide solution to resolve the above error? Also can you please inform whether Coldfusion 8 supports checking the Subject Alternative Names in the SSL  certificate? If so, kindly tell us how to do it.
    Environment that we use is coldfusion 8 with sql server 2005 (DB). If you have any query please let me know.
    Thanks,
    Satheesh.

    Hi Siva,
    we have faced the same problem on our application. To overcome this we used the below workarround...
    Make the host entry for webservice provider [serviceprovider.test.com] pointing to its IP [172.99.71.12].
    In cfm file
    There's no need to add the proxy and the port in the cfm file.
                 <cfhttp method="Post" url="#WEBSERVICE_SERVICE_PROVIDER#" resolveurl="Yes">
                    <cfhttpparam type="Formfield" name="xmlValue" value="#tostring(xml)#">
                </cfhttp>
    The below URL will help you on debugging CFHTTP Request
    http://kb2.adobe.com/cps/998/9987e902.html

  • Error while executing webdynpro application : he URL does not contain full

    Dear All,
    I had installed SAP in my system.But when I am testing webdynpro application I am getting the belwo error. Please let me knwo what setting I need to do to avoid this error.
    Error when processing your request
    What has happened?
    The URL http://hari:8000/sap/bc/webdynpro/sap/z_test_pg was not called due to an error.
    Note
    The following error text was processed in the system DEV : The URL does not contain full domain specification (hari statt hari.<domain>.<ext>).
    The error occurred on the application server HARI_DEV_00 and in the work process 0 .
    The termination type was: RABAX_STATE
    The ABAP call stack was:
    Method: CHECK of program CX_FQDN=======================CP
    Method: LATE_CONSTRUCTOR of program CL_WDR_UCF====================CP
    Method: HANDLE_REQUEST of program CL_WDR_UCF====================CP
    Method: IF_HTTP_EXTENSION~HANDLE_REQUEST of program CL_WDR_MAIN_TASK==============CP
    Method: EXECUTE_REQUEST of program CL_HTTP_SERVER================CP
    Function: HTTP_DISPATCH_REQUEST of program SAPLHTTP_RUNTIME
    Module: %_HTTP_START of program SAPMHTTP
    What can I do?
    If the termination type was RABAX_STATE, then you can find more information on the cause of the termination in the system DEV in transaction ST22.
    If the termination type was ABORT_MESSAGE_STATE, then you can find more information on the cause of the termination on the application server HARI_DEV_00 in transaction SM21.
    If the termination type was ERROR_MESSAGE_STATE, then you can search for more information in the trace file for the work process 0 in transaction ST11 on the application server HARI_DEV_00 . In some situations, you may also need to analyze the trace files of other work processes.
    If you do not yet have a user ID, contact your system administrator.
    Error code: ICF-IE-http -c: 800 -u: SAPUSER -l: E -s: DEV -i: HARI_DEV_00 -w: 0 -d: 20080109 -t: 073032 -v: RABAX_STATE -e: UNCAUGHT_EXCEPTION
    HTTP 500 - Internal Server Error
    Your SAP Internet Communication Framework Team

    Hello,
    Little extract from the SAP online help :
    In Web Dynpro ABAP it is imperative that a client browser with a fully qualified domain name (FQDN) has access to the AS-ABAP. For this reason the full URL must be assigned to a Web Dynpro ABAP application when it is called. The URL must not be shortened (for instance, no domain specification).
    More info on how you should do this can be found here :
    [Click|http://help.sap.com/saphelp_nw70/helpdata/en/67/be9442572e1231e10000000a1550b0/content.htm]
    This will solve your problem.
    Success.
    Wim

  • URL Does Not Work in Firefox, but DOES Work in Other Browsers

    The following URL does NOT work in Firefox. However, it DOES work in Internet Explorer and Google Chrome:
    https://www.ascap.com/ace/
    The main ASCAP URL works just fine. The problem seems to be confined to this link alone. Please fix; thank you!

    There is a server redirect on this URL.
    <pre><nowiki>
    https://www.ascap.com/ace/
    GET /ace/ HTTP/1.1
    Host: www.ascap.com
    HTTP/1.1 302 Found
    Location: https://www.ascap.com/Home/ace-title-search/index.aspx</nowiki></pre>
    If you use a bookmark then try to navigate to the want page starting with the main (home) page.
    You can reload web page(s) and bypass the cache to refresh possibly outdated or corrupted files.
    *Hold down the Shift key and left-click the Reload button
    *Press "Ctrl + F5" or press "Ctrl + Shift + R" (Windows,Linux)
    *Press "Command + Shift + R" (Mac)
    Clear the cache and remove cookies only from websites that cause problems.
    "Clear the Cache":
    *Firefox/Tools > Options > Advanced > Network > Cached Web Content: "Clear Now"
    "Remove Cookies" from sites causing problems:
    *Firefox/Tools > Options > Privacy > "Use custom settings for history" > Cookies: "Show Cookies"

  • [svn:fx-4.0.0] 13615: fix airframework/build. xml so the en_US _rb does not become corrupt when the other. locales target is run.

    Revision: 13615
    Revision: 13615
    Author:   [email protected]
    Date:     2010-01-18 20:59:14 -0800 (Mon, 18 Jan 2010)
    Log Message:
    fix airframework/build.xml so the en_US _rb does not become corrupt when the other.locales target is run.
    -removed the redundant en_US call in the other.locales target
    -added a clean for locales that will only remove the locale being built before rebuild - not all of the locales
    -add updated dita that does not contain spark references
    QE notes: 
    Doc notes:
    Bugs: no but Pete and I discussed briefly
    Reviewer:
    Tests run: doc and other.locales
    Is noteworthy for integration:
    Modified Paths:
        flex/sdk/branches/4.0.0/frameworks/projects/airframework/build.xml
        flex/sdk/branches/4.0.0/frameworks/projects/airframework/bundles/de_DE/docs/packages.dita
        flex/sdk/branches/4.0.0/frameworks/projects/airframework/bundles/fr_FR/docs/packages.dita
        flex/sdk/branches/4.0.0/frameworks/projects/airframework/bundles/ru_RU/docs/packages.dita
        flex/sdk/branches/4.0.0/frameworks/projects/airframework/bundles/zh_CN/docs/packages.dita

    What kind of projects are they (Struts/JSF/Hibernate)? Does the working project differ in any way with other two apps?
    What exactly is not working? Are they recognized by workshop as Struts/JSF/Hibernate app?
    Please send the .log to [email protected]

  • Xml parsing, one works, one does not?

    I am using the xerces parser to validate a xml against a schema. it works fine if i just specified the location of the xml file. however, if i converted the xml file into byte[], it does not work.
    something i did not do right?
    thanks.
    //works
    myParser.parse("C://test.xml");
    //does not work, xml_data is the byte[] of test.xml
    ByteArrayInputStream bais = new ByteArrayInputStream (xml_data);
    myParser.parse(new InputSource(bais));
    errors:
    [warning] org.xml.sax.SAXParseException: schema_reference.4: Failed to read schema document 'stuff.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
    [error] org.xml.sax.SAXParseException: cvc-elt.1: Cannot find the declaration of element 'ElectronicPayment'.
    cvc-elt.1: Cannot find the declaration of element 'Person'.

    You have:
    ByteArrayInputStream bais = new ByteArrayInputStream (xml_data);
    myParser.parse(new InputSource(bais));
    ERROR is: xml_data is a string, not bytes
    so: try
    ByteArrayInputStream bais = new ByteArrayInputStream (xml_data.getBytes());
    myParser.parse(new InputSource(bais));

  • My wife's iPhone 4 opens email documents formatted in office open XML but my iPhone 4 does not. Any insight?

    My wife's iPhone 4 opens email documents formatted in office open XML but my iPhone 4 does not. Any insight?

    Phone started working again for no apparent reason.  We did nothing special.  I am going to leave this open for now as I would like to know what could cause this.

  • Call to createxml with a schema url does not create schema based xml

    Unfortunately I am unable to post the exact creates that I have done, but I am having a problem and none of my DBA's were able to help me.
    Basically what I have done is, I had existing tables in our database that have legacy data in them. Our ultimate goal is to export information in xml format from the database.
    The first thing I did was to create objects in oracle that wrapped the logic of these tables and filled the objects in based on on ID parameter. There are 3 separate levels of objects. One object that has tables of two other objects each of which has tables of objects themselves.
    After the objects were created, I used a call to dbms_xmlschema.generateschema to generate the schema for these objects. After that I changed the schema so that the names of the elements in the schema were names that i wanted to be. I THOUGHT that this would map my oracle object names to new element names.
    After the schema was generated and changed, I used a call to dbms_xmlschema.registerSchema with the following options:
    local=>true, genTypes=>false, force=>false, GENTABLES=>false, genbean=>false
    I tried it with gentables = true, but unfortunately i don't have access to create these tables and the dba's were not allowing me to because they aren't familiar with the xml capabilities and I couldn't explain why it was necessary. I'm not sure that it is.
    Once the schema was registered, i made a call to xmltype.createxml
    with a call to my object contstructor method as the first parameter, and the schema url that was registered in the database as the second parameter.
    Now, here is my problem. The xmltype result that comes back from the query to createxml does not return the element tag names that i had written in the schema. The tag names are the same as the object names which are the same as it is if i didn't use the schema url at all. Does anyone know what I could possibly be doing wrong? Maybe I am misunderstanding the functionality of creating xml with an oracle xml annotated schema. Please help!

    code tags and formatting are done with square brackets :-) Check out the Formatting Help on the message entry page
    What does the URL resolve to when you view source on the JSP page?
    Try it just "/ViewScores" rather than "/servlet/ViewScores"
    Apart from that, it looks fine to me
    Cheers,
    evnafets

  • Parsing XML from a socket that does not close

    Hi -
    I've seen similar questions to this already posted, but either they did not really apply to my situation or they were not answered.
    I have to read messages from a server and process them individually, but the protocol does not indicate the message length or give any sort of terminating character. You only know you have a complete message because it will be a well formed XML fragment. To complicate matters more, there could be extra binary data preceding each XML message. I must stress that I did not write this server, and I have no influence over the protocol at all, so while I certainly agree that this is not such a good protocol, changing it is not an option.
    I'm hoping that there is a reasonable way to deal with this with an existing parser. Ironically, I don't really need to parse the XML at all, I just need to know when the current message is over but the only indication I get is that it will be the end of an XML fragment.
    I do have the ability to strip off the non-XML binary data, so if there is some way that I can give the stream to a SAX (or other) parser when I know XML is coming and have it inform me when tags begin and end, or ideally inform me when it is done a complete XML fragment, that would be perfect. I'm aware of how to do this using SAX normally, but it seems that it will not function correctly when there is no EOF or other indication that the document has ended.
    The best algorithm I have come up with (and it's pretty cheesy) is:
    1. Start with a string buffer.
    2. Append data from the socket to the buffer one byte at a time.
    3. Keep checking if there is a '<' character that is not followed by '?' or '!'. (ie - don't concern myself with the special XML elements that don't close with '/>' or </tagName>. I keep them in the buffer to pass on when I'm done though.)
    4. When I get my first tag with <tagName> I make note of what this tag is and increment a counter. If the tag is self closing, then I'm done.
    5. Anytime I see this tag I increment the counter.
    6. Anytime I see </tagName> I decrement the counter. If the counter = 0, I am done.
    7. I pass on the entire message, preceding binary data, special XML tags and the fragment to the module that actually processes it.
    This has a few problems. I'll have to go out of my way to support multiple character encodings, I'll have to be careful to catch all the special XML tags, and its quite CPU intensive to be interested in every single character that comes down the pipe (but I suppose this is not avoidable). Also, I just don't like to re-invent the wheel because I'm likely to make an error that a well established parser would not make.
    Does anyone have any suggestions for this, or know of a parser that will deal with fragments using streams that don't close?
    Thanks!

    The parser expects to read to the end of the stream. If you closed the stream right after you wrote to it, I bet it would work. You wouldn't want to close the stream though would you? Try sending the string using a DataOuputStream and calling DataOutputStream.writeUTF(String) on the client side. Then, on the server side call String str = in.readUTF() (where 'in' is a DataInputStream). Then wrap the string in a StringReader and give the StringReader to the parser as it's input source.

  • In 5.0 URL does not show in location bar when I am using a second Firefox window

    I have a lot of problems when using a second window for Firefox 5.0. (I have two monitors and like an open browser on each.) One problem is that when I open a new tab, the URL of a site that I go to does not show in the location bar. It just says "Go to a Web site."
    I don't understand why a second copy of the browser acts so differently than the first. Can someone explain this to me? Is there any way to avoid this?
    FYI: I had the same problem with 4.0 and reinstalled an older version. But the newest version of WordPress suggested upgrading Firefox, which I did.

    Thanks so much for getting back to me. I am familiar with your solution and tried it. It did not solve this problem.

  • AFC Display Property URL does not allow scrolling in new window

    I have a field that is a checkbox.  In the Display Properties General tab, I select "Add a Button", enter Button Text and the "URL:" where the htm form is stored.  It looks good and my customers really like it.  However, when the button is selected, a new pop-up window displays and there are no scroll capabilities to view the bottom of the document.  I can stretch the window to an entire screen, but the information on the bottom of the screen does not display.  Is there something else I need to do to get the pop-up window to scroll?  Does anyone have a solution for this?

    workaround: select some text on the form and then drag down
    This "bug" is in many popups in the product

  • Cannot use home; message says url does not exist, and firefox homepage is gone.

    When I open Firefox, I do not go to the Firefox homepage. The page that comes up has Mozilla Firefox on the top blue bar, and the navigation bar file - help. Underneath it reads "new tab" and the location bar reads "go to a website" followed by the Google search box which does drop down to reveal the other search engines. This is followed by the "home" box. When I click on home, I get an Alert box that states "The URL is not valid and cannot be loaded." I do not get the Firefox home page when I open Firefox (but it does connect me to the internet), and clicking on home does not take me to the Firefox home page either. How do I fix this problem?

    Typing in "about:home" still gets the URL not valid message. There seems to be no home to which to default, so that doesn't work. I tried to take the system back to an earlier date; it doesn't work. When I go to an earlier date and open Firefox, it crashes and needs to be reinstalled. When reinstalled, it does not give me the Firefox homepage from which to work. I generally use Google as a search engine, but do not use a google tool bar. I am at a loss as to what to do.

  • [SOLVED] Creating PKGBUILDS where the source URL does not have version

    I am trying to create a a PKBUILD for idevsutil which is provided by IDrive for backing up into their cloud. The archive provided by them contains just a binary and a readme. Now the source URL, http://evs.idrive.com/download/download … inux64.zip does not include the version number. So looks like they are updating the same file for every version. In case they update the version the checksum should fail which should prevent mismatch in dev versioning and what gets installed. But are there any best practices for such cases when we write PKGBUILD?
    Last edited by nsmathew (2013-12-28 16:22:02)

    Trilby wrote:
    The content provided by the source url for version-control packages is also always changing, yet the PKGBUILDS don't need to.  The key for these is to use the 'SKIP' entry in the checksum variable.  The packages must also have the version control system appended to the title (eg package-git).
    You certainly could make a package-dev which skipped the checksum.  However, this would mean user's of the PKGBUILD would be downloading a random unchecked binary from someone's idrive site.  This seems like a very bad idea.
    My idea was to not allow for the installation of the software if the upstream version changes which the checksum should take care off. Will then update the PKGBUILD with the new version and checksum.
    In terms of the binary, it is the officially provided binary by IDrive and the URL points to the same.
    graysky wrote:Don't think you can do much with that.  I would send an email requesting a versioned archive explaining that you are packing their software for a linux distribution.
    I have already requested for the license info on their dev forums, let me also check with them if a versioned archive is available. Thanks.

  • The url does not change when navigating to a new site or page. Back button is also inactive.

    I launch firefox 3.6.15 and it displays google main page. I perform a google search, get search results, click on a site link, and that page is displayed. All good. Here is the problem I am experiencing. The url for the site, however, is not displayed. Firefox still displays google.com and not the url for the page I am on. Additionally, the back button is inactive. So, I can never navigate back to the previous page. If I type in a url the same thing will happen. Forefox will display the typed in url and not urls for the pages I navigate to and the back button is inactive. Very frustrating.

    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
    *Don't make any changes on the Safe mode start window.
    *https://support.mozilla.com/kb/Safe+Mode
    *https://support.mozilla.com/kb/Troubleshooting+extensions+and+themes

  • Special characters in UCM site URL does not give error

    Hey Experts,
    If we put any special characters in site URL, UCM does not show 404 page .. for e.g.
    site URL is http://www.example.com/abc/xyzs/index.html.... if we add special characters in URL for e.g. http://www.example.com/#$abc/xyzs/index.html...
    then home page of site is displayed .....http://www.example.com/...
    Also http://www.example.com/ abc/xyzs/index.html shows home page ..
    Any idea why it is happening ??

    I would attribute this behavious to the SSUrlMap filter - which has the job of turning the friendly URL's into SS_GET_PAGE service calls. Apparently the way it parses the URLs and looks for the patterns does not consider these characters.
    Is it actually a problem?
    Tim

Maybe you are looking for

  • Can I export Numbers data into a calendar format?

    I have project names and their deadlines in a table and would like to export/view them in a calendar format so I can see, at a glance, what is due when...does anyone know if this is possible?

  • Windows Vista Ultimate on Dell XPS Notebook: Why do I need Boot  Camp?

    I use Windows Vista Ultimate on my Dell XPS Notebook, and application software includes iTunes and Apple Store. Is this why I received a message to download "Boot Camp"? Why do I need Boot Camp?

  • Delivery creation based on Customer PO number

    Hi Friends, My requirement is like this suppose i have 5 Sales orders - S1, S2, S3, S4 & S5. If Customer PO numbers in S1, S3, S5 are P1 &                                         S2 & S4 are P2. Then there is a background Job which runs a Program RV5

  • Interview Questions in PD

    Hi, I need some interview questions in PD. I have to be a panelist for PD. Please give me some questions along with answers in PD. Thanks and regards.

  • DataGrid Item Renderer loading duplicates after scroll

    HI, I have a report that loads into a datagrid, these reports are about thumbnail images that are on a server. I have a datagrid item renderer that loads the thumb nails. When the grid first loads the first set of rows that are visible display the co