I’m looking to pull text from a database and display it in various places in Flash. I was also like to be able to format the text with CSS.
What is the best way to do this?
Its a MySql db, and I’m aiming to use PHP as well since I know it.
I’ve seen people that create XML docs from PHP, but I’m wondering if it would be worthwhile to do this or not.
Can somone run down the best way to do this?
I guess I could do simple text files as well, but I’m sort of attached to doing the database design.
If you do not need to save the result to somewhere else(XML or Text file) then there is absolutely no reason to generate one, unless if you want to slow down the processing speed intentionally…
Just have PHP file output the value from the database that Flash can understand…
Flash understands the output format of ‘variable1=value1&variable2=value2’…
Well… It depends on how you define ‘format’… But I’d say leave it up to the Flash for the formatting part since Flash is slow on processing the string data…
As for the CSS, I have no clue since I don’t use FMX 2004…