PDA

View Full Version : Help: Make HTML/Javascript talk to Flash


drustar
03-07-2006, 07:50 PM
I am working on this project, http://icon-sandiego.com/beta/. If you peruse through the site, I am using a javascript function to process an AJAX call so that it updates the content on the container <div>

If you navigate through the site using the flash header it updates the content on the header as well as the content on the bottom. However, when I have a text link on the content itself, it doesn't change the flash header.

Example: Go to the contact section. As soon as the content is loaded, click on "join our email-list."

I would like to be able to pass a variable to Flash to indicate change. I've read some tutorials/looked up resources online and they seem far too advanced as to what I need. (i.e. Flash/JS Integration Kit (http://osflash.org/flashjs), Universal Javascript to Flash Communication (http://www.mustardlab.com/developer/flash/jscommunication/), etc.

If anyone can offer a more simple way without having to downgrade to Flash Player 6, Actionscript 1, that would be greatly appreciated.