Html within flash

I have an html button that is not just a hyperlink, but contains other important html info. How do I include this button in the swf without losing this html code?

wat code does the html button contain?

so u want the same thing to happen, but through a flash file? is that wat u mean?

exactly what I mean. Here’s the code:

<form action=“https://www.paypal.com/cgi-bin/webscr” method=“post”>
<input type=“hidden” name=“cmd” value="_xclick">
<input type=“hidden” name=“business” value="genghiskongo@mail.com">
<input type=“hidden” name=“no_note” value=“1”>
<input type=“hidden” name=“currency_code” value=“USD”>
<input type=“hidden” name=“tax” value=“0”>
<input type=“image” src=“https://www.paypal.com/images/x-click-butcc-donate.gif” border=“0” name=“submit” alt=“Make payments with PayPal - it’s fast, free and secure!”>
</form>

im not sure how u can do that through flash. But what u can do is have ur flash movie on a table and that button, in the other cell of the table…get me?

So u have a table with two cells, one contains ur flash and the other contains ur html button.

Thats all that i can think off sorry.

wait i just clicked on ur button.
Ok u can do this.

On ur button in the flash movie place this script.

on (release) {
getURL(“https://www.paypal.com/cgi-bin/webscr”, “_blank”);
}

that should work =)

it doesn’t work. The code is specific to the paypal page. I can’t put the button in another cell because it’s contained within the design of my flash file.

Use the [font=courier new]LoadVars[/font] object:
[AS]myButton.onRelease = function() {
var my_lv = new LoadVars();
my_lv.cmd = “_xclick”;
my_lv.business = "genghiskongo@mail.com";
my_lv.no_note = 1;
my_lv.currency_code = “USD”;
my_lv.tax = 0;
my_lv.send(“https://www.paypal.com/cgi-bin/webscr”, “_self”, “POST”);
};[/AS]
I think there’s a thread about this in the Best of Kirupa… :sigh:

hey kax, sry… thisis ff topic… but how’d you make that text backwards under your name? thats sum cool sh*t!!
nvm, looked at the source :beam:
<TABLE style=“filter:fliph”><B>Text Here</B></TABLE>
anyone know wher i can find some other cool stuff like this?

nice!! I use paypal on one of my sites and had just left the button on the bottom of the html page. Thanks again Kax!!

[edit] and another think I learned in my style sheets - fantastic - you know, I changed the h to a v and guess what happened!! (-:[/edit]

lol, i thought that same thing :slight_smile:

Good times…good times…:beam:!!

Are you guys having fun? :stuck_out_tongue:

And Yeldarb, run search on Google, there are tons of tutorials. :wink:

EDIT. Here’s something to start… http://hotwired.lycos.com/webmonkey/97/33/index1a.html?tw=authoring