
February 25th, 2000, 03:46 PM
|
|
Contributing User
|
|
Join Date: Feb 2000
Location: Englewood, CO
Posts: 30
Time spent in forums: < 1 sec
Reputation Power: 14
|
|
|
I never use Flash, but I assume that it is embedded in your HTML like any other applet/activex-type object? That is, you put it in your HTML with parameter values?
If this is the case, you could use PHP to create the HTML of the page, inserting specific parameter values wherever needed. For instance, if your object takes a parameter speed that you want set to 5 for one case or 10 for another, try this:
<OBJECT TYPE="Flash">
<PARAM speed=
<?
if (some_condition) {
print "5";
} else {
print "10";
}
?>
>
</OBJECT>
This would work for an applet or activex object for sure, but not sure about Flash.
As far as having PHP act as some kind of server to specifically call your Flash object and send it data, that's beyond me...perhaps beyond Flash or PHP.
-TM
|