JScript error from winie.js

  •  12-06-2006, 1:09 PM

    JScript error from winie.js

    I am getting a JScript error in the file winie.js when I do the following:

    1. load my application page w/ the editor in it.

    2. switch to HTML view.

    3.

    Paste the following text:

     

    <embed style="width:400px; height:326px;" id="VideoPlayback" type="application/x-shockwave-flash"

    src="http://video.google.com/googleplayer.swf?docId=5250193059421749219&hl=en" flashvars=""> </embed>

     

    4. Switch to Normal view.  You see the video in the editor.

     

    5. Click somewhere on the video.  You see a frame highlighted.

     

    6.  Click off of the video (say, the browser window’s scrollbar), and get javascript error from winie.js: Microsoft JScript runtime error: 'undefined' is null or not an object

     

    In the debugger, you see the following call stack:

    >          Ox262   JScript

                GetSavePoint    JScript

                Ox438.LogSavePoint      JScript

                Ox1da   JScript

     

    And the code in question is:

    function Ox262(Oxfa){var Oxd7=0x0;var Ox263=Oxfa[OxOdf99[0x3b]][OxOdf99[0xfa]];for(var i=0x0;i<Ox263[OxOdf99[0x6]];i++){if(Ox263Idea==Oxfa){ Oxd7=i ;break ;} ;} ;if(Oxfa[OxOdf99[0x3b]][OxOdf99[0x31]]!=OxOdf99[0x1b2]){return Ox262(Oxfa.parentNode)+OxOdf99[0x267]+Oxd7;} ;return OxOdf99[0x13]+Oxd7;}  ;}  ;

     

    it is Oxfa[OxOdf99[0x3b]][OxOdf99[0xfa]] which is undefined.

     

    values:

    OxOdf99[0xfa] == ‘children’

    OxOdf99[0x3b] == ‘parentNode’

    Oxfa[OxOdf99[0x3b]] appears to be the document object, and document[‘children’] is undefined.

     

    Any suggestions? 

     


    Filed under:
View Complete Thread