So, would you like to add a Paypal button to your animations so other people could support your work?
Well, is easier than you thought :)
The button
Let's make a PayPal button first. You could even use the PayPal logo for it if you want, or make one by yourself. Just keep in mind that you have to let know to the people that pushing that button will send them to PayPal so they can donate you some money.
Add the graphic (Or draw it) and then convert it into a symbol (F8) In this case will use a Button symbol.
The ActionScript
Now, we'll add it an ActionScript so when the user presses it, it will sennd him in a blank page to the PayPal page.
Note: Keep in mind that if you send the user to the PayPal page in the same window, your animation will stop and the page will open with the size of the page where you were looking at the animation. So, the best you can do is send him in a new page (Blank)
This is the ActionScript that the button will have:
on (release) {
getURL("http://www.urlhere.com", "_blank");
}
As you can see, I left the url as 'urlhere.com' because I'm going to explain how to link it to your PayPal account.
The link (URL)
The link for it will be something like this:
As you can see, the link is so long that I had to add the HTML tags so it didn't get screwed here.
All what you have to change it is this:
Instead of 'Ozcar' use your user name
Instead of 'newgroounds' use your host domain
If your webmail provider ends in 'net' change the 'com' too.
Well, my e-mail is ozcar@newgrounds.com
So I left it as: ozcar%40newgrounds%2ecom
%40 will be the @
%2e is the 'dot' ( . )
So, if your e-mail is: newgroundsfan293@yahoo.com
Change the url for: newgroundsfan293%40yahoo%2ecom
In this case, the full URL for newgroundsfan293@yahoo.com PayPal link would be like this.
Add your URL to the ActionScript and you're done :)
If you have questions, feel free to ask. (And Donate me something if you want :)