Hello I already know how to add the flash object, embed, properties to a whole array line in PHP like:
$flash[1] = "put all the object and embed properites in each php array line like this";
I was really hoping there is some way to do it faster and easier way instead. Because I'm getting too tired of adding full object properties to each array line every time I need to switch things around or change them, takes too long each time. Does anyone know of a way I can declare most of the object and embed properties in one area instead? That way the only thing I have to do is add the address to the .swf to the array lines instead which would be a whole lot nicer and a lot better if I only had to do that instead. For example:
<?php
$flash[1] = "http://www.website.com/flash1.swf";
$flash[1] = "http://www.website.com/flash2.swf";
$flash[1] = "http://www.website.com/flash3.swf";
$next = ("<object classid=""><param name="movie" value="'+flash[count] +'"><embed src="'+flash[count]+'" width="200" height="200" name= value=></embed></object>")%count($flash);
$getflash = $flash[$next];
?>
<?php
echo $getflash;
?>
I know I've got the $next = code written wrong or more there. But that's the basics of what I really need and what I'm trying to do some way like that. So that all I have to do is add the .swf addresses to the array lines instead. I need the search engines searching the .swf properties that's why I'm not doing it in Javascript instead. Please let me know how to finish the part I'm really stuck on, thanks a lot for your help.