ActionScript 2.0 :: Making An Emulation Of A Cash Register From Work

Jan 3, 2007

im just starting to pick flash up again and am working on making an emulation of a cash register from work so that new staff can take it home and learn where all the drinks are etc.. However i am having great difficultly getting back into the swing. The main thing i cant get my head around is i plan to have a variable text box which keeps the orders (already pressed buttons) then totals them up.

View 6 Replies


Similar Posts:


Flex :: Air - VT500 Terminal Emulation Flex Component?

Aug 1, 2011

Does anybody know of an existing Flex component that does VT500 terminal emulation? We are gradually replacing terminal-based user interfaces with an AIR-based GUI.We would like to have a terminal emulator embedded in that new AIR GUI, in order to give our users an integrated user experience when navigating between our old and new software.Emulation of other VT-series terminals than the VT500 could also be usefull.Btw, I'm not interested in writing it myself (nor having it written for me) because it would only be a nice-to-have in our software architecture.

View 1 Replies

ActionScript 3.0 :: Making Two MCs Work At Once

May 4, 2009

In Actionscript 3.0 I want to make two timeline animation happen at the same time. I can't seem to get it to work.

Do I need another eventlisetner and function to perform this extra animation or can i nest it in the function that is already there?

Here is my code:

Quote:

stop();
close_btn.addEventListener(MouseEvent.MOUSE_DOWN, closehandler);
function closehandler(evt:MouseEvent):void {
gotoAndPlay("closeHere");

[Code]....

View 15 Replies

Actionscript 2.0 :: Making Function Work?

Mar 16, 2010

The Function is:
Code: Select allfunction Click_Die () {
this.gotoAndStop(die111+die11+die113);

[code].....

View 3 Replies

ActionScript 2.0 :: Making Actions Work Inside Of A MC?

Mar 24, 2009

how I can make a certain code that works on the time line, work when placed inside of a MC? I know my question is too vague but my code is huge and if I post it it's going to be more difficult than if I can just get the logic and change the code my self.

View 12 Replies

ActionScript 3.0 :: Can't Get My Roots To Work On Game I Am Making

Oct 23, 2009

I heard that the .roots don't work anymore on AS3.

I am following this old tutorial, and cant get the scoring to work.[url]...

View 5 Replies

ActionScript 3.0 :: Making Bitmap From Video Does Not Work Right

Aug 4, 2010

In my current project I need to create a bitmap from the last frame of a video. For this I use:
Code:
var _vidBitmapData = new BitmapData(video.width, video.height, false, 0x0000ff);
_vidBitmapData.draw(video);
var bmp:Bitmap=new Bitmap(_vidBitmapData)

This works like a fairy in wonderland if I create the video with dimensions matching the stream:
Like
Code:
video =new Video(1280,800)

However, when I change the Video's size on receiving the onMetaData Event according to the actual streams width and height properties, the capture i get from _vidBitmapData.draw is still in the dimensions of how I created the Video. So if I do
Code:
video =new Video(10,10)
and then
private function onMetaData(metadata:Object):void {
video.width=metadata.width;
video.height=metadata.height;
}
I get a nice display of the video.

However when doing the
Code:
var _vidBitmapData = new BitmapData(video.width, video.height, false, 0x0000ff);
_vidBitmapData.draw(video);
var bmp:Bitmap=new Bitmap(_vidBitmapData)
I get a 10 x10 px image....

View 4 Replies

Professional :: Making A Back Button Work?

May 18, 2011

Flash CS5 on Windows 7 I have a problem with a project I am creating. I have created 3 buttons which when clicked open other movieclips for each button. On each of the movieclips that the buttons send them to, all have a back button to return them back to the original view.
 
This back button works fine apart from once they are back at the original view, the 3 buttons stop working.

View 4 Replies

Flash :: Making A Specific Package Work?

Jun 13, 2011

I'd really like to use this package in Flash as3:[URL]... I've copied the source and saved it as a file called MP3Loop.as. In the same folder I have a .fla with some code in it like this:

var looper:MP3Loop = new MP3Loop(); So far as I can see this should be all I need to have a play with the package, but it doesn't seem to work. Instead I get this error:

TypeError: Error #1009: Cannot access a property or method of a null object reference. at MP3Loop/initUI() at MP3Loop() at loop_test_fla::MainTimeline/frame1()

[Code]...

View 1 Replies

ActionScript 3.0 :: Making An Imported CustomClass Work?

Feb 4, 2012

There are enough examples on the internet to learn how to make your own Class, here's an example of what I did, it is saved as a seperate *.as-File:[code]The Idea is that I can add a bunch of descriptions (for multiple persons) to an holder array, which allows me to do more with them.Actionscript has no idea what this "Character" is. Instead I'm getting the Errorcodes

-1046 (Type was not found or was not a compile-time constant: Character)

-1180 (Call to a possibly undefined method Character)

View 9 Replies

ActionScript 3 :: Making Multiple Scripts Work Together?

Mar 27, 2009

I am creating a Flash header for class and two things need to happen - One, it needs a stop and start button, and 2 it has to be clickable.I have the code for each one and they do work separately, but when I try to apply both, only one will work. Here are the codes that I am using:For Stop and Start

Actionscript Code:

Original
- Actionscript Code
start_btn.addEventListener(MouseEvent.CLICK, startMove);

[code]....

I have tried reversing them in the actions panel but to no avail.

View 1 Replies

ActionScript 2.0 :: Making A Swf Only Work If On Specific Domain?

Nov 24, 2005

I've made a game for viceland, and as always when you make a good game, lousy free-game-portals plain steals it and puts it on their site.So now i'm trying to take a few actions to prevent this from happening. One thing is that i'd like the swf to check which domain it's being viewed on. I thought you could check which domain the html/php is on somewhere using SYSTEM.SECURITY or something. But i don't find any.

View 2 Replies

ActionScript 3.0 :: Preloader Making Functions Not To Work

Sep 4, 2009

When I test the site with the preloader.swf file I made for it, it loads, but then some of my button functions do not work in the site. When I test the site fla file everything works fine. I have been trying things out with the preloader code, but not sure what would cause this.

This is my preloader code:
var l:Loader = new Loader();
l.contentLoaderInfo.addEventListener(ProgressEvent .PROGRESS, loop);
l.contentLoaderInfo.addEventListener(Event.COMPLET E, done);
l.load(new URLRequest("sample.swf"));
prog_mc.stop();
function loop(eventrogressEvent):void {
[Code] .....

View 8 Replies

ActionScript 3.0 :: Making Executable Flash Only Work On CD ROM?

Oct 26, 2010

i have some question here.. Umm i want to put all of my swf and exe files into CD ROM, but i have ever seen that exe flash files can be able run on CD ROM, if i copied that files into my harddisk, that appear alert that "Please use the CD ROM to run this application".. Do you know how to do this?? is there are some script that detect if CDROM then or whatever?..

View 3 Replies

ActionScript 3.0 :: Making Script Work When The MC Is Inside A Scrollpane

Jan 30, 2010

Im using the following script in the main timeline frame and I've got many buttons inside the buttons_mc.How do I change this script to make a button which is inside the buttons_mc work with a scrollpane.

[Code]...

View 3 Replies

ActionScript 3.0 :: Making Tabs Work After Dragging And Dropping Something?

Nov 5, 2010

so I'm making this tabbed interface, but somehow for my third tab, after i drag and drop stuff that are in it, I can't click on previous tabs (as in they don't do anything anymore). Here's the following code for my third tab:

<code>
words.addEventListener(MouseEvent.MOUSE_DOWN, doPress);
words.addEventListener(MouseEvent.MOUSE_UP, doRelease);

[code].....

View 5 Replies

ActionScript 3.0 :: SwfPanels And JSFL Files - Making Them Work?

Jan 17, 2011

I'm struggling with getting swfPanels and JSFL files to work. I've tried to get the example on here to work but am having no luck. When it asks to save, I am unable to save the files in the place where it asks to do so, but am putting them in the configuration folder in the Adobe Flash CS5 folder.What do I need to do to make swfPanels and JSFL files to work?

View 2 Replies

ActionScript 3.0 :: Making Actions Inside A Movieclip Work?

May 25, 2010

How do I make the actions contained in a movieclip work on the main timeline? For example. In the movieclip, I have some buttons and I have an "Actions" layer there which contains all the functions of the buttons, listeners and such.

I placed this movieclip on Frame 1 of the main timeline.

When I run the program, I'm able to hover my mouse over the buttons and it changes to a "finger" cursor as if they can be clicked on, however, when I click the buttons, nothing happens. It's as if it's not recognizing the Mouse Click event listeners I put on the buttons in the "Actions" layer of the movieclip.

View 1 Replies

ActionScript 3.0 :: Making A Javascript Function Work Through Flash?

Dec 10, 2010

i want when press a button on that flash header the test.php is redirect to another php page without the flash header be reloaded , and i actually made it but with form buttons and ajax ofcourse , so all i need is when the flash button is clicked a javascript function in the test.php work ?? --> here is my try : i passed a url variable from flash to the same page to say which button is pressed through this code

ActionScript Code:
var vars:URLVariables=new URLVariables();
var url:URLRequest=new URLRequest("test.php");

[code]......

View 5 Replies

ActionScript 3.0 :: Making Button To Work Inside MovieClip

Jan 15, 2010

I'm pretty much a beginner at creating websites in flash. I've used flash to animate before but that's not really worling in this case. Basically, I'm just trying to make a button that's inside a movieclip go to a specific frame within the movieclip it's in. This is the error message I keep getting:

TypeError: Error #1009: Cannot access a property or method of a null object reference.
at FinalKai_fla::MainTimeline/makebtn()
at FinalKai_fla::MainTimeline/frame1()

View 1 Replies

ActionScript 3.0 :: Making A Slideshow - Doesn't Work If I Test It In A Browser

Aug 2, 2009

I'm working on a slideshow using a class that I wrote that builds the slideshow and an XML file that points to the images. I plan on improving it later but for now I just want it to cycle through a set of images, resize them if they're too big or small, and show a loading bar while the image is loading. It works fine if I test it in the Flash IDE or standalone Flash Player, but if I drag the SWF into Firefox or Safari, the loading bar refuses to show up. I also tried publishing to an HTML file and that didn't work either. I figured there could only be two different reasons why it wasn't showing up - either it wasn't being added to the stage, it wasn't being made visible after it's initially set to invisible. I decided to comment out the part of the code that make it invisible to begin with the loading bar showed up, but it wasn't showing how much of the image had been loaded when it changed to a new picture. Here's my code:

[Code]...

For some reason the pictureLoading function isn't being called when I test it in any browser. I've seen the loading bar randomly pop up a few in times in Safari 4 but then I try closing the window and testing it again and I get nothing. Can anyone help me figure this out? About:plugins in Firefox says I have Flash Player 10.0.22 installed, and I'm using Flash CS3 in OS X.

View 3 Replies

ActionScript 2.0 :: Making Monitor Ratio Work With Fullscreen Mode?

Mar 12, 2007

I'm creating a presentation in Flash that will be projected onto a large screen. I'm using fscommand("fullscreen", true) to make it fullscreen. Since I don't know in advance what type of playback monitor will be used, apparently there may be some issue with the monitor ratio not being 4:3 which would make it widescreen. I was told to make sure the animation etc extends beyond the Stage frame so that it accommodates widescreen but I'm not sure how to do this - I mean how do you know how far beyond the stage to extend things? Since I don't have access to the playback monitor I can't test on it and the presentation will eventually be put onto a CD ROM where viewers may have all types of monitors.

View 1 Replies

ActionScript 3.0 :: Making Hit Tests Work With Multiple Instances Of A Movieclip?

May 18, 2011

I seem to have a bit of a problem with getting the collision detection working in harmony with the rest of my code. Basically i have an array that creates multiple instances of a movieclip named mcPlatformStandard with the following piece of code...

Code:
//this variable holds all of the platforms
var platformHolder:MovieClip = new MovieClip();
//adds the platform to stage

[Code]....

View 1 Replies

Flash - Making Starling FrameWork To Work With Classes That Uses Native DisplayObject?

Dec 6, 2011

I'm trying to use Greensock LoaderMax on a Starling Framework project, but since Starling have a lots of its own class, how I can make it work with other classes that is using the native class?

Exp:

package
{
import flash.display.Sprite;
import flash.events.Event;

[code]....

will return the error:

Error: Implicit coercion of a value of type com.greensock.loading.display:ContentDisplay to an unrelated type starling.display:DisplayObject.

View 2 Replies

ActionScript 2.0 :: "select Cash From Usergame Where User_name = '$HTTP_SESSION_VARS[user_name]'"?

Jul 11, 2004

$asdf = "select cash from usergame where user_name = '$HTTP_SESSION_VARS[user_name]'" or die(mysql_error());
$asdf_res = mysql_query($asdf) or die(mysql_error());
srand ((float) microtime() * 10000000);[code]...

When i try and select cash ... cash =0 when it should = something else,I know it finds the row because i put print $cash in that while statement and it prints as 0

Resource id #2

why i think thats whats causing cash to not = what it should...

View 4 Replies

Way To Register Keypress

Apr 4, 2012

I've made a popup div that shows a video if you press a button. If you press Esc, the div is hidden again and the video is removed. (Using JWPlayer in Flash.)

If you click on the JWPlayer video, Flash gets the focus and JavaScript can't listen for keypresses on the document anymore. Is it possible to make JavaScript get the focus after you've interacted with the JWPlayer video player, so that you can still press the Esc button after for example pausing the video?

View 1 Replies

ActionScript 3.0 :: Key Down Doesn't Register?

Aug 11, 2010

I press the key down but it doesn't do anything.

ActionScript Code:
stop();
stage.addEventListener(KeyboardEvent.KEY_DOWN, moveLauren);

[Code].....

View 2 Replies

ActionScript 3.0 :: Register Javascript Functions With IE?

Mar 16, 2010

I am trying to register a javascript-function from Flash, using the navigateToURL function like this:

navigateToURL(new URLRequest('javascript:function init(){ ...doSomething()... }', '_self' ));

to have the function init() available via ExternalInterface --> ExternalInterface.call("init", This works fine in Firefox, but Internet Explorer fails to register the function.

View 5 Replies

ActionScript 3.0 :: Register Root As Environment

Sep 14, 2010

I'm trying to update the famous Floating text in space from levitated.net (URL...)The script was originally AS1, & I'm updating it to AS3.

View 1 Replies

Actionscript :: Where To Register Mediator In Puremvc

Mar 17, 2010

Currently I am working on flex using puremvc framework. Actually my question is related to where to register mediator in puremvc framework. One of my colleague is registering mediator in views(components) creationComplete method only (inside view). While my preference is send some notification from creationComplete method which could be handle by some command and command will register mediator. So which one is better approach in terms of best practice ?

View 3 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved