flash so that if guests tick/select a present then it must become
greyed out or unavailable for the next guest so that they know it
has already been selected/bought. Also, I would like to know how to
possibly make it a log-in site so every guest has their own area.
Does anyone know how I can do this in flash? Any help much
appreciated! Talitha
Creating product list %26amp; login
I'm currently going through a great book that will teach you
how to do this. It's called PHP 5 for Flash (Friends of Ed is the
publisher). There is an entire section devoted to creating a login
section of a flash site.
As for greying out presents that have already been selected..
I would imagine that you could store a variable in a database about
whether or not the present has been selected (could be a boolean -
true or false) then load this data into flash where you would have
conditional statements that render the present movie clips
accordingly.
Then, you would also have a PHP script (and an instance of
flash LoadVars) that gets called when a present is selected that
changes its entry in the database to ''selected'' (or true, or
whatever).
It's a good bit of work, but check out this book. You can
definitely do it.
Heres the book on amazon:
http://www.amazon.com/Foundation-PHP-5-Flash/dp/1590594665/ref=pd_bbs_sr_1/103-2 755177-0118245?ie=UTF8%26amp;s=books%26amp;qid=1178894046%26amp;sr=8-1
No comments:
Post a Comment