Flash file imports data with XML

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

  1. #1

    Default Flash file imports data with XML

    I'm hoping there's an easy answer to my question. I'v made a flash file that
    imports data from an xml file and then it loads it into the flash content. When
    I try to run the .swf file on my computer it works perfectly; all the data was
    imported and made into content correctly. When I upload it to my webserver it
    doesn't perform as well. The flash file is there and everything in it is
    operating correctly except the data which was supposed to be the content is not
    working. I'm not sure why I'm getting this behavior. I'm using php, in case it
    helps.

    iOXeR Guest

  2. Similar Questions and Discussions

    1. Flash Data to XML file
      Hi, does anyone know how to make the "browse file" and/or "Open File" Dialogs? and if they do, put the path of the selected file into a database....
    2. advice needed... cf write data to xml file for use in flash app thatuses xml file
      I'm wondering if it is possible to use CF to: 1) connect to existing db; 2) get specific data from table; 3) write it to an xml file that would...
    3. Send data to Flash from a page without reloading the flash file
      The title tells the most, I want to send like, "hello" to a flashfile from a html page(the flash file is on the site) without having to reload the...
    4. user imports external file
      "billbones" webforumsuser@macromedia.com wrote: You can use fileIO for opening a system window and let the user browse for the file. Then, you...
    5. Photos / pics in Flash from .txt imports?
      OK, I'm sure this has been discussed to some extent here, but it's 3 AM and I cannot find it. I'm sure everyone is familiar w/ importing .txt...
  3. #2

    Default Re: Flash file imports data with XML

    HI,

    Need littile beif info from you.
    Is the xml file residing in the same folder where your swf file resides. I mean check the path of the xml file.

    -----------
    aShIsH


    Ashish123 Guest

  4. #3

    Default Re: Flash file imports data with XML

    Hi. I had a similar proplem.

    My problem came down to the security setting of flash not allowing the xml to
    come from a different server.

    As a consequence i had to build a proxy .php page, although you mentioned
    this. however i sorted it with the following code:

    <?php

    $dataURL =
    "http://newsrss.bbc.co.uk/rss/newsonline_uk_edition/england/west_midlands/rss.xm
    l";

    //note that this will not follow redirects
    readfile($dataURL);

    ?>

    obviously change the url add to the one you want.

    Si Fi Guest

  5. #4

    Default Re: Flash file imports data with XML

    pretty much explains everything if you still need help..

    [url]http://www.macromedia.com/cfusion/knowledgebase/index.cfm?id=tn_14213[/url]
    ay13 Guest

  6. #5

    Default Re: Flash file imports data with XML

    Sorry about the late reply.

    Is the xml file residing in the same folder where your swf file resides
    Yes, it's in the same folder.

    My problem came down to the security setting of flash not allowing the xml to
    come from a different server.
    My xml file is not on a different server. I'll try this anyway though. It
    can't hurt, can it?

    iOXeR Guest

  7. #6

    Default Re: Flash file imports data with XML

    hmm, probleby the problem is the sandbox or path,
    write the full path of the file, if the file is [url]www.exaple.org/lmz.swf[/url] write
    "www.exaple.org/lmz.swf" not "193.1.1.1/lmz.swf" then the problem would be
    solved.

    use the onLoad listener, what should also say whats the problem.

    i even will not bother to make the list of possible problems

    ------------
    to get better breaf read LIVEDOCS (interisting why you bother with your simple
    problems and why i answer.. :S )
    -----------

    iJustLoveFlash Guest

  8. #7

    Default Re: Flash file imports data with XML

    hmm, probleby the problem is the sandbox or path,
    write the full path of the file, if the file is [url]www.exaple.org/lmz.swf[/url] write
    "www.exaple.org/lmz.swf" not "193.1.1.1/lmz.swf" then the problem would be
    solved.

    Are you talking about changing the path in the php file where the swf file is
    called?

    iOXeR 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