Re: Flash Variables

From: Date: Sun, 27 Jul 2003 22:22:00 +0000
Subject: Re: Flash Variables
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-157108@lists.php.net to get a copy of this message
> Hi Everone, I had a question about PHP and Flash. I have a navbar buttons > that I made in Flash MX, but the PHP script I want it to be displayed for is > an auto-generated photoalbum, so the "Next" and "Previous" buttons have need > to change meaning at every pageload. I was wondering if there is a way to > pass a variable on with the script to that I can program the button to > "getURL $nextpage" or something of the sort. Thanks a bunch, > Taylor Smith > when your loading your flash movie, inside the param and embed tags, after the filename, include your variables as you would using GET... <object ..............> <param name="movie" value="main.swf?pagenum=1&display=15"> ................ <embed src="main.swf?pagenum=1&display=15" ...................... > </embed> </object> this will pass the variables directly into _root in your flash movie where you can utilise them from there. this should solve your problem. although please excuse any syntax errors, this is straight from the top of my head... -skate- > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > >

« previous php.general (#157108) next »