flashplayer problem in 2000 loading external .xml files

Ask a Question related to Macromedia Flash, Design and Development.

  1. #1

    Default flashplayer problem in 2000 loading external .xml files


    Hi all ,

    Am getting pretty frazzled on this one at the moment - not sure exactly what
    is going on - and hoping someone else might have some insights.

    BACKGROUND

    We have a system that use xml files to define its operation at runtime.
    We load the xml using pretty straight forward routines:

    var preloadFile = _root.gsXMLRootPath + _root.gsPreLoadModuleName;

    _root.goPreLoadModule = new XML();
    _root.goPreLoadModule.ignoreWhite = true;
    _root.goPreLoadModule.onLoad = function(success) {
    .... process on success
    }
    _root.goPreLoadModule.load( preloadFile );

    The system works perfectly on Windows 2003 and XP boxes when running as a
    ..swf in a browser and also when running as a standalone player.


    THE PROBLEM


    The problem is though that when we try to run the standalone .exe version on
    a Windows 2000 box things start to fall apart.

    On this 2000 box it would appear that the xml loader is refusing to load the
    XML from a [url]http://myserver.com/my.xml[/url] address.

    It seems to load the first xml file - which is stored locally with the .exe
    but then does not load the http:// remote files.

    This seems to be rather odd - since it works fine on XP and 2003 boxes and
    also works fine on all platforms running a .swf

    It also works fine regardless of the location of the .xml streams and the
    location of the .swf .exe - on 2003 and XP boxes.

    This is really starting to drive me up the wall - i would appreciate any
    thoughts people have on this problem

    [email]wtatters@msn.com.au[/email]


    Wes Tatters Guest

  2. Similar Questions and Discussions

    1. loading external video files
      I am looking for any way to play a video inside my movie without importing each avi into flash. Even if I have to have Media Player popup, I will do...
    2. Loading external files into HTML or IFrame
      I am trying to build a preloader / movie interface that will load movies according to user bandwidth upon release of a button. Lets say I push a...
    3. Loading External SWF's PRoblem
      lBytes = _root.getBytesLoaded() tBytes = _root.getBytesTotal() here try 'this' instead of _root ... should work _root refers to the upper level...
    4. Loading External SWF's PRoblem
      For all you uber knowledgable flash Actionscripters I am loading an external .swf into my main parent .swf. I was under the impression that if i...
    5. Help with loading external text files
      Please help me, I'm new to actionscript and I'm having problems doing this. I have a dinamic text box and I want to load an external text file into...
  3. #2

    Default Re: flashplayer problem in 2000 loading external .xml files

    On Tue, 15 Mar 2005 07:36:24 GMT, "Wes Tatters" <wtatters@msn.com.au>
    wrote:

    Could it be a dns issue? It could be worth trying it as an ip address.

    It could be a file permision issue have you got right on the local
    directory and the remote?

    The third thing is it in the same Domain? There are issues going cross
    domain with flash
    >
    >Hi all ,
    >
    >Am getting pretty frazzled on this one at the moment - not sure exactly what
    >is going on - and hoping someone else might have some insights.
    >
    >BACKGROUND
    >
    >We have a system that use xml files to define its operation at runtime.
    >We load the xml using pretty straight forward routines:
    >
    >var preloadFile = _root.gsXMLRootPath + _root.gsPreLoadModuleName;
    >
    >_root.goPreLoadModule = new XML();
    >_root.goPreLoadModule.ignoreWhite = true;
    >_root.goPreLoadModule.onLoad = function(success) {
    >... process on success
    >}
    >_root.goPreLoadModule.load( preloadFile );
    >
    >The system works perfectly on Windows 2003 and XP boxes when running as a
    >.swf in a browser and also when running as a standalone player.
    >
    >
    >THE PROBLEM
    >
    >
    >The problem is though that when we try to run the standalone .exe version on
    >a Windows 2000 box things start to fall apart.
    >
    >On this 2000 box it would appear that the xml loader is refusing to load the
    >XML from a [url]http://myserver.com/my.xml[/url] address.
    >
    >It seems to load the first xml file - which is stored locally with the .exe
    >but then does not load the http:// remote files.
    >
    >This seems to be rather odd - since it works fine on XP and 2003 boxes and
    >also works fine on all platforms running a .swf
    >
    >It also works fine regardless of the location of the .xml streams and the
    >location of the .swf .exe - on 2003 and XP boxes.
    >
    >This is really starting to drive me up the wall - i would appreciate any
    >thoughts people have on this problem
    >
    >wtatters@msn.com.au
    >
    Samuria Guest

  4. #3

    Default Re: flashplayer problem in 2000 loading external .xml files

    Been thru all that - it works perfectly fine on an xp box and a 2003 box

    Both as a .swf and as part of an .exe

    What it doesnt do is work as a .exe on a 2000 or 98 box - yet the .swf works
    on both these boxes.

    Westa


    "Samuria" <samuria@rock.com> wrote in message
    news:a1se31d4acl8hfl18mhq3f2nkmqedt79q4@4ax.com...
    > On Tue, 15 Mar 2005 07:36:24 GMT, "Wes Tatters" <wtatters@msn.com.au>
    > wrote:
    >
    > Could it be a dns issue? It could be worth trying it as an ip address.
    >
    > It could be a file permision issue have you got right on the local
    > directory and the remote?
    >
    > The third thing is it in the same Domain? There are issues going cross
    > domain with flash
    >
    >>
    >>Hi all ,
    >>
    >>Am getting pretty frazzled on this one at the moment - not sure exactly
    >>what
    >>is going on - and hoping someone else might have some insights.
    >>
    >>BACKGROUND
    >>
    >>We have a system that use xml files to define its operation at runtime.
    >>We load the xml using pretty straight forward routines:
    >>
    >>var preloadFile = _root.gsXMLRootPath + _root.gsPreLoadModuleName;
    >>
    >>_root.goPreLoadModule = new XML();
    >>_root.goPreLoadModule.ignoreWhite = true;
    >>_root.goPreLoadModule.onLoad = function(success) {
    >>... process on success
    >>}
    >>_root.goPreLoadModule.load( preloadFile );
    >>
    >>The system works perfectly on Windows 2003 and XP boxes when running as a
    >>.swf in a browser and also when running as a standalone player.
    >>
    >>
    >>THE PROBLEM
    >>
    >>
    >>The problem is though that when we try to run the standalone .exe version
    >>on
    >>a Windows 2000 box things start to fall apart.
    >>
    >>On this 2000 box it would appear that the xml loader is refusing to load
    >>the
    >>XML from a [url]http://myserver.com/my.xml[/url] address.
    >>
    >>It seems to load the first xml file - which is stored locally with the
    >>.exe
    >>but then does not load the http:// remote files.
    >>
    >>This seems to be rather odd - since it works fine on XP and 2003 boxes and
    >>also works fine on all platforms running a .swf
    >>
    >>It also works fine regardless of the location of the .xml streams and the
    >>location of the .swf .exe - on 2003 and XP boxes.
    >>
    >>This is really starting to drive me up the wall - i would appreciate any
    >>thoughts people have on this problem
    >>
    >>wtatters@msn.com.au
    >>
    >

    Wes Tatters Guest

  5. #4

    Default Re: flashplayer problem in 2000 loading external .xml files

    On Wed, 16 Mar 2005 08:30:16 GMT, "Wes Tatters" <wtatters@msn.com.au>
    wrote:
    What are you using to compile it with?
    >Been thru all that - it works perfectly fine on an xp box and a 2003 box
    >
    >Both as a .swf and as part of an .exe
    >
    >What it doesnt do is work as a .exe on a 2000 or 98 box - yet the .swf works
    >on both these boxes.
    >
    >Westa
    >
    >
    >"Samuria" <samuria@rock.com> wrote in message
    >news:a1se31d4acl8hfl18mhq3f2nkmqedt79q4@4ax.com.. .
    >> On Tue, 15 Mar 2005 07:36:24 GMT, "Wes Tatters" <wtatters@msn.com.au>
    >> wrote:
    >>
    >> Could it be a dns issue? It could be worth trying it as an ip address.
    >>
    >> It could be a file permision issue have you got right on the local
    >> directory and the remote?
    >>
    >> The third thing is it in the same Domain? There are issues going cross
    >> domain with flash
    >>
    >>>
    >>>Hi all ,
    >>>
    >>>Am getting pretty frazzled on this one at the moment - not sure exactly
    >>>what
    >>>is going on - and hoping someone else might have some insights.
    >>>
    >>>BACKGROUND
    >>>
    >>>We have a system that use xml files to define its operation at runtime.
    >>>We load the xml using pretty straight forward routines:
    >>>
    >>>var preloadFile = _root.gsXMLRootPath + _root.gsPreLoadModuleName;
    >>>
    >>>_root.goPreLoadModule = new XML();
    >>>_root.goPreLoadModule.ignoreWhite = true;
    >>>_root.goPreLoadModule.onLoad = function(success) {
    >>>... process on success
    >>>}
    >>>_root.goPreLoadModule.load( preloadFile );
    >>>
    >>>The system works perfectly on Windows 2003 and XP boxes when running as a
    >>>.swf in a browser and also when running as a standalone player.
    >>>
    >>>
    >>>THE PROBLEM
    >>>
    >>>
    >>>The problem is though that when we try to run the standalone .exe version
    >>>on
    >>>a Windows 2000 box things start to fall apart.
    >>>
    >>>On this 2000 box it would appear that the xml loader is refusing to load
    >>>the
    >>>XML from a [url]http://myserver.com/my.xml[/url] address.
    >>>
    >>>It seems to load the first xml file - which is stored locally with the
    >>>.exe
    >>>but then does not load the http:// remote files.
    >>>
    >>>This seems to be rather odd - since it works fine on XP and 2003 boxes and
    >>>also works fine on all platforms running a .swf
    >>>
    >>>It also works fine regardless of the location of the .xml streams and the
    >>>location of the .swf .exe - on 2003 and XP boxes.
    >>>
    >>>This is really starting to drive me up the wall - i would appreciate any
    >>>thoughts people have on this problem
    >>>
    >>>wtatters@msn.com.au
    >>>
    >>
    >
    Samuria Guest

  6. #5

    Default Re: flashplayer problem in 2000 loading external .xml files

    Finally got to the bottom on this one.

    It would appear that while .swf's running in a web browser handles proxies
    correctly under 2000 and 98.

    If you run the same movie as a .exe then when running under 2000 and 98 the
    player is not using the computers default proxy settings.
    >>>
    And all the boxes we were testing on are sitting behind a ISA proxy server
    that needs them to talk to port 8080
    >>>
    So does anyone know of a way to force a .exe to use a proxy for its
    connection to the web.

    Westa



    "Samuria" <samuria@rock.com> wrote in message
    news:d8eh31p3t1sl5ne1riflf1johati3gscv2@4ax.com...
    > On Wed, 16 Mar 2005 08:30:16 GMT, "Wes Tatters" <wtatters@msn.com.au>
    > wrote:
    > What are you using to compile it with?
    >
    >>Been thru all that - it works perfectly fine on an xp box and a 2003 box
    >>
    >>Both as a .swf and as part of an .exe
    >>
    >>What it doesnt do is work as a .exe on a 2000 or 98 box - yet the .swf
    >>works
    >>on both these boxes.
    >>
    >>Westa
    >>
    >>
    >>"Samuria" <samuria@rock.com> wrote in message
    >>news:a1se31d4acl8hfl18mhq3f2nkmqedt79q4@4ax.com. ..
    >>> On Tue, 15 Mar 2005 07:36:24 GMT, "Wes Tatters" <wtatters@msn.com.au>
    >>> wrote:
    >>>
    >>> Could it be a dns issue? It could be worth trying it as an ip address.
    >>>
    >>> It could be a file permision issue have you got right on the local
    >>> directory and the remote?
    >>>
    >>> The third thing is it in the same Domain? There are issues going cross
    >>> domain with flash
    >>>
    >>>>
    >>>>Hi all ,
    >>>>
    >>>>Am getting pretty frazzled on this one at the moment - not sure exactly
    >>>>what
    >>>>is going on - and hoping someone else might have some insights.
    >>>>
    >>>>BACKGROUND
    >>>>
    >>>>We have a system that use xml files to define its operation at runtime.
    >>>>We load the xml using pretty straight forward routines:
    >>>>
    >>>>var preloadFile = _root.gsXMLRootPath + _root.gsPreLoadModuleName;
    >>>>
    >>>>_root.goPreLoadModule = new XML();
    >>>>_root.goPreLoadModule.ignoreWhite = true;
    >>>>_root.goPreLoadModule.onLoad = function(success) {
    >>>>... process on success
    >>>>}
    >>>>_root.goPreLoadModule.load( preloadFile );
    >>>>
    >>>>The system works perfectly on Windows 2003 and XP boxes when running as
    >>>>a
    >>>>.swf in a browser and also when running as a standalone player.
    >>>>
    >>>>
    >>>>THE PROBLEM
    >>>>
    >>>>
    >>>>The problem is though that when we try to run the standalone .exe
    >>>>version
    >>>>on
    >>>>a Windows 2000 box things start to fall apart.
    >>>>
    >>>>On this 2000 box it would appear that the xml loader is refusing to load
    >>>>the
    >>>>XML from a [url]http://myserver.com/my.xml[/url] address.
    >>>>
    >>>>It seems to load the first xml file - which is stored locally with the
    >>>>.exe
    >>>>but then does not load the http:// remote files.
    >>>>
    >>>>This seems to be rather odd - since it works fine on XP and 2003 boxes
    >>>>and
    >>>>also works fine on all platforms running a .swf
    >>>>
    >>>>It also works fine regardless of the location of the .xml streams and
    >>>>the
    >>>>location of the .swf .exe - on 2003 and XP boxes.
    >>>>
    >>>>This is really starting to drive me up the wall - i would appreciate any
    >>>>thoughts people have on this problem
    >>>>
    >>>>wtatters@msn.com.au
    >>>>
    >>>
    >>
    >

    Wes Tatters Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139