Solved

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

Posted on 2004-04-19
2
148 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

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Flash media server 1 330
How to stream IP Cam to Flash Media Server with or without Flash Media Live Encoder 5 1,346
free flash maker 5 211
How to convert image files to a movie file 6 111
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…
While working over numerous projects I often had the requirement for doing a screen capture in AS3.0. Unfortunately I found no "ready made" solutions in google search that suited my requirements. But I did come across some great resources which help…
The goal of the tutorial is to teach the user how to how to load their YouTube profile onto Flash Media Live Encoder.
The goal of the tutorial is to teach the user what frame rate is, how to control it and what effect it has on the video.

776 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