As always, I've been looking for the answer in the codex, in the forum, and googling for it, but I couldn't find anything.
I'm working on my flash slide show widget, and what I want to do is have the flash object call a php script, that'll return a list of images to load to the flash object.
Now I could simply call a stand-alone php script, passing it the url of the folder where the images are to be found. But I would prefer to call the WP framework, because that way I'll be able to use the WP functionality in my script, and it would also prevent (or diminish) the risk of external calls to this php script.
So my question is: is there a way to let a flash object call the WP framework to have a script executed and the result returned to it? I'm not asking how flash can call a script, I know how to do that, but if there is a way to execute the script through WP.
In Joomla this is possible creating a module containing the script to be executed, and calling it through the Joomla framework like this: 'index.php?option=com_componentname&format=raw'.
How is it done in Wordpress?