PDA

View Full Version : How to pass variable from MC to ASP file?



sji1981
03-30-2004, 02:43 AM
I have no form on flash but I am trying to extract color of some images on my flash movie and send it to ASP and database. When someone clicks on that movie it fills new color. I have extracted the color value by using getRGB() I have used Trace to see these values in output window.

Now how to send these values in ASP page so that I can put it into database?

Any help will be appricaited.

jeet
03-30-2004, 06:42 AM
hi sji1981,

Welcome to FlashAdvisor forum,

Try to send the value of color with query string in asp like below

YourAspFile.asp?color="ColorValue"

Regards
jeet

sji1981
04-24-2004, 07:43 PM
Thanks Jeet, I could do that.
Now I have new question.

In my movie there is a first screen where user will enter his/her name and submit button will take him to second screen where it will show his name as "Welcome name". The problem is when I insert the color value and name in database, it is not showing in one line. But it is showing in two seperate lines.

How to correct this problem?