ActionScript 2.0 :: Unable To Use Credit Cards Or Paypal?
Jan 30, 2007I need to build a flash shopping cart being able to use credit cards or Paypal, similar to the one used on spreadshirt.com
View 2 RepliesI need to build a flash shopping cart being able to use credit cards or Paypal, similar to the one used on spreadshirt.com
View 2 RepliesI have only two fields Name and Email in a Order form and a PayPal button for payment at PayPal ( into my account).I can do the mail portion but have no idea about PayPal code, however on search here I found one code and after pasting this one to the PayPal button it redirects to my PayPal account. But the question is anybody can post a message and leave the site without paying me. How can I do this thing so that the user will forced to pay before posting the mail form. No idea how to proceed?
View 7 RepliesHow can I quickly build a credit card payment wizard in flash? - AS2 / AS3 I have some actionscript to validate a credit card number, but what next? Which service / what scripts should I use to accept credit card payments in flash?
View 1 RepliesI already have a flash form(1280x1024 stagesize fullscreen) that allows the users to type in their name/age and take a photo of their face. I was thinking is it possible to print out a card , for example "credit size CARD" with flash AS3? I already read up the PrintJob in adobe web but I dont really understand/know how to use them. And of course, is it also possible to generate a unique barcode for every user and print it on the card?
View 2 RepliesI want to process the credit card details within a flash/swf based form.
View 2 RepliesI already have a flash form (1280x1024 stagesize fullscreen) that allows the users to type in their name / age and take a photo of their face. I was thinking is it possible to print out a card, for example "credit size CARD" with flash AS3? And of course, is it also possible to generate a unique barcode for every user and print it on the card?
View 4 Repliesupdate: I'm doing a kiosk-type flash application. and i have a print function at the end of the application, to print the receipt... but..
1) whenever I press the PRINT button in flash, it will pop out a printing preference window and I will have to press OK then it will print. In other words, is it possible to skip selection printer window? I must print "directly" the job in the default printer. I'm develping a kiosk application and need print a "receipt".
2) and then is there any code to check if the printing succeed or fail? so that if it fail, i will display a fail msg in flash.. etc..
I have a box similar to a credit card scanning box. to enter the site, it requires the user to enter "566404663" (that is "long_gone" on the numerical/alphabetical keypad) then click the enter key. when the user clicks on the enter key, it takes him to the site. When the user clicks enter, regardless of what the user entered, it takes him to the site. I want it to only go to the site if the user enters "566404663" and clicks enter.
This is my actionscript for the button:
on (release) {
if (display = "566404663") {
getURL("[URL]", "_blank");
} else {
displayStatus ="0";
}}
What I want that when the user clicks "566404663" and clicks on enter that it takes the user to the site and if the user enters anything other than "566404663" and clicks on enter that it would reset the display to 0? Check out the link to see the credit card scanning box: [URL].
i finally got my code without syntax errors or output feedback. when i test it all i get is a blank stage.
i have 2 movie clips
sMagiCard_mc
cMagiCard_mc
and i do have them exported for action script, this is the code.
ActionScript Code:
import flash.display.MovieClip;
stop();
var magiCardList_XML:XML;
[Code]...
What it is I am trying to achieve is 6 cards each with their own numeric value. (1, 2, 4, 8, 16, 32) when the card is clicked its values get added together and but remain invisible until the reveal button is pressed.
ActionScript Code:
c1_btn.addEventListener(MouseEvent.CLICK, c1Click);
c2_btn.addEventListener(MouseEvent.CLICK, c2Click);
c4_btn.addEventListener(MouseEvent.CLICK, c4Click);
c8_btn.addEventListener(MouseEvent.CLICK, c8Click);
c16_btn.addEventListener(MouseEvent.CLICK, c16Click);
c32_btn.addEventListener(MouseEvent.CLICK, c32Click);
reveal_btn.addEventListener(MouseEvent.CLICK, revClick);
[Code] .....
I tried to utilize a basic calculator script and tryed to modify it. This is probably the the 5th version iv made.
scroll through some cards on roll over...
mc.onRollOver = function():Void {
current = this.cid+1;
rolledOver = true;
[code]....
I am toying around with the idea of making a few card games, and was testing some code trying to get an Ace of Spades to snap to a slot.But for some reason the card isnt snapping... with the traces I ran.. it looks like it is snapping to the center. But I changed the center point with the free transform tool... so the point is in the upper right but its still not snapping.You can see by the traces I use, that the home1X = 36 means it is finding the corner
View 1 RepliesI'm creating a card game where the cards flip and are draggable. At the moment, I'm trying to add graphics to my cards using the addChild method, but I'm not having any luck. My cards flip and drag around properly, but I can't seem to get graphics on them. I have the graphics linked for use in action script. I have my cards in memory.fla and am using two external .as classes (DraggableClip.as and MemoryGame.as). Here's the code for both.
[Code].....
I'm working on a card game that will allow users to flip the cards and drag them. I have those two functions worked out, but now I am trying to randomize the order of the deck when I load the swf using an array. I know a lot has been said about this issue on here, and I adapted some code that I found. I'm not getting error messages, but it doesn't seem to be shuffling my deck either. Am I missing something? I just have three cards at the moment (figured I'd keep it simple until I get everything worked out!). Below is the code for MemoryGame.as, my document class. The shuffle function is near the bottom.
package{ import flash.display.MovieClip; import Card; import Boarder; import BlueBoard; public class MemoryGame extends MovieClip { private var _card:Card; private var _boarder:Boarder; private var _blueBoard:BlueBoard; private var _redBoard:RedBoard
[code]....
Can somebody recommend tutorial or code source to create Flash Cards.Cards must have:List of words/phrases (loading from XML) where user can choose words he/she want inside Flash Cards
[Code]...
I am looking for a tutorial or code that will allow me to shuffle 60 cards non-Playing cards and then display the top 5.
I am trying to create a TCG type game once im past the shuffling and know how to display cards i believe i can take it from there.
ll need to turn the cards to reveal the other side.Is there a way to make this using actionscript?
View 5 RepliesIt's like poker. I'll need to turn the cards to reveal the other side. Is there a way to make this using actionscript? Remember that in one side there is a vector drawing!
View 5 RepliesI was looking for a way to shuffle a deck of cards last week and I was provided with some code to do so. I decided a straight shuffle would work better with my project than randomizing coordinates (as I was doing). I'm trying to implement the code, and I think I'm pretty close, but I'm running into a few snags. I'm using Shuffle.as as my document class, and another external class called Card.as to control the flipping and drag action of my cards. At the moment, I'm getting this message when I try to run the swf: 1084: Syntax error: expecting leftbrace before Deck. I think this is indicative of an error somewhere else in my code, but I'm not sure where. Do you see anything upon first glance?
[Code]....
I am using flash cs5.5 right now and I have in my library two movie clips. One contains the main class and the other is created to do a function, which is to flip the cards the main class creates. I have designed the cards inside the "Card10" movie clip (which contains the class that flips the cards). But when I test the game, my cards don't flip.
Here's the code :
package {
import flash.display.*;
import flash.events.*;
public dynamic class Card10 extends MovieClip {
private var flipStep:uint;
[Code] .....
I have positioned my cards so the registration point is in the center of the cards.
I want to learn how to make a web site that has greeting cards? I can make the flash movie, and I can add the dynamic text, but how does the user save the text in my web space? How do I send a message to receiver about greeting card?
View 1 RepliesFor a company that works with sales agents all over the world I want to create a web form in Flash where the agent can fill out his/her contact information which automatically will be put on a business card background.This business card, with the agents information, should be repeated 10x on the final printable file (filling an A4 or letter sized sheet of paper)
View 5 RepliesI am programming a card sort application in which I am dragging and dropping the cards on the boxes. While dropping these cards it should arrange them in a stack format. e.g. if card1 is dragged and dropped on box1 it will appear behind it, card2 behind card1 and so on. And if I want drag these dropped cards to another box these cards should be rearranged accordingly without showing any in between empty slots. Now the problem is when I drag these cards from the box I set relative depths to them. But the after doing this the cards get disabled.
View 6 RepliesI have a work station with Osprey 230, I need to stream the same stream on two diffrent URL via 2 network cards. Is that possible ? Which software you reccommend ?
View 1 Repliesi was in the very initial stage of my code but now i have completed my file and need some help fixing a bug in the file.The basic idea is to arrange the cards in order user seem fit but the problem i am facing is that when i swap cards on mousemove a particular card doesn't have its properties updated it shows xpos ypos and its col and row id as undefined until i click on it and then only the card takes its properties I know i am not setting something properly some where but am kind of totally clueless about it.I am attaching the fla and xml here . the xml is only for the increasing or decreasing the length of the columns and rows.
View 1 RepliesIm attaching cards to stage in random positions using arrays. I'm having some coding issues randomizing so when I refresh the swf the cards numbers should change randomly but are not. This is my code:
var cardList:Array = new Array();
for (i=0; i<16; i++) {
cardList[i] = "card"+i;
}[code].....
I need to add a script to my code..."subtotal + shipping $11.00 = total".
View 1 RepliesI'm setting up a paypal payment cart and have a bit of a problem; I can't specify a return address for a sucessful buyer to be directed to as 'return' is a reserved word- Is there any way i can get around this? Here is my code:
myPurchaseButton.onRelease = function() {
formData = new LoadVars();
formData.cmd = "_cart";[code].....
I'm working on a spider solitaire game and I need a way to bring cards out of their parent column and on to the main stage when they are selected. Here's my current code:
[Code]...
However, the above gives me an error on the stage.addChild line. "1118: Implicit coercion of a value with static type Object to a possible unrelated type flash.display: DisplayObject."
I work with Flash Pro allmost 11 hours per day and every while i get a error which messes up everything. Approximetly i get this after about 2-3 hours withevery project.After i get this error there is no chance to test movies afterwards.I see a fast flash of the loader window but it dissapears so fast i cant even really see if it is loader.
View 1 Replies