
Welcome Guest
|
#1
|
|||
|
|||
|
XML::sendAndLoad with overridden target object
XML::sendAndLoad seems to ignore the targetXMLobject when I use an overridden object. For example, the following works:
------------ function onLoad(success) { trace("mmm") } oXML = new XML() oXML.onLoad = onLoad // populate oXML oXML.sendAndLoad( "http://localhost/flash/news/addNewsItem.asp", oXML ) -------------- but the following doesn't: ---------------- MyXML = function() { super() } MyXML.prototype = new XML() function onLoad(success) { trace("mmm") } oXML = new MyXML() oXML.onLoad = onLoad // populate oXML oXML.sendAndLoad( "http://localhost/flash/news/addNewsItem.asp", oXML ) -------------------- The documentation does say: targetXMLobject An XML object created with the XML constructor method that will receive the return information from the server. Has anyone else found you can't use an overridden XML object as the targetXMLobject in XML::sendAndLoad? cheers, Andy. |
«
Previous Thread
|
Next Thread
»
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Kenny Bellew Sound Object Tutorial | jumpingJack | Sound and Music |
23 | 05-03-2011 07:37 AM |
| Locating the Target Path of an Object | candy | Newbies |
2 | 10-02-2007 04:06 PM |
| snapping an object to a target | kirk.netiq | Flash MX 2004 |
0 | 02-24-2005 05:16 PM |
| how to target my object? | Gargoyle | Actionscript 3.0 Components | 0 | 11-10-2001 01:01 AM |
| How to determine target based on parent object angle? | hamptonius | Flash 5 Actionscript |
1 | 08-20-2001 10:55 AM |

Other Programming



