Give a reference to (LoadVars||XML).sendAndLoad

I write a class to manage several HTTP echanges.
It's a stack of url:String, method:String, datas:object and
what-should-be-a-reference:object.
Stacking function interface : public function
push(url:String, method:String, datas:object, receiver:object):Void
While unstacking, I call the sendAndLoad corresponding to the
datas&receiver instanceof.
The datas in the stack are a object copy of the original one
passed to the push function and it doesn't matter.
public function push(url:String, method:String, datas:object,
receiver:object):Void {
var entry = new Object();
entry.receiver = receiver; /* MUST be a reference */
stack.push(entry);
In both cases, XML or LoadVars, I got the problems that when
I modifie the .receiver variable stocked in the stack, it doesn't
affect the original one passed to the function.
lv.sendAndLoad(currentEntry.url, currentEntry.receiver,
currentEntry.method);
Is there a way to declare that I don't want a copy of the
given param but a reference ? (or to pass a reference to a
function)

What is the full path to the dll file you're trying to add?
System.xml.linq is part of the default reference libraries for a Windows Phone 8 project so you should not need to add this reference.
Eric Fleck, Windows Store and Windows Phone Developer Support. If you would like to provide feedback or suggestions for future improvements to the Windows Phone SDK please go to http://wpdev.uservoice.com/ where you can post your suggestions and/or cast
your votes for existing suggestions.

Similar Messages

  • Since installing the latest update, Firefox will not load; it gives me the following error -- XML Parsing Error: not well formed.

    since installing the latest update, Firefox first operated with some errors but now will not load at all; it gives me the following error --
    XML Parsing Error: not well formed
    locations chrome://browser/content/browser.xml
    Line Number 1191, column 20:
    utton id="back-forward-dropmarker" type="menu" chromedir="&locale.dir;"-------------------
    please note that the words "utton ID" are exactly as the error message gives it; and at the end of the message there are exactly 19 hyphens.
    I don't know why this faulty code is referencing things to do with "chrome"... the Chrome browser is not installed on this PC or anywhere on our network.
    Also, this is not the first problem I had after clicking Firefox's prompt for the latest update. Before Firefox retreated into this error message, it was loading but running with some faults...
    1. the bookmark symbol was not appearing on the right hand side of the URL line, so I had always to click on "bookmark this page", after which the bookmark symbol did appear; however I don't know if the bookmarking function worked properly.
    2. the back and forward buttons were not highlighted, as if I had not come from a previous page; so once I clicked on a link to a new page I could not go back to where I came from because Fiefox thought I hadn't come from anywhere.
    3. there may have been other errors, but I did not find them.
    How do I reinstate my Firefox program to work properly please? do I have to download the latest version and reinstal? if so, do I have to remove the old version first? or is there a fix?
    Even to write this message I have been forced to use (yuk -- I don't like to say this!!!) Internet Explorer. So please -- I need help urgently.
    Thanks,
    NOEL

    Some how I solved my problem by opening a user account and downloading Firefox 4.0 beta and installing it, I did try it, worked fine, so I did close the user account and did go back to my own account(switched user), the main page that I had problem with Firefox which would not open, I dabble click on Firefox it start working again!! I hope that solves your problem too.
    firefox will not open, it gives me this cod and would not turn off, Error on switching in renew: NS_ERROR_UNEXPECTED, Component returned failure code: 0x8000ffff (NS_ERROR_UNEXPECTED) [nsIPrefBranch.getCharPref] id: none

  • Making a call over HTTPS with LoadVars, XML.load(), and WebService - Yes or No?

    Hello, do LoadVars, XML.load(), or WebService support HTTPS-based endpoints, Yes or No?
    BACKGROUND
    ============
    I've been trying to get a LoadVars to actually make a call to an HTTPS endpoint. There is nothing in the documentation that says it can't. I know that there's also XML.load() and WebService class, but from the looks of it they don't do HTTPS.
    During my tests I have absolutely no issues with making calls to the same service over HTTP. When I change it to HTTPS I don't see HTTPStatus or even failures. Also, netstat on my server will show a connection being established with the endpoint when using HTTP but not when using HTTPS. I've also tried setting SSLVerifyCertificate to "false" in my Server.xml and after a restart of AMS it doesn't help, same symptom.
    I've also googled and looked through all Adobe forum posts that I can find:
    https://forums.adobe.com/message/4938426#4938426
    https://forums.adobe.com/thread/1661461
    https://forums.adobe.com/thread/782037
    https://forums.adobe.com/message/74981
    https://forums.adobe.com/message/5107735#5107735
    https://forums.adobe.com/message/7815#7815
    https://forums.adobe.com/message/53870#53870
    https://forums.adobe.com/message/87797#87797
    WebService Class - http://stackoverflow.com/questions/5619776/webservice-and-fms
    The best I found from the posts above is a non-commital answer from adobe staff at https://forums.adobe.com/message/4938426#4938426 and a 3rd party person saying that Webservice doesn't work at http://stackoverflow.com/questions/5619776/webservice-and-fms.
    All I need is an official supported/not-supported from the Adobe staff. Shouldn't be to hard after 5 years or so of ignoring the questions in the forum right?

    Adobe, please provide some details to your current and possibly potential customers, in at least one of the many unanswered posts about making HTTPS requests from AMS.
    P.S.
    realeyes_jun,
    RealEyes Media has been an inspiration to me for many years, and I would like to thank them for their efforts to better the media streaming community.
    Also, would it be possible to please release the source to REDbug?

  • Character reference in Apache xml serializer

    Hi,
    I am having some issues with XML serializer while having control characters in the String.
    The control characters are getting converted to character reference in apache XML serializer.
    Could anyone help me to disable the control characters getting converted to character reference?
    or Do we have anyway to suprees/remove these control characters?
    Could anyone please help us on this issue?
    Thanks a lot!!!
    Rajkumar R.

    Since this is an apache product I suggest you look at the apache documentation on the apache web site or have a look at the apache forums.
    You shouldn't need to worry about control characters being converted because the reader should convert them back again. If it doesn't it is probably a bug on the readers side.

  • Xml sendandLoad vs https

    hi
    I have developed an gaming web application, I load a swf in
    jsp page which makes a xml.sendandLoad() request after loading.
    i use struts and jboss , from the swf using sendandLoad() a
    request is make to server and in response it gets an xml
    its working perfectly when its HTTP but when it comes to
    HTTPS the request is hitting the server but the response is not
    coming the SWF is going on wainting for the response.
    my server side code i generating an xml and setting it in the
    printWriter of the response.
    I even tried crossdomain.xml for the security policy it is
    not working .
    iam stuck up please help me to resolve this issue.

    Here's something that might help you:
    http://www.northcode.com/forums/showthread.php?s=&threadid=3803
    Dan Mode
    --> Adobe Community Expert
    *Flash Helps*
    http://www.smithmediafusion.com/blog/?cat=11
    *THE online Radio*
    http://www.tornadostream.com
    <--check this
    *Must Read*
    http://www.smithmediafusion.com/blog
    "arovinth" <[email protected]> wrote in
    message
    news:erhrg0$fm6$[email protected]..
    > hi
    > I have developed an gaming web application, I load a swf
    in jsp page which
    > makes a xml.sendandLoad() request after loading.
    >
    > i use struts and jboss , from the swf using
    sendandLoad() a request is
    > make to
    > server and in response it gets an xml
    >
    > its working perfectly when its HTTP but when it comes to
    HTTPS the request
    > is
    > hitting the server but the response is not coming the
    SWF is going on
    > wainting
    > for the response.
    >
    > my server side code i generating an xml and setting it
    in the printWriter
    > of
    > the response.
    >
    > I even tried crossdomain.xml for the security policy it
    is not working .
    >
    > iam stuck up please help me to resolve this issue.
    >
    >
    >

  • XML.sendAndLoad - (Security-related) Error Opening URL

    Hi All,
    I know this is a common problem (I've searched), but I'm
    hoping you can help me out.
    1. What my Application Does
    My Flash app uses XML.sendAndLoad() to communicate with a
    Java Servlet on the same domain, in the same webapp.
    2. What happens when I run it on my (developer) machine
    It works.
    I connect to a url "
    http://localhost:8080/webapp1/servlet/FlashServlet"
    perfectly and pass around XML between Flash and Java
    3. What Happens on the Real Machine
    The Real Machines equivalent URL is
    http://int-tzn:8101/webapp1/servlet/FlashServlet
    The XML.sendAndLoad() cannot connect, with a "Error Opening
    URL" error.
    4. What I've Tried
    4.1. Using a
    crossdomain.xml on Real Machine
    (not sure if I've got in correct place, but i
    can see it at
    http://int-tzn:8101/crossdomain.xml
    4.2. Tried a StandAlone (Projector) WITH Network Access
    4.3. Tried using
    LocalContentUpdater to confirm and set
    network access
    4.4. Have set in my ActionScript :
    System.security.allowDomain("*");
    Please help.
    This needs to go into a large Production Environment in 2
    days and there are large amounts of money behind it.
    Thanks in advance.
    - Laven Pillay

    OK the deal is:
    When using TLF, a user visiting your webpage will download the TLF's SWZ file, if the user already has that file it will be downloaded from the adobe site, if the adobe site is down then it will search the .swz from where the website is hosted on.
    Have a read here:
    http://help.adobe.com/en_US/flash/cs/using/WSb03e830bd6f770ee-4b0db644124bbdb363d-8000.htm l#WSb03e830bd6f770ee72b69dc71257a25aa72-8000

  • Saving XML from Flash XML.sendAndLoad

    I'm new to XML and haven't a clue how to integrate Flash xml
    and Coldfusion 7. There is a Flash app ( I didn't develop it) that
    is sending xml.sendAndLoad formatted data like this to a cf page
    setSummaryQuiz.cfm
    <?xml version="1.0" encoding="UTF-8"?>
    <result lessonID="19" userID="56">
    <word id="281" value="1" />
    <word id="282" value="1" />
    <word id="283" value="5" />
    <word id="284" value="5" />
    <word id="285" value="3" />
    <word id="286" value="7" />
    <word id="287" value="3" />
    <word id="288" value="8" />
    <word id="289" value="7" />
    <word id="290" value="4" />
    <word id="291" value="8" />
    <word id="292" value="2" />
    <word id="293" value="5" />
    <word id="294" value="4" />
    <word id="295" value="1" />
    <word id="296" value="4" />
    <word id="297" value="8" />
    <word id="298" value="1" />
    <word id="299" value="7" />
    <word id="300" value="1" />
    </result>
    My page is supposed to return saved = true or false like
    this:
    <? xml version = " 1.0" encoding = "UTF-8"?>
    <result saved = "true"/>
    Can someone help me or point me to a tutorial or code snippet
    where I can see how CF reads and parses the XML data from
    Flash?

    In ASP setting the response type to "text/xml" you can do a
    response.write command to send back XML to Flash if you were
    performing an XMLSendAndLoad command ie. send XML from Flash,
    processed by ASP and receive an XML response from the ASP - good
    for Flash to know if something worked or an error resulted in
    processing the info.

  • How to give the reference to the path  to copy the file to the server?

    hi all
    i am developing a page in jsp , in which i will open tiff image or autocad drawing,
    i get a file from one CMS, through JSP i login into CMS and get the file reference, till that i am successfull.
    but after that to open a file i have to copy that file into local pc or to the server(where my jsp page runs) and then try to open it.
    could any one know how to give the reference to the path if i have to copy the file to the server or my Local PC from CMS.
    Regards
    Oersla Afroze Ahmed

    hi Deepu,
    Use FM '/SAPDMC/LSM_F4_FRONTEND_FILE' for fetching the data from the application server path/presentation server path
    Regards,
    Santosh

  • When will PP finally stop duplicating master clip references on imported XML?

    When will PP finally stop duplicating master clip references on imported XML? PP+PluralEyes is currently useless for long form projects!
    Using the Plural Eyes 3 plug in in Premiere Pro duplicates the referenced master clips in the project.  Why isn't Premiere smart enough to see that there are already master clips for those files?
    On large project this bloats the project file to point that it slows to crawl.  I was hoping to use Premiere Pro for my latest feature doc, but looks like I've got to go back to Avid.... Sigh.
    [Text formatting corrected.]
    Message was edited by: Jim Simon

    Somehow updating to CC solved the problem for us. Let me clarify, we still
    have a bunch of duplicated clips, but before, that was making our file size
    enormous. Nearly 1 GB. Now it seems the program has gotten smarter and is
    back down to a manageable size.
    Let me know if you find a solution for the duped clips? Thanks!
    On Wed, Aug 20, 2014 at 3:48 PM, trishmccallister <[email protected]>

  • Using Flash's xml.sendAndLoad behind a proxy

    We have a product that uses Directory and Flash to collect
    data and then we send that data to a web server via a soap call. We
    had been using an external perl script to do the soap call for many
    years and are wanting to move the code in to Flash or Directory so
    we can give the user better feed back about what is happening with
    the soap call.
    I created som flash scripts that use the XML object and the
    sendAndLoad function to do the calls. The problem I am finding is
    that if the client is behind a proxy the call fails. Is there a way
    to fix this and correctly authenticate with the proxy server so
    that the soap call goes through?

    I don't know how you'd do this using a Flash object, but
    Director's
    built-in NetLingo xtra can handle SOAP requests as of version
    10.1 and
    this, in conjunction with the proxyServer() command, should
    be all you
    need - assuming you have access to proxy details.
    <
    http://www.adobe.com/devnet/director/articles/webservices.html>

  • Need php help using xml sendandload

    info:
    var bc_xml:XML = new XML(email);
    var email:String =
    "<email>[email protected]</email>";
    bc_xml.sendAndLoad(bc_url, bc_xml, "POST");
    how do i put the [email protected] into a php variable?

    1. Syntax for sendAndLoad is not correct.
    You might want to review that and the example in the Docs
    http://livedocs.macromedia.com/flash/8/main/00002879.html
    The syntax is correct however for the loadVars class.
    2. The order for this is incorrect:
    var bc_xml:XML = new XML(email);
    var email:String =
    "<email>[email protected]</email>";
    You need to declare a variable before you use it, in this
    case the email
    variable is declared and initialized after you used it.
    3. In PHP I use
    $xmlRequest = file_get_contents("php://input");
    Then you can use the xml parser in PHP or parse yourself or
    use another
    party's parser.
    Here is a simple round trip example I use in courses:
    http://www.hosfordusa.com/ClickSystems/courses/flash/examples/XMLPHP/EX01/XMLPHPEchoEx01_D oc.php
    Lon Hosford
    www.lonhosford.com
    May many happy bits flow your way!
    "ck1mark" <[email protected]> wrote in
    message
    news:e1s3bn$23f$[email protected]..
    info:
    var bc_xml:XML = new XML(email);
    var email:String =
    "<email>[email protected]</email>";
    bc_xml.sendAndLoad(bc_url, bc_xml, "POST");
    how do i put the [email protected] into a php variable?

  • How to give relative path in web.xml?

    Hi All,
    Im creating a servlet which has to load the properties file.
    I don't want to give the location of the properties file as ABSOLUTE PATH. But I'm unable to provide the same as RELATIVE PATH.
    When I give the path is given as ABSOLUTE PATH (drive:/dir/) it is working. But if I give the RELATIVE PATH(../), the same is not working.
    Kindly help me in this.
    Regards,
    Kumar Madhavan.
    My web.xml file is:
    <?xml version="1.0"?>
    <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN" "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd">
    <web-app>
         <display-name>NGT - ASCII</display-name>
         <description>Application for Safety Critical Information vIew.</description>
         <welcome-file-list>
              <welcome-file>ASCII.html</welcome-file>
         </welcome-file-list>
         <context-param>
              <param-name>asciifiledir</param-name>
    <!-- This is the tag in which I would like to
              <param-value>../</param-value>
         </context-param>
    </web-app

    Hi.
    Exclude the directory path from the <param-value/> in
    the web.xml and just keep the property file name.
    Place the property file in the classpath and load it
    like this from the servlet:
    Properties props = new Properties();
    String propFileName = "" // Read param-value from web.xml
    try {
    InputStream is = TheServlet.class.getResourceAsStream(propFileName);
    props.load(is);
    } catch (Exception ex) {
    System.out.println("Prop file not in classpath!");
    /Jesper

  • Reference faces-config.xml file from java code.

    I would like to reference the navigation rules I have set up in my faces-config.xml file from inside my source code.
    For example:
    Navigation Rule:
    <navigation-rule>
    <from-view-id>*</from-view-id>
    <navigation-case>
    <from-outcome>pricingEngine</from-outcome>
    <to-view-id>/faces/template/t_pricing_engine.jsf</to-view-id>
    <redirect/>
    </navigation-case>
    </navigation-rule>
    I would like do some sort of lookup by 'pricingEngine' and get '/faces/template/t_pricing_engine.jsf' back.
    Any ideas?

    I would like to reference the navigation rules I have set up in my faces-config.xml file from inside my source code.
    For example:
    Navigation Rule:
    <navigation-rule>
    <from-view-id>*</from-view-id>
    <navigation-case>
    <from-outcome>pricingEngine</from-outcome>
    <to-view-id>/faces/template/t_pricing_engine.jsf</to-view-id>
    <redirect/>
    </navigation-case>
    </navigation-rule>
    I would like do some sort of lookup by 'pricingEngine' and get '/faces/template/t_pricing_engine.jsf' back.
    Any ideas?

  • Cross references in custom XML

    Hello!
    We have a custom XML schema and a structured application that allows us to edit our XML documents in FM. The schema contains a definition for a cross reference element and a definition for a target element.
    =============================================================
    Example:
    A cross reference element (say, documentA.xml contains this element): <cref target="documentB.xml#sect123"/>.
    A target element (say, documentB.xml contains this element): <section id="sect123"/>.
    Also I have a book in FM that includes both documentA.xml and documentB.xml.
    =============================================================
    FM outputs error messages when I try to save documentA.xml.
    So, I have few questions concerning this issue.
    How should I describe the cref element in EDD?
    A manual says, that the @target attribute must be of the IDREF type. Sounds good but the # char is restricted for IDREF values. How can I resolve this contradiction? If I write <cref target="sect123"/> (target id without filename) FM outputs error messages when I open documentA.xml in FM.
    Thank you!

    Dear Russ,
    Thank you very much for the answer. I'm sorry for my replying you with a delay,
    To make long story short, now it's OK: we can load a document with cross references to FM as well as we can save it form FM. Thank you once more.
    I'd like to make some comments that might be useful for other readers of this forum.
    As far as I understand the Structure Developers Guide mostly describes import/export transformations between an XML format and the FM format. But we never convert XML files to FM files and vice versa in our application. We open an XML file in FrameMaker, we edit the XML file in FrameMaker, and finally we save the XML file from FrameMaker. So, while reading the Guide I had a permanent doubt if import/export is the case I deal with.
    After several probes and attempts we found out that the following format of cross reference is appropriate for our application:
    <xref srcfile="fm-properties.xml#sys_psnt_part_number" format="CrossReference"/>
    (We found this type of cross references on page 399 of the Guide).
    The xref element must have an attribute of the IDREF type defined in a schema and in an EDD even while we don't use it. This attribute may actually be omitted in an XML file but we had to define it for xref.
    The root element of a target XML document must have an attribute of the ID type even while we don't use it.

  • LPX-00217 invalid character error - Using reference characters in XML file

    Hi, I hope you will help me to understand and to fix the error I get during insert of an XML file into a table with XML Type field.
    I used Oracle documentation for this:
    1. Create table
    CREATE TABLE XMLDOC
    ( XMLCOLUMN xmltype);
    2. Create external directory
    CREATE OR REPLACE DIRECTORY FILESDIR AS 'E:\ora_xml_test\';
    3. Create function
    CREATE OR REPLACE function DSS.getClobDocument(
    filename in varchar2,
    charset in varchar2 default NULL)
    return CLOB deterministic
    is
    file bfile := bfilename('FILESDIR',filename);
    charContent CLOB := ' ';
    targetFile bfile;
    lang_ctx number := DBMS_LOB.default_lang_ctx;
    charset_id number := 0;
    src_offset number := 1 ;
    dst_offset number := 1 ;
    warning number;
    begin
    if charset is not null then
    charset_id := NLS_CHARSET_ID(charset);
    end if;
    targetFile := file;
    DBMS_LOB.fileopen(targetFile, DBMS_LOB.file_readonly);
    DBMS_LOB.LOADCLOBFROMFILE(charContent, targetFile,
    DBMS_LOB.getLength(targetFile), src_offset, dst_offset,
    charset_id, lang_ctx,warning);
    DBMS_LOB.fileclose(targetFile);
    return charContent;
    end;
    And now appears the problem when I use different character references - one of them are parsed by the XML parser and another -are not:
    test1.xml - Contains a charachter from Latin language -ă (&#x103)
    <?xml version="1.0" encoding="UTF-8"?>
    <ROWSET>
    <ROW
    <IDNO>1</IDNO>
    <NAME>aaa (&#x103)</NAME>
    </ROW>
    </ROWSET>
    --a semicolumn must be added after 103
    SQL> insert into XMLDOC values(xmltype(getClobDocument('test1.xml','UTF8')));
    1 row created.
    test2.xml - Contains a charachter from Cyrillic language -ш (&#x404)
    <?xml version="1.0" encoding="UTF-8"?>
    <ROWSET>
    <ROW>
    <IDNO>1</IDNO>
    <NAME>aaa (&#x404)</NAME>
    </ROW>
    </ROWSET>
    --a semicolumn must be added after 404
    SQL> insert into XMLDOC values(xmltype(getClobDocument('test2.xml','UTF8')));
    insert into XMLDOC values(xmltype(getClobDocument('test2.xml','UTF8')))
    ERROR at line 1:
    ORA-31011: XML parsing failed
    ORA-19202: Error occurred in XML processing
    LPX-00217: invalid character 1028 (\u0404)
    Error at line 5
    ORA-06512: at "SYS.XMLTYPE", line 0
    ORA-06512: at line 1
    I am not familiar to Unicode and encoding maybe I ' missing something.
    Please help!!!

    Which database version are you using and what is the characterset used during its creation...?
    There is a lot on this forum which has been already answered / addressed but the database must support it, in other words the characterset must support it. Among others, see Re: XML-Document with special characters for instance.
    Conversion like you are doing (&#x103) is not needed.

Maybe you are looking for

  • Width of page in Adobe Muse

    I have started a website for an art group I belong to. It has been a win-win situation, as I'm practicing and feeling very confident that I can manage a nice site with Muse, the group are very happy with the site, and impressed with my ability.  It's

  • Classpath and 3rd party jar files

    We have been searching for a long time and have not been able to find an answer to our question. Do you think that you could help us out? We need to include 3rd party jar files in our application. Where in the deployment classpath directory structure

  • IChat Wake Mac from Sleep

    I have just started using iChat, and frequently missing invites becouse my iBook has fallen asleep. How can i have iChat wake the computer and play an Alert whenever i am invited to a text chat, audio chat and video chat? Thanks for any help on this.

  • Reconstruct on cyrus mailbox fails

    I have a Mac Mini running Server 10.5.8.  It has 12 active mailboxes, no quotas and one user mailbox indicating -1072  Several days ago the server started hanging when that user's account started accumulating repetitive connections that fail to timeo

  • Automation of jobs

    Hi All I have a oracle database version--10.1.0.5.0 on Windows platform. I have scheduled Export and RMAN for every day. Now i want to get email notification on the above job completion. Can anyone have the script which he can share with me for this.