[SWFObject] Newbie Question

Don McAllister donmc at blueyonder.co.uk
Tue May 2 16:22:35 PDT 2006


I'm very much not a web programmer but I've got SWFObject working on  
a web page successfully.

What I want to do is to pass the name of the swf file to the

  var so = new SWFObject("movie_name.swf", "movie", "660", "430",  
"7", "#336699");

I've got some PHP code that allows me to pass the movie name to a PHP  
page with a HTML section in, but I want to use the same PHP page for  
different movies based on the movie name?

I hope I'm explaining this OK!

As it stands, it looks like the .swf and other parameters are  
hardcoded into the var so line?

Any clues?

TIA

Don




More information about the Swfobject mailing list