PDA

View Full Version : Just Passing Through



Dooley
October 16th, 2008, 08:09 PM
:megaman:
I've got a link, this link opens a page, it passes a query string as it loads a text file of song lyrics to a div (just an AJAX call), and then that very query variable gets passed to the Flash in it's URL to allow the Flash to select the right track to stream.

So no big deal, I parse my string and pass the variable through to the ajax, but how do I pass it through to the flash?
I want to avoid requiring a page for each individual song, so I'm making one page that ajax loads lyrics underneath the flash object.
How do I pass the query variable to the flash object? Can I use javascript:variableName in the object tag? I'm assuming not.

Any ideas, any body?C:-)