[SWFObject] Newbie Question

swfobject at blazingimages.com swfobject at blazingimages.com
Tue May 2 17:04:04 PDT 2006


var so = new SWFObject("<?php echo $movie_name; ?>", "movie", "660", "430",...

be sure to use similar variable values for any other parameters that 
may change.

At 04:22 PM 5/2/2006, you wrote:
>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
>
>_______________________________________________
>SWFObject mailing list
>SWFObject at lists.deconcept.com
>http://lists.deconcept.com/listinfo.cgi/swfobject-deconcept.com




More information about the Swfobject mailing list