Google it and there should be plenty if not, here's the entire method:
                
        //Submit Purchase Order
        public function submitPO(){
                //construct new XML object 
                var poXML:XML = new XML()
                var element1:XMLNode = poXML.createElement("SUBMITPO");
                element1.attributes.poTotal= acmm.poTotal;
                poXML.appendChild(element1);
                for (var i = 0; i<po_dg.length; i++) {
                        var element2:XMLNode =
poXML.createElement("item");
                        element2.attributes.unitTotal           =
po_dg.getItemAt(i).UnitTotal;
                        element2.attributes.quantity            =
po_dg.getItemAt(i).Quantity;
                        element2.attributes.unitPrice           =
po_dg.getItemAt(i).UnitPrice;
                        element2.attributes.manufacturer        =
po_dg.getItemAt(i).Manufacturer;
                        element2.attributes.itemNumber  =
po_dg.getItemAt(i).ItemNumber;
                        element1.appendChild(element2);
                }
                trace("");
                trace("PO XML =" +poXML);
                
                //construct a new XML object to hold the server's reply
                var poReplyXML = new XML();
                
                //when server reply is loaded, process data
                poReplyXML.onLoad = function(success:Boolean){
                        
                        if (success) {
                                //Unload Progress Window
                                acmm.unloadDataCallProgress ();
                                trace("");
                                trace("PO Reply XML =" +poReplyXML);
                                var e = this.firstChild;
                                if (e.attributes.status == "success") {
                                        //Display Success Alert 
                                        acmm.transactionMessage =
e.attributes.message;
                                        acmm.transactionAlert();
                                        //Unload PO 
                                        _parent.deletePopUp();
                                        //Set Display
                                        //acmm.home();
                                        //Remove Active PO Button
                                        //acmm.activeOrder_btn.visible =
false;
                                        //Remove All Items from PO Array
                                        acmm.poArray = new Array();
                                        //Set BreadCrumbs
                                        //acmm.homeCrumb();
                                        } else {
                                                //Unload Progress Window
        
acmm.unloadDataCallProgress ();
                                                //Display Failure Alert
                                                acmm.transactionMessage
= e.attributes.message;
                                                acmm.transactionAlert();
                                        }
                                }
                        }               
                poXML.sendAndLoad(acmm.servletURL+"POManager",
poReplyXML);
        }

If you need more e-mail me off list.

Matthew
 

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of David
Brunswick
Sent: Wednesday, July 26, 2006 3:57 PM
To: 'Flashcoders mailing list'
Subject: RE: [Flashcoders] Flash AICC tracking

That sounds like a good solution where can I find xml object flash
samples?

David Brunswick
Multimedia Developer/OLP Administrator
FedEx Customer Information Services
Customer Service Organizational Learning
901-434-6605
 

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Matthew
Simpson
Sent: Wednesday, July 26, 2006 2:50 PM
To: Flashcoders mailing list
Subject: RE: [Flashcoders] Flash AICC tracking

I have not read the prior posts so I'm not sure if this is what you are
looking for, but I pass XML/Vars to JSP servlets all day using:

poXML.sendAndLoad(acmm.servletURL+"POManager", poReplyXML);

poXML is the doc I send
Acmm.servletURL is a dynamic var containing the JSP URL "POManager" is
the servlet name.
poReplyXML is the servlets reply in an XML object.

HTH

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of David
Brunswick
Sent: Wednesday, July 26, 2006 3:35 PM
To: 'Flashcoders mailing list'
Subject: RE: [Flashcoders] Flash AICC tracking

Is there another way to call/pass info to servlet besides getURL?

David Brunswick
Multimedia Developer/OLP Administrator
FedEx Customer Information Services
Customer Service Organizational Learning
901-434-6605
 

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Aaron
Silvers
Sent: Wednesday, July 26, 2006 2:14 PM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Flash AICC tracking

Unfortunately, I think you're stuck with that html page.  It is what
keeps the connection open to the LMS to make sure that completion_status
is written to the learner's transcript.

AICC can an ugly mistress, depending on the LMS implementation.

-a-

On 7/26/06, David Brunswick <[EMAIL PROTECTED]> wrote:
>
> Hello List I am able to post completion to my LMS using 
> exitBtn.onRelease = function(){
>
>   getURL("myurl\myservlet?edt_action=RecModuleCmpl" , "POST");
> getURL("javascript: window.opener=self; window.close();"); }
>
> The problem is the servlet launches a html page verifying completion 
> which I do not want any ideas to prevent this?
>
> Fyi the second getURl closes the flash embedded html.
>
> David Brunswick
> Multimedia Developer/OLP Administrator FedEx Customer Information 
> Services Customer Service Organizational Learning
> 901-434-6605
>
>
> _______________________________________________
> Flashcoders@chattyfig.figleaf.com
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training 
> http://www.figleaf.com http://training.figleaf.com
>



--
-a-

Aaron E. Silvers
[EMAIL PROTECTED]
http://flashforlearning.com
------------------------------------------
"Whoso would be a man must be a nonconformist." - Ralph Waldo Emerson
_______________________________________________
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training http://www.figleaf.com
http://training.figleaf.com

_______________________________________________
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training http://www.figleaf.com
http://training.figleaf.com


_______________________________________________
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training http://www.figleaf.com
http://training.figleaf.com

_______________________________________________
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training http://www.figleaf.com
http://training.figleaf.com


_______________________________________________
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to