Hey out there all you geniuses. Hope you can help me out. Video production is my specialty but I find myself getting flashed at work this week.
Problem: We have a very basic html site using png bg images with hotspots as links. We are firm believers in less is more and we want to incorporate just a bit of flash movement. When the user clicks on a link and goes to another page on our site we would like our flash graphic to change images. The flash graphic is in a window that is always displayed. So is it possible to have flash take direction from outside of flash like the html link?
Hi Justin, I know that flash can take Cues from HTML when it loads. So you could make one flash banner and apply it to several different websites because the websites pass a cue onLoad.
However to give a cue to the Flash file at run time is a bit harder. For that you would have to know PHP and I’m not sure if the project would be worth the effort.
Whenever you use PHP (like in a mail form) flash sends the information and awaits a confirmation from the PHP file. Based on that confirmation, you could make flash to do anything. What I would do (if it really is that important) is to set up a PHP file. And have the HTML file direct to a new link and send a message to PHP. Then PHP would get back to flash and from there the action would be taken.
I really don’t have the time to get into it in any more detail, much less get you started on the project. But as far as ideas go, I believe that is the way to do it. Best of luck!
Couldn’t you use a LocalConnection in some way? maybe have a (hidden) flash movie in each new page that (as the page, and movie, is loaded) does nothing but send a local message to your “permanent” flash movie that it should change image.
thanks for both of your time. just the mention of php frightens me away. our coding expert is mia. the hidden flash file seems like it could work. does anyone happen to know a script that would perform that operation?