Solved

how to make combination between Flash and PHP and MYSQl to get dynamic data into SWF file??

Posted on 2004-04-19
2
149 Views
Last Modified: 2010-04-03
iam trying to make a project with flash and i need to connect a mysql data base through PHP page to get data and show it in the flash file.
but i got mad because i spent big time and there is no results :(
this is the code of the data basw wihch contain only one table:

# MySQL-Front Dump 2.5
#
# Host: localhost   Database: phpflash
# --------------------------------------------------------
# Server version 3.23.47-nt


#
# Table structure for table 'countries'
#

CREATE TABLE countries (
  country_id int(3) unsigned NOT NULL auto_increment,
  country_name text,
  country_markets int(10) unsigned default NULL,
  country_sales int(10) unsigned default NULL,
  PRIMARY KEY  (country_id),
  KEY country_id (country_id)
) TYPE=MyISAM;



#
# Dumping data for table 'countries'
#

INSERT INTO countries VALUES("1", "Damanhour", "120", "5000");
INSERT INTO countries VALUES("2", "Shebeen", "130", "6000");
INSERT INTO countries VALUES("3", "Domyat", "140", "7000");
INSERT INTO countries VALUES("4", "Giza", "150", "8000");
INSERT INTO countries VALUES("5", "Alexandria", "160", "9000");
INSERT INTO countries VALUES("6", "Cairo", "170", "10000");


the table contain informations for 6 countries
i need to make a flash file which load the data from the table and show this data in a container moveiclip
i want  empty movie clips in the flash file when i put the mouse over any empty movieclip i want the flash file to display the data about this movie clip (certain country ) on the flash which will get from the data base
thanks for help
0
Comment
Question by:FLAASHER
2 Comments
 
LVL 9

Accepted Solution

by:
krishnaprathab earned 125 total points
ID: 10859616
Hi,

Check out the links below, especially the second one is really very good and can address you problem in a more easier way:

www.macromedia.com/devnet/mx/ flash/articles/amfphp.html
actionscript-toolbox.com/samplemx_php.php

Thanks,
kp
0
 
LVL 13

Author Comment

by:FLAASHER
ID: 10866395
i will try
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have been doing hardcore actionscripting for some time; and needless to say I have faced a lot of problems in just understanding others' code rather than understanding what the code executes. A programmer's life can become hell when there are a lo…
I have found that much of my time doing support ends up being a constant repetition of the same steps to different people.  Early on I stated using web pages with Frequently Asked Questions (FAQs) to alleviate most of the burden.  Sometimes this jus…
In this tutorial viewers will learn how to create a basic shape tween animation in Flash including shape hints for smooth animation Open a new document in Flash: Draw a shape: Select another frame (how long you want the tween to be): Right click and…
The goal of the tutorial is to teach the user how to select which audio input to use. Once you have an audio input plugged into the laptop or computer, you will go into the audio input settings and choose which audio input you want to use.

808 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question