using php in flashis it possible ? . . . .
Page 1 of 1
6 Replies - 1586 Views - Last Post: 31 March 2002 - 10:44 AM
#1
using php in flash
Posted 26 March 2002 - 11:28 PM
Replies To: using php in flash
#2
Re: using php in flash
Posted 27 March 2002 - 09:44 AM
#4
Re: using php in flash
Posted 30 March 2002 - 07:47 PM
Go to the Friends of Ed website, or see if the D.I.C. store has a link to Amazon.
If you want a taster, the first chapter is freely available, and gives you a decent idea how Flash/PHP integration works:
Chapter One
Source for excercises
Also, the author has a website dedicated to the book, with help forums:
Sem
(Edited by Sem at 7:48 pm on Mar. 30, 2002)
#6
Re: using php in flash
Posted 31 March 2002 - 10:28 AM
ActionScript on a button, movieclip, whatever.
loadVariables ("var.php", "0", "GET");
now your php:
<? echo "name=sam&age=20&height='6 foot 5 inch'&alcohol=Tequila"; ?>
Now when you run the falsh movie on your server after that action your movie will contain the variables, name=sam, age=20, height=6 foot 5 inch' and alcohol=Tequila.
That is just the basics you have to format all output to the var=value&var2=value&var3=valuse format. (And I like my Tequila from a shot glass not a mixed)
Cheers Sam
#7
Re: using php in flash
Posted 31 March 2002 - 10:44 AM
When you apply this a/s to a button or so, it will send whatever field is labled to your script.
Yesterday as an example, I made a form in flash that sends the variables to a database.
Now, its different from getURL because it runs in the background. (no other page loads). Just hidden.
|
|

New Topic/Question
Reply


MultiQuote





|