PDA

View Full Version : Dynamically load image into hotspot


tcoursey
10-21-2009, 02:23 PM
I want to be able to set a variable via the HTML flashvars or even with a custom function in the XML maybe that will allow the user to call out a particular URL for an image to load.

So once the pano loads, it somehow gets this information from a query string, flashvar or custom XML function, to show a dynamic image pulled from the internet somewhere. http://www.domain.com/images/customimage.jpg or something.

Maybe could even have a text input box on the pano for "setup" so that the user can input the URL there?

any thoughts on a good direction to head with this? is there a plugin for this? Pretty new to the forums and did a search that didn't find anything. Sorry if it's already out here somewhere.

broma
10-23-2009, 08:09 PM
Yes, I think that it's a cool idea be able to add/remove dynamically more elements (image/.swf) into a panorama.

Someone may give an explanation?

Thanks
Bruno Napoli

tcoursey
10-26-2009, 12:45 PM
The only thing I can think of so far is to "dynamically" generate the XML config files. I have done this with ASP, basically doing lookups to a database file and then "writing" that information out in XML format. So you would point your panorama file to look for xml.asp file (or something) and it would spit out the "dynamic" portion of the file. The only drawback is once loaded it's no longer dynamic! kind of a bust currently.

anyway, someone out there has some thoughts! please share ideas on how a developer could implement something like this. Thanks.