Actionscript 3 :: Interfacing To Bill / Coin Acceptors And Printers
May 17, 2011
I have been approached regarding building a touch screen app for a client, but as it will be for use on kiosk machine it needs to interface with a bill/coin acceptor and a printer. What are the common the ways of accomplishing this?
View 1 Replies
Similar Posts:
Mar 26, 2011
My problem is with score counting, i have a score field, a main character and 5 coins.When the character collides with the coin the following happens:1. The coin disappears (Supposed to happen)2. Adds 1 point to the score (doesn't work the way it should)What happens is (i have set the score field to start at 0 with (_root.score = 0 this for some reason doesn't have any affect.Only the first coin to be hit adds (1) to the score, after hitting a second it completely disappears. Also have it set so that if the score goes to 5, the door in the top left will open. (NOTE: for some reason this seems to work, if you "collect" all the coins the door will open, but the SCORE field doesn't show the number)
View 1 Replies
Mar 16, 2012
I´m developing a program that let you choose the printer you want to print on, for that i need to get all available printers on my system
View 2 Replies
Jan 7, 2012
I need to have a banner that changes every 5 seconds. Problem is that when I move from page to page it starts at the beginning. If I had a session that recorded each change and that could be read by flash on initialise then this would work. My prefered platform is PHP but can use ASP
View 1 Replies
Feb 5, 2011
I don't work with Flash and consequently know nothing of it, but I have the task of embedding a swf film into a web page. I know nothing about the swf's internal design, other than it plays a short film. I'd like to control when the swf starts playing, rewind it (it will be played infinitely), and possibly even cache it in the browser. It will be part of a Javascript-powered rotation of images, in which the <img> element will be temporarily replaced with an <object> for the swf.
My question is do swf files have an interface for Javascript built-in when compiled (Actionscript I think?), or would this entirely depend on the author's decision to include such code? If it is dependent on the author's inclusion of the code, are there any possible tests I can run to see what methods might be available?
View 1 Replies
Nov 22, 2011
How to list down all the printers in system in ActionScript 3.as3 property printers not working.
View 1 Replies
Apr 19, 2007
Trying to figure out this printJob thingy in Flash. How can i make it send either 1 movieclip to one print and another to another printer, or the same movie clip to both printers?
View 2 Replies
Apr 20, 2010
What's the better way to make a coin rotation? I tried Math.random, but the coin doesn't wobble correctly.
starter code
//ROTATION
addEventListener(Event.ENTER_FRAME, enterFrameHandler);
function enterFrameHandler(event:Event):void
[Code].....
View 1 Replies
Mar 24, 2010
I'm using this falling snoweffect but I exhanged the snow with a coin so what I wanna do is have money falling but when they reach bottom I want them to stop. Instead they are looping and I dont know where to change it in the code.
init = function () {
width = 200;
// pixels
height = 400;
[code].....
View 1 Replies
Jan 15, 2010
Finished with coin toss gameWhat done good, what wrong..? what need change? what method better?And now in this user can be winner just 50% ?Attached files.Also code here:
import fl.controls.RadioButtonGroup;
coinToss_btn.label="Coin Toss";
coinToss_btn.useHandCursor=true;
[code].....
View 3 Replies
Jan 9, 2012
i am trying to create a flash ticket machine where i want the user to simply insert coins into a box as a way of paying for a ticket.i have created two objects a "coin" movie clip and a "target" movie clip.what i want essentially do is, be able to drag the coin onto the target.Then for the system to determine whether it has been recognised by outputting a value in a dynamic text box(this i know how to do)Also i have given it a go and tried to drag the coin on top of the target but for some reason it keeps hiding beneath the target:[code]
View 3 Replies
Jan 30, 2011
I am creating a flash money game in which you have to drag coins onto an area to add upto a certain amount and then you click a button to see if you are correct.
I'm really confused on how to assign values to each coin, a value to the area you are dragging the coins onto and how to add these up when they enter the area. Then once the button is clicked for it to check that the value matches that of the value you are adding up the coins to.
View 1 Replies
Jul 5, 2011
I'm currently making a flash game and to insert sound. The sound effect has to play everytime the character touches the coin yet the coin still has to be able to unload. I never used sound before in flash.
View 1 Replies
Feb 9, 2010
I have a project I'm working on and I am really stumped on making a seemingly simple animation work.The animation is of a coin scratching off a layer to reveal the layer beneath. I have the coin animated, and the layers in place. I am wanting to know if there is a way to erase/delete every place the coin passes over the stage, revealing the layer beneath. I've seen animations where ActionScript is used to allow a user to control the coin/pointer and activate the "scratch-off" effect. However, I am trying to come up with a method that is not a user-initiated animation since I want the effect to repeat in several places in the timeline.For the life of me I cannot figure out how to make this work. I am a moderately skilled Flash user and an ActionScript novice.
View 1 Replies
Apr 11, 2011
I had to use a setter...how would I implement that into my code, On my external AS file for the coin I have the following:
package
{
import flash.display.MovieClip
import flash.events.*;[code]....
And in the main movie I made a dynamic text box gave it an instance name of "score" and in my action script I wrote:
score.text = String(coin.coinsCollected);
View 5 Replies
Apr 10, 2005
I have a simple money script [for my game] and I want to say, ok when I walk over a coin, I want it to add $5 to the total amount of money, but the problem is, is that my code doesn't work, in the frame actions I have:
Code:
money = 0;
and in the hitTest for the coin I have:
Code:
if (_root.dude.hitTest(_root.coin) {
_root.money +1
}
View 4 Replies
Apr 12, 2007
I`m trying to flip a square. The coin flip as works fine with round shapes, but with a square it just doesn`t do it.
View 4 Replies