PDA

View Full Version : Make Form In Php That Will Set An Image In Flash To Appear Until Changed Again In Php


sambuddy
05-26-2006, 01:24 PM
Hi... Im a newcomer in FLASH and PHP. I've been learning both ON MY OWN using any available information i could get for less than a year

I want to use a php form that will set the color of an image to three levels.

ex. if i chose option1 in php, it will be stored in my database and the image is set to 20% alpha. if i select option2, it will display to 50% alpha and so on...i want the image to appear as is until i change the value through my php form.

:( PLEASE HELP...

sambuddy (sambuddy_99@yahoo.com)

mphllps
06-01-2006, 04:21 PM
Ok which parts specifically do you need help with? Can you figure out the form, and recording data to the database?

The basic idea behind what you are trying to do is:
1) Create a table to store the settings.
2) Make a form that will update the table with php.
3) Make an output page that puts the variables out like this:
var1=thisvalue&var2=thatvalue
4) Use LoadVars to load that data into flash.
5) Apply the settings to your object in flash.

Let me know which parts of the list you need help with, and I'll be glad to try to walk you through it.

Miles