开发者

JSON loaded via Flash only partially parsed on Windows 7

开发者 https://www.devze.com 2023-04-10 03:50 出处:网络
I have a flash file which loads data from JSON and parses it. It works fine expect on one machine (specs below). On that machine it loads an image URL specified in the JSON, but nothing else. I\'ve te

I have a flash file which loads data from JSON and parses it. It works fine expect on one machine (specs below). On that machine it loads an image URL specified in the JSON, but nothing else. I've tested with a other machines (Dell E6400, Apple MacBook Pro) and it works just fine in all browsers. I compared Windows Updates between the Dell E6400 and the Dell Optiplex 745 and they only differ by one update (KB2525694) which isn't applicable for my Dell E6400.

Machine Specs:

  • Dell Optiplex 745
  • Windows 7 SP1 64-Bit
  • IE9, Chrome, Firefox 4 & Safari
  • Flash 10.2.159.1 & 10.3.183.10

JSON:

{
   "status":"success",
   "album":{
      "backCoverURL":"",
      "description":"A Description of this content",
      "digitalASIN":"B000UBLOP4",
      "frontCoverURL":"http://sampleurl.com/TheOnlyThingThatGetsParsed.jpg",
      "genre":"Jazz",
      "id":"175264"开发者_Go百科,
      "originalReleaseDate":"1960",
      "performer":"Wes Montgomery",
      "physicalASIN":"B000NO28OO",
      "rating":"",
      "title":"Incredible Jazz Guitar of Wes Montgomery",
      "tracks":[
         {
            "digitalASIN":"B000UBJCEY",
            "durationSeconds":269,
            "id":"264475",
            "sampleURL":"http://sampleurl.com/B000UBJCEY.mp3",
            "title":"Airegin",
            "trackNum":1
         },
         {
            "digitalASIN":"B000UBDHAE",
            "durationSeconds":275,
            "id":"264476",
            "sampleURL":"http://sampleurl.com/B000UBDHAE.mp3",
            "title":"Mr. Walker (Renie)",
            "trackNum":2
         }
      ]
   }
}


As Amy Blankenship said in a comment to my question:

Try providing some of the code you are using to parse the JSON. Also, if it is loading the jpg, it seems like it is at least partially succeeding in parsing the JSON. Are you sure that the problem is with the JSON parsing and not some other issue, like maybe there's a problem with the sound card or some security setting that is preventing load of sound files?

It in fact was a bad sound card.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号