Re: dynamic startpage in flash...
| From: | Jordan S. Jones | Date: | Mon, 11 Mar 2002 20:46:02 +0000 |
| Subject: | Re: dynamic startpage in flash... | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-88081@lists.php.net to get a copy of this message | ||
In the HTML for embedding the Flash Movie, do something like this:
<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://active.macromedia.com/flash2/cabs/swflash.cab#version=4,0,0
,0" id=projector WIDTH=100% HEIGHT=200%>
<PARAM NAME=movie VALUE="filename.swf?mail_url=<?php echo
urlencode("http://www.blabla.com/mailTarget.php?target=6");
?>"> <PARAM
NAME=quality VALUE=high> <PARAM NAME=bgcolor VALUE=#000000> <EMBED
src="filename.swf?mail_url=<?php echo
urlencode("http://www.blabla.com/mailTarget.php?target=6");
?>" quality=high
bgcolor=#000000 WIDTH=100% HEIGHT=200% TYPE="application/x-shockwave-flash"
PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_
Version=ShockwaveFlash" NAME=projector></EMBED>
</OBJECT>
That should work for what you need. That is, if I understand what it is you
are trying to do..
"Eric Trezza" <trezza@b-tween.com> wrote in message
news:B8B2A837.43E8%trezza@b-tween.com...
> Hello,
>
> Far from being an expert in PHP, I work with it to make Flash dynamic...
>
> But I need help for the following point:
>
> I would like to send a dynamic variable to a Flash movie at the same time
> PHP build the HTML page containing this Flash movie. The idea behind it is
> for mail links. We want to give some links in emails like
> http://www.blabla.com/mailTarget.php?target=6 and then ask PHP
> build the
> HTML page containing the flash movie which needs the variable 'target' to
> know which part of the movie to begin with.
>
> Thanks for your help...
>
>
> Trezza Eric
> --
> ) b-tween (
> web design > e-communication > e-education
> http://www.b-tween.com
> Geneva, Switzerland > Tel. (+41) 22 782 38 60
>