Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do I use (Paypal) HTML in Flash swf...

Status
Not open for further replies.

rossmcl

Programmer
Apr 18, 2000
128
Hi,

I want to use HTML in my flash SWF.

Essentially, paypal has provided the html (below) so I can charge for something on my site.

How do I embed this html behind a button, so that clicking on the button does what the html says?

(I am a real beginner in Flash, apologies if this is a real ignorant question).

Any help much appreciated.
RM

=======
<form action=&quot; method=&quot;post&quot;>
<input type=&quot;hidden&quot; name=&quot;cmd&quot; value=&quot;_xclick&quot;>
<input type=&quot;hidden&quot; name=&quot;business&quot; value=&quot;XXXXXXX&quot;>
<input type=&quot;hidden&quot; name=&quot;item_name&quot; value=&quot;XXXXXX&quot;>
<input type=&quot;hidden&quot; name=&quot;item_number&quot; value=&quot;01&quot;>
<input type=&quot;hidden&quot; name=&quot;amount&quot; value=&quot;XXXX&quot;>
<input type=&quot;hidden&quot; name=&quot;no_note&quot; value=&quot;1&quot;>
<input type=&quot;hidden&quot; name=&quot;currency_code&quot; value=&quot;XXX&quot;>
<input type=&quot;hidden&quot; name=&quot;lc&quot; value=&quot;XX&quot;>
<input type=&quot;image&quot; src=&quot; border=&quot;0&quot; name=&quot;submit&quot; alt=&quot;Make payments with PayPal - it's fast, free and secure!&quot;>
</form>
 
Ignore this question. I worked it out.

and for anyone looking at this post that wants to know - you use the email code PayPal give you, and put it into the Hit portion of your button. This will load the paypal page.

rossmcl
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top