I´m aware that with
loader = new URLLoader();
loader.data;
it´s possible to get the entire data/information from a php page.. But I don't want a php page for every bit of information I want from to 'stream'.
So my Question is: Is it possible to have multiple functions/methods in a php script, and only call the method I require?
such as:
<?php
function getColour1()
echo "blue";
function getColour2()
echo "red";
?>
If "yes", 2 lines of code that show how, or link to an example would be greatly appreciated.
cheers, M