I need a flash file that is pretty simple, following requirements:
Size: 300x250 (w x h)
Function:
When the file is called, it gets a variable, e.g. ?xml= which contains the entire http-path to the script that parses the XML structure to read. The file should also set a "hidden" variable that the xml-script is called with, in order to set a password, e.g. &pass=123 - this must not be visible to the user!
When the flash is "executed", it should just act as one big link, linking to the link in the XML feed. It should take the background image from the XML feed, and lay a "play" button on top (e.g. [login to view URL]), so the entire thing looks like a video player.
The following must be read from the XML
Background image for flash content
Link
XML-feed idea:
<conf>
<bg>bg image link</bg>
<link>http link</link>
</conf>
If the flash can't fetch the needed XML, just put a sadface image and disable the link-click.
On implementation it should look like this (in the source)
[login to view URL]://[login to view URL]
But the xml feed that is actually called is [login to view URL]
I need full source code of the project.