Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8185001
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T01:41:44+00:00 2026-06-07T01:41:44+00:00

I need to load and parse some JSON in flash, AS2. The problem is

  • 0

I need to load and parse some JSON in flash, AS2. The problem is the parsin. It seems that i cant get out what i want from the object. Its a one level object and below you can see how it looks like filled with some dummy text.

My JSON object looks like this:

[
{
    data    
},
{
    data
}
]

Now, how do i parse this in as2? And is it possible? I have only done it in as3 before.
I think what i need is some sort of code how to acually load and parse it in as2

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-07T01:41:45+00:00Added an answer on June 7, 2026 at 1:41 am

    You could try this (just tested it with AS2, and seems to work):

    http://inner.geek.nz/archives/2007/01/18/loading-json-in-actionscript-2/

    http://web.archive.org/web/20111014093347/http://inner.geek.nz/uploads/JSON.as

    Usage:

    try {
      var o:Object = JSON.parse(jsonStr);
      var s:String = JSON.stringify(obj);
    } catch(ex) {
      trace(ex.name + ":" + ex.message + ":" + ex.at + ":" + ex.text);
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

So I need to pull some JavaScript out of a remote page that has
I need a web sites some data which I want to parse via jquery.
I'm using PHP libcurl to load a page. Now I need to get this
I need to parse some HTML files, however, they are not well-formed and PHP
I'm trying to parse some HTML. I use stringWithContentsOfURL to get the HTML. I
I am creating a script which need to parse the yaml output that the
I am trying to parse some html to switch out values of various element
I need to parse an XLIFF file using C#, but I'm having some trouble.
There is a need to provide some sort of interface(save/edit/load) to dynamically generated styles
I wrote a RSS based application that will fetch some XML files, parse them

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.