Strike Force Heroes 2
The explosive sequel to the hit game Strike Force Heroes!
3.95 / 5.00 11,623 ViewsObsolescence
Defeat the enormous mechanical beasts--and become one of them.
4.04 / 5.00 50,649 ViewsSo, 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 :)
At 1/20/06 03:14 PM, Ozcar wrote: stuff.
rather useful, thanx - wat happed to this post a second ago? was it deleted?
At 1/20/06 03:17 PM, Phyruss wrote:At 1/20/06 03:14 PM, Ozcar wrote: stuff.rather useful, thanx - wat happed to this post a second ago? was it deleted?
It had 2 mistakes with the links, so I deleted it and posted it fixed again :)
i dont anyone here make any work someone wanna support with money!
how come you deleted the other topic?
cool, thanks for that, that may come in handy
You really just paste the adress of your PayPal into the 'getURL' function, it's not worth explaining.
Hehe. Kinda narrow subject, but it sure as hell needed explanation =)
Nice
if only you could do this with google ADs
At 1/20/06 03:18 PM, Creeepy wrote: i dont anyone here make any work someone wanna support with money!
how come you deleted the other topic?
Because I'm a moderator :)
At 1/20/06 03:19 PM, -Gust- wrote: You really just paste the adress of your PayPal into the 'getURL' function, it's not worth explaining.
It is, smart ass...
At 1/20/06 03:24 PM, Inglor wrote: if only you could do this with google ADs
Hmmm...haven't tried so far...
At 1/20/06 03:14 PM, Ozcar wrote: A lot of useful stiff
Wow... now its time to make money in my flashes! Mwahahahaha! Im sorry.. Its late and I am tired. That is pretty useful, Ill bookmark this.
I like, to bad I dont have a paypall acount, I could set up one of these on my site, so it would be static. I like Flash more than static.
At 1/20/06 10:34 PM, LordTrunks wrote: Wow... now its time to make money in my flashes! Mwahahahaha! Im sorry.. Its late and I am tired. That is pretty useful, Ill bookmark this.
Remember to bookmark the AS: Main topic too :)
At 1/20/06 11:22 PM, DarkScythes wrote: I like, to bad I dont have a paypall acount,
Make one. It's for free :)
I could set up one of these on my site, so it would be static. I like Flash more than static.
Well, that's what makes Flash great, isn;t it? :)
wonderful tutorial, you have done your homework!
This couldn't have anything to do with lu, could it?
At 1/20/06 03:24 PM, Inglor wrote: if only you could do this with google ADs
LOL. Armor Games wouldnt have a site if you could.
Hi, i was reading into it and it says;
Benefits
Save time and money collecting donations with PayPal:
* Easy to implement - no CGI scripting necessary
* No up-front costs - you'll have the same low fee schedule used when you receive other PayPal payments
* Collect with ease - PayPal maintains detailed transaction records on our website
* Freedom for your donors - donors can choose the amount of their secure donation, or you can set a fixed amount
Does this mean it does cost? and if so, how much?
Thanks
This is useful. But you shouldn't have called it the paypal button tutorial, because its basically just a button that links to the web. But still, I like it. Good job.
At 8/27/06 03:40 PM, Andy_Smithy wrote: Hi, i was reading into it and it says;
Benefits
Save time and money collecting donations with PayPal:
* Easy to implement - no CGI scripting necessary
* No up-front costs - you'll have the same low fee schedule used when you receive other PayPal payments
* Collect with ease - PayPal maintains detailed transaction records on our website
* Freedom for your donors - donors can choose the amount of their secure donation, or you can set a fixed amount
Does this mean it does cost? and if so, how much?
Thanks
No up-front costs, No up-front costs, No up-front costs, No up-front costs, No up-front costs.
It's FREE.
Awesome!
I like the idea, i dont use paypal but hell, it will be good for the ppl that uses that
Erm, just a small note.
Maybe you could also mention about changing to other regional domains, like .co.uk or .de
Most would figure that one out for themselves, but also, you could mention about changing the "USD" into "GBP" or any of the other currency codes paypal supports, if you so wish.
Good work, though. Very helpful :)