Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I want to create a cms full flash website for that I must make my flash connect to the database. how to make adobe flash connect to the database?

share|improve this question

closed as not a real question by iglvzx, Ignacio Vazquez-Abrams, slhck, Paul, Indrek May 27 '12 at 13:20

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

You should post this kind of questions on stackoverflow, I hope someone more experienced than me can move it there later. So you can create a PHP (or whatever) script that serves you data in XML or JSON. So later you can parse it inside your Flash application:


<image name="school">image1.jpg</image>
<image name="garden">image2.jpg</image>
<image name="shop">image3.jpg</image>

+AS3 code

var myXML:XML = new XML();

myXML.onLoad = function(success){

if (success)
   trace (myXML.firstChild.childNodes[0].attributes.title);


or JSON:

        "food": [
                "name": "pasta",
                "price": 14.50,
                "quantity": 20
                "name": "soup",
                "price": 6.50,
                "quantity": 4
        "food": [
                "name": "salad",
                "price": 2.50,
                "quantity": 3
                "name": "pizza",
                "price": 4.50,
                "quantity": 2

+AS3 code:

var foods:Array = JSON.decode(jsonstring);

JSON credtis to:

share|improve this answer
Actually, this type of question shouldn't even be posted to stackoverflow - it shows no research effort, no detail of the requirements or where the OP is stuck or what the environment is. It is effectively "not a real question" as it is too vague and should be closed rather than migrated. – Paul May 27 '12 at 11:14

Not the answer you're looking for? Browse other questions tagged .