Re: flash/php problem
| From: | Anthony Lee | Date: | Thu, 09 Mar 2006 03:13:58 +0000 |
| Subject: | Re: flash/php problem | ||
| References: | 1 2 3 4 5 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-41416@lists.php.net to get a copy of this message | ||
This question isn't really a PHP-DB thang is it?
Anyway, it sounds like you have a lot of swfs on the page. One for each song, is
that right? In that case your best bet would be something like what you already
have:
<embed src='play.swf?ID=74...'>
i.e. push the variable into flash from the page that contains it. If you only
have a small amount of info the swf needs you can just keep on with the theme
ID=74&URL=yourmama.com&TITLE=YoMama etc.
If you want to pull a lot more information from the DB after the page has loaded
then you should take a look at PHPObject or AMFPHP. Hint, AMFPHP is a lot more
robust and faster.
And don't forget that you need to write the vars to a Param tag too.
Tony