Flasher Archive

[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]


Subject: Re: FLASH: Shopping cart linkage
From: Robbert - Jan
Date: Thu, 13 Apr 2000 15:00:21 +0100

If you want to open the page "shoppingcart.cfm" in the current browser
window than you can use "Get URL".
inside the "Get URL" action add some other actions that set the variables (I
don't know if your using multiple timelines)
All the hidden fields have to be set as a new variable in Flash. so it would
look something like this.

on Release
set variable "quantity" = 1
set variable "store" = "cctvcity"
set variable "desc" = "Colour Camera Premier Kit"
set variable "number" = "PREMKIT1"
set variable "price" = "200.00"
set variable "backto" = "www.cctv-city.co.uk"
set variable "image" = "add"
Get URL
"https://www.shopcreator.com/mall/shopcreatorcart/shoppingcart.cfm"
end

now you will probably have to modify shoppingcart.cfm to handle the input
image. I just set a new variable "image" to the value "add". The cfm page
has to check the variable "image" and display the appropiate image. (I'm not
familliar with ColdFusion so I can't help you with that.)

This is all that has to be done in Flash.

Robbert-Jan

----- Original Message -----
Subject: FLASH: Shopping cart linkage
>
> Dear Flashers,
>
>
> Our shopping cart company uses the following html to link each of our
> products to their cart:
>
> <form
>
action="https://www.shopcreator.com/mall/shopcreatorcart/shoppingcart.cfm"
> method="POST">
> <input type="hidden" name="quantity" size=3 value=1>
> <input type="hidden" name="store" value="cctvcity">
> <input type="hidden" name="desc" value="Colour Camera Premier Kit">
> <input type="hidden" name="number" value="PREMKIT1">
> <input type="hidden" name="price" value="200.00">
> <input type="hidden" name="backto" value="www.cctv-city.co.uk">
> <input type="image" name="Add to Cart" border=0 src="buy.gif">
> </form>
>
> Pretty self explanatory stuff, my question is:
>
> How do I integrate the above into our FLASH site when the buy button is
> clicked ? Can we use a single GET URL or is there another way (obviously
> without using java or calling an additional HTML for each product)
>
>
> Many Thanks,
>
>
> Steve Arnold



flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Get the last 100 messages from the flasher list NOW
http://www.chinwag.com/flasher/last100.shtml

Flash books http://www.chinwag.com/flasher/books.shtml
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpatchinwag [dot] com


Replies
  FLASH: Shopping cart linkage, Steve Arnold

[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]