Welcome, Guest
  • Author Topic: WDDX/Cold Fusion/Flash  (Read 2596 times)

    John

    • Server what's that
    • *
    • Posts: 2
      • View Profile
      • Email
    WDDX/Cold Fusion/Flash
    « on: 03/23/02, 21:13 »
    Hi, I was wondering if I could get help with a particular nasty little problem:

    WDDX.. yes WDDX.. Its driving me bonkers!!!

    The Flash deserializer will work fine on XML formatted WDDX or Objects that have been serialized within Flash,
    BUT
    If you try and deserialize WDDX that came from Cold Fusion it gives u the big freeze
    -yes i avoided all whitespace with <CFSILENT> and <CFSETTING>
    -i traced the cold fusion WDDX and it looks the same as the other types, this one just has recordset

    I have no  >:(frigkin >:( idea what the heck is going on, and I emailed brandon hall about this too.  Any help is most appriciated and props to the nice board!

    My code:

    #include "wddx.as"

    function loaded () {
       trace(this);                                                        // looks good here
       _root.obj = _root.converter.deserialize(this);   // CRASH
       trace(obj);
       
    }

    converter = new WDDX();
    myXML = new XML();
    myXML.onLoad = loaded;
    myXML.load("http://localhost/LookUp.cfm");
    « Last Edit: 03/23/02, 22:39 by John »

    John

    • Server what's that
    • *
    • Posts: 2
      • View Profile
      • Email
    Re:WDDX/Cold Fusion/Flash
    « Reply #1 on: 03/24/02, 08:40 »
    To all who had the same problem:

    xmlVariable.ignoreWhite = true;    //in flash code

    makes it work..

    GAH!