This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Flash Site Design > November 2007 > Scripting an action button in flash that uses hidden form fields





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Scripting an action button in flash that uses hidden form fields
claireparry2000@yahoo.com

2007-11-16, 6:15 am

Please help out here, I am struggling with how to code this correctly
- syntax and constructs. Have placed button image in correct frames,
just cannot script the action through script correctly.

I have html form (as shown below) containing all hidden fields - works
on simple html page, how do I transpose that to work in flash ?

Copy of code below, please help, I am stuck !

<form action="https://checkout.google.com/cws/v2/Merchant/
75192323xxxxxxx/checkoutForm" id="BB_BuyButtonForm" method="post"
name="BB_BuyButtonForm">
<input name="item_name_1" type="hidden" value="xxxxxxx Online
Support Package 1"/>
<input name="item_description_1" type="hidden" value="Subscription
for online support with your xxxxx xxxxxx xxxxx term + 4
weeks. For a more detailed description of services
please go to the 'care package' page or review the main presentation,
both are to be found on our home page."/>
<input name="item_quantity_1" type="hidden" value="1"/>
<input name="item_price_1" type="hidden" value="25.0"/>
<input name="item_currency_1" type="hidden" value="GBP"/>
<input name="_charset_" type="hidden" value="utf-8"/>
<input alt="" src="https://checkout.google.com/buttons/buy.gif?
merchant_id=75192323xxxxxxx&w=121&h=44&style=white&variant=text&loc=en_US"
type="image"/>
</form>


Thank you very much for any help you can give :)
Sponsored Links


Copyright 2003 - 2008 forum4designers.com  Software forum  Computer Hardware reviews