Solved

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

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

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

This article describes a solution to a problem of subloading one movie into another when they have different SWF versions. Sometime back, I was working on an ActionScript project while I came across an interesting fact which I would like to share…
In my long career of working as an actionscript developer, I had spent sleepless night often working hard to solve some small problems which actually took a lot of my development time; later found out the solutions to be a line or two. Here are s…
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 the video input device. Make sure you have an input device that in connected and work and recognized by Adobe Flash Media Live Encoder and select it in the “video input” menu.

706 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now