Hi,

Im using a PHP News system called Cute News(web address if this helps Cute News ) I want to know if its possible to get flash MX to look at the PHP news system to get the text/data off of it so it can be used in a flash site eg i can and some news in the Cute news control panel and then it would appear on the flash site. The reason im asking here is i have a tiny bit of knowledge on PHP and a bit more on flash🙂

If anyone can help that would be great

Many thanks

Joe

    Hi there,

    You need to use the loadVariables() function in flash like: loadVariables("news.php");

    However, you need to have that php page output the news in the format:

    &variable1=stuff&variable2=stuff&

    You could easily write a php script to do this and then make some stuff in flash to use the passed variables.

    Hope this helps,

    Brad

      Hi,

      thanks for the reply.Im glad it can be done. But i have a problem in the News.txt file the news shows like this

      "1099654757|admin|test|test|testtesttesttesttesttesttesttesttesttesttest||1||"

      How would i convert the text/numbers so that flash can read it?Or would i really have to find away of making my own news system?

      Sorry to be a pest

      Many thanks

      Joe

        Write a Reply...