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

  1. #1

    Default XML Preview Bug?

    Has anyone run across this problem, and hopefully a fix? I'm working on PC with
    Flash 8 and recently have had a problem crop up. I do a lot of development with
    XML and typically have no problem. However, recently all of my files that have
    been working fine suddenly stopped working when I test them, they are no longer
    able to load XML. Everything works fine if I preview them through a browser (so
    it is not an issue with bad code or the data source), but not if I test them
    in Flash (cntrl+enter). Testing them in Flash just gives 'Error opening URL ...'

    Does anyone know if there is somewhere the Flash development environment
    caches XML internally? I wondering if that cache file is corrupt and screwing
    things up. Any suggestions would be great - its really killing my development
    flow..

    cory_clarke Guest

  2. Similar Questions and Discussions

    1. Preview
      Is there a way in IDCS to set every window to show preview by default? and so not have to check it everytime I open a window up. Many thanks Alan
    2. EPS Preview Mac to PC
      I've created a simple logo in CS on Windows 2000, saved it as an EPS with 8bit preview. Created the same logo in 8 on Mac, saved it the same way....
    3. EPS preview
      I have run acrossed an anomaly in ID CS. I have an EPS that I have applied a drop shadow to. The EPS was created with FH10 and imported into ID. The...
    4. preview in mx 6.1
      Found the problem in a thread down below. T Tony Ambrosini wrote:
    5. no preview
      I'm working with three sites and one of the three will not preview in IE6. The other 2 preview fine. There are no frames envolved here. What might...
  3. #2

    Default Re: XML Preview Bug?

    Sounds like a server script is involved.

    Display the url fed to the XML sendAndLoad or load method and if it is
    showing file:///// you may need http:// hard coded in for testing when you
    are using the authoring environment if the server script is relatively
    referenced to the swf.

    Relative might be this: myXMLScript.php or asp or cfm or whatever.

    Hard coded this: [url]http://theserverurl/myXMLScript.php[/url]

    You can use System.capabilities.playerType to choose between the hard coded
    url and the relative.

    [url]http://livedocs.macromedia.com/flash/8/main/00002879.html[/url]
    --

    Lon Hosford
    [url]www.lonhosford.com[/url]
    May many happy bits flow your way!
    "cory_clarke" <webforumsuser@macromedia.com> wrote in message
    news:dskv66$6lo$1@forums.macromedia.com...
    Has anyone run across this problem, and hopefully a fix? I'm working on PC
    with
    Flash 8 and recently have had a problem crop up. I do a lot of development
    with
    XML and typically have no problem. However, recently all of my files that
    have
    been working fine suddenly stopped working when I test them, they are no
    longer
    able to load XML. Everything works fine if I preview them through a browser
    (so
    it is not an issue with bad code or the data source), but not if I test
    them
    in Flash (cntrl+enter). Testing them in Flash just gives 'Error opening URL
    ....'

    Does anyone know if there is somewhere the Flash development environment
    caches XML internally? I wondering if that cache file is corrupt and
    screwing
    things up. Any suggestions would be great - its really killing my
    development
    flow..


    Motion Maker Guest

  4. #3

    Default Re: XML Preview Bug?

    Thanks for the feedback, but I'm pretty sure that relative/absoluting linking
    is the not the problem. I have http:// hard coded before the urls and it was
    working fine for months, all the sudden ANY flash file I have with XML refuses
    to preview in the development environment. I know it isn't the code because if
    I move it to another machine (PC or Mac) it runs fine, it seems to be specific
    to my computer. Do you know if there is some sort of cache file Flash uses
    locally that might be corrupted?


    cory_clarke Guest

  5. #4

    Default Re: XML Preview Bug?

    Perhaps if a cache is suspected, changing the file name on a test basis
    would eliminate that possibility.

    But here is another though. Use the example in help which connects to
    MM/Adobe cfm file.
    [url]http://livedocs.macromedia.com/flash/8/main/00002879.html[/url]

    Add a
    trace(success)
    trace (myLoginReply_xml)
    to the top of the myOnLoad function

    and you would see this in the output window.

    true
    <packet success="true" date="2006-02-12" time="17:01:16"
    sessionid="607F1B8E-B0D0-2052-2D77A71465739D30" />

    If you do not see that but do on other machines, then you might want not
    only to start a new thread to that specific issue but take it up with
    Macromedia support.

    --
    Lon Hosford
    [url]www.lonhosford.com[/url]
    May many happy bits flow your way!
    "cory_clarke" <webforumsuser@macromedia.com> wrote in message
    news:dsnmvf$jjn$1@forums.macromedia.com...
    Thanks for the feedback, but I'm pretty sure that relative/absoluting
    linking
    is the not the problem. I have http:// hard coded before the urls and it was
    working fine for months, all the sudden ANY flash file I have with XML
    refuses
    to preview in the development environment. I know it isn't the code because
    if
    I move it to another machine (PC or Mac) it runs fine, it seems to be
    specific
    to my computer. Do you know if there is some sort of cache file Flash uses
    locally that might be corrupted?


    Motion Maker 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