Smart way to execute function in flash from an imported html (or XML) plain text

Posted by DomingoSL on Stack Overflow See other posts from Stack Overflow or by DomingoSL
Published on 2011-01-04T21:20:11Z Indexed on 2011/01/04 21:54 UTC
Read the original article Hit count: 207

Filed under:
|
|
|

Ok, here is the think. I have a very simple flash program code in AS3, inside this program there is a dynamic textfield html capable. Also i have a database were i will put some information.

Each element in the database can be linked to other. For example, this database will contain tourist spots, and they can be related with others in the same database.

Ramdom place 1 
This interesting spot is near <link to="ramdo2">ramdom place2</link>. And so, so so...

The information in the database is retrived by the flash application and it shows the text on the dynamic textfield. I need somehow to tell my flash application that have to be a link to other part of the database, so when the user click the link a function in flash call this new data.

The database is a simple Mysql server, and the data is not yet in there, waiting for your suggestions of how to format it and develop the solution.

Im a php developer too, so i can make a gateway in PHP to read the MySQL and then retrive some format to flash, an XML for example.

© Stack Overflow or respective owner

Related posts about php

Related posts about mysql