Groups | Blog | Home
all groups > flash data integration > may 2006 >

flash data integration : can flash accept data?


sun4none
5/11/2006 6:22:46 AM
Is it possible for flash to accept value from a database? Here is what I want
to do:

There is a database storing values "postions" and "descriptions" (there are 2
coloumns named so to store the values).
In flash I want to accept the values entered in these 2 coloumns.
How to go about it?
If I create 2 dynamic text boxes with variable names "p" and "d" respectively
and an "accept" button on the scene, what script should I add to the button so
that these text boxes accept the values?
so my 2 queries are:
1) how do I send the value from the database to flash?
2) how do I accept the same in flash?
please help. I do not have much knowledge of database management. So explain
me in layman's terms please. Thank you very much.
KironeX
5/12/2006 12:00:00 AM
you can do one of the following:

1. use php to access the database and output the raw values and use loadVars
2. see 1 only output it in xml and let flash read the xml
3. use coldfusion *sry don't know how to do this I'm still trying to figure
out myself*

I myself use the second option the most due to it's flexibility and there are
alot of articles on the forum and main adobe site to help
sun4none
5/12/2006 1:59:29 PM
hey KironeX,

I successfully used xml! thank you! ddidn't neither php nor coldfusion :S.. so
xml was the best bet.. fortunately learnt a bit of it and was able 2 apply it..
used components etc.. phew! its done!
AddThis Social Bookmark Button