Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    Flash








Adding Up An Interface


hi i am making a interface for a drinks vending machine. I want to be able to click on a button and the prices comes up at the bottom of the screen, but if i want to make another selection it will add that up to and the price at the bottom will become the total.

what actionscript should i use and can you please give me an example

thanks




Adobe > ActionScript 1 and 2
Posted on: 12/09/2008 04:38:14 PM


View Complete Forum Thread with Replies

Sponsored Links:

Adding MoveClip Programm Interface
Hello someone.

I faced this problem :

I've created MovieClip ( MC) and i got to write interface to change some of them properties. Let's say it's "_x".


For example - simple prototype , for Create() square:

--------------------------------------------------------
movieclip.prototype.Create (Name,depth,x,y,wdth,hght,Colr) {
this.createEmptyMovieClip(Name,depth);
with(this[Name]){
_x=x;_y=y;
lineStyle(1,Colr);
MoveTo(0,0);
LineTo(wdth,0);
LineTo(wdth,hght);
LineTo(0,hght);
LineTo(0,0);
}
--------------------------------------------------------

so after Create("MC01",.....) it will bring me Square shape to the stage .

I need some method .. called MoveToX(NewXCoor) , that will move it to NewXCoor , like that : MC01.MoveToX(200);

How do i arrange this thing ?


P.S. Where could i read about that ?

View Replies !    View Related
Adding Links To Buttons In This Interface
Someone sent me this neat .fla that has a nice menu setup.
Problem is, I'm not certain how to make each page a clickable link since they are repeated movieclips.

Is it possible to add links to the page icons?
Flash file attached

Thanks!!!

View Replies !    View Related
Closing Tabs And Moving Interface Interface
before i start HERE is the design i am working with,

What i want to do is when you click on a menu item i want to close the tabs that are allready open and move the interface across the screen to a different position and than open certain tabs (sections) at the new position.

What i want to know is is there a way of finding out which tabs are open and need to be closed and closing them and which are allready closed and bypassing them and than moving the interface to a different position.

If there is a way of doing this could anyone point me in the right direction of where to go to learn how?

I hope i am making some sense i am prettty new to flash and this is one of my first big adventures with flash.

any help would be greatly appreciated.

ancora

View Replies !    View Related
3D Interface
I have created a 3D interface similar to the one on egomedia.com (click on the 'our process' link). It works well except that I can't work out the code to make a panel at the front hide a panel at the back with only the proportion of the panel in contact with the other being hidden. i.e instead of the front panel hiding all of the back panel, it only hides the part of the panel that it is in front of.

Any help would be much appreciated.
Thanks,
Shaka (UK)

View Replies !    View Related
This Interface
so I just wrote a whole letter and since i forgot my subject, it wouldn't post, then when I hit back it is all gone.

by the way, how do I put faces in my post?

Ok here is my problem, I had a thread going a while ago but still can't figure this out.

http://board.flashkit.com/board/show...hreadid=180416

I want a box to pop out when I hit a button in the menu, then when another button is pressed I want that box to shrink or something, then the new one to open...
I DON'T want the old box to just disappear and the new box to just open up, think that looks cheesey,

Any help is greatly apprecated. I was hoping I could do this in actionscript with MC's and buttons but knowing as little as I do, I can't just figure it out.

Thanks!

View Replies !    View Related
What Is An Interface
Hey,
Im makin a site and it really sux!! My friend said he will make me an interface. What is it, what are their characteristics and what is in it????????

View Replies !    View Related
3d Interface
i have asked this question in the action script & 3d forum, and noone can help. so i come here, to my last hope. i am trying to make a 3d interface for our site, and i am unsure on how to code a lot of things. does anyone know or have any tutorials on this? i am using a program called plasma, making a flash rendering of it, and importing it into flash. thanx for your time
bfly03

View Replies !    View Related
Interface...
Hey does n e one know a great interface or intro movie that i can use for my web site? my web site iz http://www.seanw.cjb.net. I would really like to know cuz i want to put and interface on to my site. Instead of having it the way it is.

View Replies !    View Related
3d Interface
Hey guys.

I am planning a web project that I think would be best executed as a 3d interface. Here I go again, letting my ambition FAR outstrip my potential!

That aside however I am curious as to what you think would be the best software to use to create, manage and render complex 3-d environments/interfaces into an SWF format. Or maybe SWF is not the best way to go.

NOTE: What i have in mind would only be flat planes and line drawing, no shadows or tricky rendering. Although some atmospheric hazing of the line would be a plus for the sense of distance.

Thanks
NICK

View Replies !    View Related
Interface Help
I'm working on a website interface right now, but I'm having trouble with the buttons. Maybe you guys can help me out?

My flash movie is at: http://www.students.uiuc.edu/~akim1/menu.html

Anyhoo, if you move your mouse around, you can see 5 distinct clickable areas, all done through buttons. However, if you go to the bottom, where the text box is, and move the mouse around, you'll see all the labels go like crazy. I know this is because the text labels are part of the buttons for each area. Is there anyway I can have them display during the "Over" "Down" and "Hit" parts without having them turn into buttons?

Also, is there anyway I can add text effects under the button? Everytime I try adding a keyframe, it just bumps the Up, over, down and hit frames over. I just want to make a text effect during the OVER section.

Finally, anyone know anything about the media player? I tried making it a small player with specific dimensions, but my friends with windows media player don't see much. Is there a variable for the embed src tag that will only give me the pause/play button?

Thanks mucho in advance to anyone who can help me!

HomerAYK

View Replies !    View Related
Mac Os Interface...
im making a type of mac os interface, and there is windows, but i want to ask if its possible to make the window resizable? And does anyone know how to use z-sorting, so the the window comes to the top of all the other windows when it clicked?

View Replies !    View Related
Interface Help
I need help in building my navigation console.

I know how to make it look the way I want, that's not the issue. I need to know how to make it function correctly. I drew up the real generic sketch in 2 minutes of how I want it to work. A few things worth noting are.

the swf will be embedded in an html page with other little ambience animations and a jukebox

the menu button will be animated at all times and there will be sounds to all movements/actions

I'd like to hit the menu button and have pistons come out, and the menu fold into place like a motorized fan and then the button housing pop out of the end.

the buttons themselves I want to be click once and the two preview windows change (left being name/imagery right being text description) the button should stay until user clicks another or double clicks to open new window.

a minor question I have is about the background image before the menu is expanded and how to make that get covered up properly by the expanded interface?

thank you very much for taking the time to read this and help me out, sorry if it seems like too much. I just need a gameplan to make it function.

View Replies !    View Related
Interface
Hello:

I created an interface in photoshop and plan to use the same in flash. However, I am confused as to how to use the same in Flash as I am unable to import the same.

Any help will be appreciated.

Thanks
Akshtray

View Replies !    View Related
Ftp Interface
yo!
right, i have a small creative company and i want to make an area where i can upload work and then someone can download it. but i want this to be dynamic so i can just upload it and not have to worry about updating the page or anything. kinda like an FTP interface, where the page just shows what is in a certain folder in my webspace, and it shows the name of the file and then someone can download this file.
i know i can do this automatically by just going to the folder in a web browser but i wanted to design it in flash. also, i would like to have user names and passwords.

any ideas?

cheers!

View Replies !    View Related
Get MX Looking More Like 5 Interface
Hi
I am put off using MX as to me it's a very different layout to what I have been use to and having learnt everything I know in flash 5.
Is there some kind of majic button you can click to make it more similar to the 5 interface. Sorry for dumb question in advance..

View Replies !    View Related
Help With Interface
Hi and sorry about my english!

I'm triying to make an user interface i've seen a lot of times but now i can't locate it. it's something similar to a navigation tree but the items are centered in the display.

The concept is that you have a menu item, an sphere i.e., in the center of the page, and when you click it a number of items deploys from the first. They are joined by a elastic line and if you continue expanding the tree, the elements share dinamically the space.

Does anybody know where could i find a .fla or .swf similar to this?

Thank you in advance!

View Replies !    View Related
New Interface............HELP
Hey guys I am making a new interface for an updated flash site. I'm designing it in PhotoShop. Do I have to make it a 72 res. file, or can I go higher. Will this change the actual size of the interface itself? Is 72 ok..........I need some help. Thanks!

View Replies !    View Related
[F8] How To Get An Interface Like This
hi all,

I have always liked how the "Today on IGN" flash interface with the thumbnails at the bottom, looked.
You can see it here:
http://ps3.ign.com/

Is there any available file or tutorial out there I can use to get something similar to this?

Thanks again everyone.

View Replies !    View Related
Interface Between Two Swf's
I would like to interface between two swf's on two different pages.

I have a gallery swf in a gallery html page. I also have another page that has a small swf that displays a few selected pics. When I click on a selected pic I would like to switch to the gallery page and pass a variable to the gallery swf. Does that make sense?

A nudge in the right direction would be very helpful.
Here are the two pages that I am working with. www.automotivefacilities.com/new and www.automotivefacilities.com/new/gallery

Thanks

Ohh I am working in CS3

View Replies !    View Related
[CS3] Help With Web Interface
I've dabbled with Flash for many years, but have never had a chance to really sit down and learn it, so please excuse the n00b question (at least I'm in the right forum!).

I'm designing a web interface, and have a cool design in the middle of the page. I want to be able to click a button, and then have it spawn a small rectangle from behind the design (in the background essentially), then have the rectangle slide down to the bottom of the page, and then enlarge to fill most of the screen and have it on top of that design that it was behind earlier. Then I want to be able to close that window with an X in the upper left-hand corner. What I want to achieve is actually similar to what is on the Macbook Air Features page when you click on one of the images opposite "Thin is in the design", but have it animated, as described above.

I've been able to make that rectangle slide down and enlarge, but it's on its own separate layer and just plays like a movie... I don't know how to make it dormant, and then spawn once you click that button. Any help would be greatly appreciated!

View Replies !    View Related
How Did They Do This Interface?
http://www.care.org/features/flash/e...7flashpres.asp

View Replies !    View Related
[CS3] Interface
hello,
how can i make this interface in flash.....

http://www.melissakaseman.com/home.html

thanks,
derek

View Replies !    View Related
Need Of Interface..
HI,
What i know is Interface contains method declarations..., and we redefine the methods when we implement the interface..and interface is to support mutiple inheritance..

but my doubt is inheritance is to reuse the code .. and when we implement iheritance we just redefine the methods then istead of using interface we can simply declare and define inside the class itself??


how it means multiple inheritance..since we dont..reuse the code..

View Replies !    View Related
PDF Interface
Hello!

I'm interested if there is any library or component which implements pdf interface.
I mean, for example get a page, or a string of external pdf-file with actionscript.

Or am I just dreaming?

View Replies !    View Related
DVD Interface? Is It Possible?
Has anybody ever used Flash to build a DVD interface? You know - for jumping to different chapters, bonus material, etc?

It would seem like the perfect app for it, but what do I know.

View Replies !    View Related
Map Interface
I've created a world map with clickable countries and two buttons for zooming in and out. The clip is also draggable when clicked but there are a few aspects I want that I have no idea how to start...

First of all, when the "zoom in" button is clicked, the movie clip simply increases in size (dont know of another way to do it), but always zooms in towards the center of the map. So, you always have to keep dragging around to get back to where you were looking. I dont want a feature that zooms wherever you click though. Simply, I need a way for the current position to be kept when zoom in/zoom out is clicked.

Next is about the dragging... If you drag the map far enough, everything looks rather blank and you might not even be able to drag it back and have to end up refreshing the page. I'm trying to make a feature that loops the map horizontally, so one could drag endlessly...but at the same time there must be a barrier vertically. The barrier needs to work in a way that it still allows zooming in, but remains at the top and bottom when you try to drag the map up/down.

For me, both of these ideas are difficult enough, but they also have to work in harmony with each other. I hope someone can understand how I've laid this out...

Any script ideas would be greatly appreciated. I'm using Flash 8.

Heres my zoom script:

zoomin.onRelease = function():Void{
with (world){
_xscale += 25;
_yscale += 25;
}
};

zoomout.onRelease = function():Void{
with (world){
_xscale -= 25;
_yscale -= 25;
}
};

And my dragging script (basic startdrag took away button functionality for some reason):

onClipEvent (load) {
dragging = false;
}

onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
dragging = true;

xOffset = this._x - _root._xmouse;
yOffset = this._y - _root._ymouse;
}
}

onClipEvent (enterFrame) {
if (dragging) {
this._x = _root._xmouse + xOffset;
this._y = _root._ymouse + yOffset;
}
}

onClipEvent (mouseUp) {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
dragging = false;
}
}





























Edited: 12/20/2006 at 02:17:31 AM by batmanbury

View Replies !    View Related
Help With Interface
i just finished 2 days of flash training, and am getting a hang of actionsript - no problems there. where problems come in though is the interface - i've been a graphic designer for more than 8 years, and know my way around just about any piece of software related to this field - i even teach photoshop-classes myself. i'm having a REALLY hard time to find my way around flash though, and find the 'help'-files utterly useless (they repeatedly tell me 'you can do this here' and 'you can also do it here', but do NOT tell me HOW to do it).

anyways, i'm really annoyed now, and need your guys help - if i have a panel-group, its 'titlebar' is either on top or to the left - how do i change that? i couldn't find any preferences or settings, no contextual menus or similar to do that. may not sound like much, but is important as it has influence on into which directions that panel folds out to (up or down). and for some strange reason it changes from everytime i start flash, even tough i saved my workspace.

pleeease help!

ps: it's flash 8 i'm using right now. already ordered CS3 but haven't received it yet... i hear the interface changed? i sure hope so... ;-)

View Replies !    View Related
Interface For XML And TXT
Hi,

now that i have built my first site using external XML and TXT files with which the client can update his site, I am really eager to learn how to build an interface, so the client doesn't have to open the XML and TXT files anymore and upload them, but just can open an interface, preferably online) with a password). But I don't know where to start.

Are there any tutorials on this?

Thank you,

Jerryj.

View Replies !    View Related
Interface Look....help Please?
Hi Peeps quick question......

I came across this site and I love the look and feel to it http://www.fantasy-interactive.com. Now the gradients, icons, the menu interface, is this all created in photoshop or is this flash or both??

if photoshop is the icons saved out as jpgs or gif?

Cheers!!

View Replies !    View Related
Interface TO SWF
We are trying to build an interface that will submit data from our ASP-SQL Server based application to a web-based form that is contained in a SWF file on a remote system. We do not have access to the source of the SWF (and do not want to use decompilers) but need the ability to submit data directly to the form fields via the front-end (in Internet Explorer). Essentially, we need to be able to automatically navigate through the Flash-based form somewhat like a virtual user. I was wondering if folks here were aware of any utility built by Macromedia or any other vendor which would let us do this.

FYI, we have built similar interfaces to ASP-based and mainframe-based remote systems using tools made by Jacada, but cannot find any similar tools to submit to Flash.

Thanks for your help,
ghat

View Replies !    View Related
Regarding Interface
hi

i went thru the xml photo gallery and the php mailer it is gr8
i would like to make an interface for it,
if im doing it for my site
how can i make a admin login and edit page
without actually having to edit the xml and load over and over again
if i have an interface where i just have to load the picture and like clik the upload button which will upload the photos and edit/update the xml file automatically or edit a particular page which has dynamic content

cud the members pls help me with this
cheerios

View Replies !    View Related
What I An Interface?
Hey ppl,

Have been trying to find information on Interfaces, the as3 lang ref assumes you already know what they are and I cant really get my head around posts on other forums. Does an Interface allow you to call functions in one class that reside in another?

View Replies !    View Related
C++ / AS3 Interface
Hi everyone!

I have a C++ application that runs a SWF.
I used to pass parameters to the AS2-SWF with raw_setVariable in the application, and then access the value from the SWF like "_root.myVariable".

Now, it doesn't work in AS3. I tried to use the root.loaderinfo.parameters property but it seems to contain only the init-parameters, such as flashVars.

What can be done about that?

TNX

View Replies !    View Related
I Am Adding A Child To The Stage, Adding An Event Listener To The Child. I Then Want
I'm trying to do something that seems like it should be really simple to do.

I am adding a child to the stage, adding an event listener to the child. I then want to remove the child from within the event listener.


ActionScript Code:
var newClip:NewClip = new NewClip();

addChild(newClip);

newClip.addEventListener(Event.ENTER_FRAME, newClipListener);

public function newClipListener(event:Event) {
    trace("test");
}


I've tried quite a few things and nothing seems to work. The only method I know that works looks like this, but it's stupid and cumbersome and i'm sure there is a better way


ActionScript Code:
var newClip:NewClip = new NewClip();

addChild(newClip);

newClipArray.push(newClip);

newClip.myID = newClipArray.length-1;


newClip.addEventListener(Event.ENTER_FRAME, newClipListener);


public function newClipListener(event:Event) {

    removeChild(newClipArray[event.target.myID]);
   
}

View Replies !    View Related
Adding Links On "Adding Thumbnails" Tutorial
I've stumbled across a very interesting tutorial, which helped me a lot.
http://www.kirupa.com/developer/mx2004/thumbnails.htm
But, I've noticed a little detail. When you click on the big image of the finished example on the first page of tutorial, it acts like a link. When I have downloaded finished .fla source, links are nicely written in the images.xml file, but the links in the .fla file don't work.
Please, tell me which AS code I have to add to my .fla file in order to activate links (and make them work properly).
Thanks.

View Replies !    View Related
Touchscreen Interface
Does anyone know actionscripting for touchscreens to create
a flash interactive interafce without a keyboard and mouse?
( Like KIOSK or ATM interactive interface functionality on touchscreens )

Thanks!

View Replies !    View Related
3D Rotating Interface
I have designed a 3D rotating interface that moves according to the mouse position - similar to the one used on http://www.egomedia.com in the 'process' section. I have 8 panels, and am using the swapDepths action to make it so that when one panel is infront of another it's level is greater and therefore the proportion of the back panel covered is hidden. However, I want the part of the back panel covered by the front panel to have a reduced alpha rather than be completely hidden. How do I do this? I can't work out how to do it by changing the levels using swapDepths - is there another method?

Thanks for your time,
Shaka

View Replies !    View Related
Interface Problems
I have a problem with an interface I am creating. I need the interface to open both .pps files and flash movies. I cannot fiqure out how to make the interface point to the .pps files (the flash movies are easy). I am new to action scripting, and don't even know which one to try.

any suggestions?

View Replies !    View Related
Interface Navigation
I am trying to create an interface for a website.

The interface consists of two side pieces which hold a virtual screen, inset into the side pieces are buttons relating to the individual pages of the website.

The interface begins life with the two side pieces closed together in the centre of the screen, when the page opens the side pieces retract to the edge of the screen and the virtual screen appears. The user then presses one of the buttons to take them to another page, at this the interface closes in the reverse of the opening sequence.

The problem I am having is, when the user presses the button of a previous page to the one displayed, how can I make the movie play the closing sequence of the interface before jumping back to the relevent frame.

View Replies !    View Related
CD Interface Dimensions
I want to create a cd interface who will run in fullscreen (FScommand) but dont know what dimensions to do it if i want to give the cd to peoples with many different configs..

any suggestions ?.. 800x600, 1024x768, 1280x.... ?

Thanks for ur time..

View Replies !    View Related
Uh.....windows Interface?
Hey. I am planning on making a fullscreen windows interface type of site. I haveone problem though. How do I get "active" windows (or mc's), to be on top of the inactive ones!!???


Thanks.

View Replies !    View Related
Scroll Interface
I am looking to create a site for our church. And would like to have a scroll interface like the one I saw at Ohio site http://www.ohiotourism.com/default_f.asp

Does anyone know how they did it?

View Replies !    View Related
Pixilated Interface
Hi, does any one know where I can get a 3D pixilated city, animated pixilated people, trucks and etc for a flash interface.
Thanks

View Replies !    View Related
How Do I Make An Interface?
Hi
I have a website on Moonfruit, and I was wondering if anyone knew how to make an interface for it. For those who don't know, Moonfruit is all based on flash. I have little knowledge of flash, and I have flash mx. Please help me.

View Replies !    View Related
DVD Interface Tutorials Help?
Hello again

Summer time and time to get into new fields, anyone got some tutorial or test fla whick show how to make DVD interfaces.
Would be great if someone could help me out.

Thanks a bunch

/M

View Replies !    View Related
Interface Check-----> -----> ----->
hello.

i'm working on a Flash MX interface design to replace their current website for the company i work for. currently it's about 75% complete, with most of the additions dealing simply with new photos and copy.

check it out and let me know:

http://www.mattwadedesigns.com/info


thanks.

also, you can check out my site http://www.mattwadedesigns.com/flash

View Replies !    View Related
Interface Actionscripts
ok on an interface, whats the script so when the mouse clicks, it changes scene?
and whats the script for mouse overs?

View Replies !    View Related
Scrolling Interface
Hi,

I really like the way this scrolling interface works...

http://www.flashkit.com/movies/Inter...6176/index.php

But I want to make my own from scratch. Does anybody know how to make it or where I can find a tutorial on how to make something similar? Thank you very much if you can help.

View Replies !    View Related
Interface Windows
How can I make it, so that when I click a button on my flash website, I can have two windows that can be dragged on mouse down. Because I tried this and only one of them was draggable.

View Replies !    View Related
New Interface Question
Hi everybody, first time to this forum and I have a pretty

cool question, or at least I hope so.

Here's the situation:

I'm developing this site that operates out of one window,
like most flash sites. It has six section and six navbar

buttons to navigate through the sections.

There are six graphics of buildings windows underneath the

navbar that animate into windows for the content to load in.

The way I saw it working is that you click and the correct

building slides to the left and expand. .

If you were to click again on the same button, it closes and

goes back to its original position. If you were to click on

one button while another is open, section 1 (the open

section) animates to the closed position and the new one

opens up.

If you have clicked on one button and then click again to

close that section, it immediately switches direction and

closes up.

I have each building/window as it's own movie clip and a

function in the root that determines if a window is open and

how to behave. To close a window there is a controller

movie clip that closes it.

Here's the file so you can take a look at it and see what

you think. The .fla was gigantic, so I can't load that

here:
http://www12.brinkster.com/artificer...l_test_VI.html

Here's the problem I've been having:
A) I want to have a window wait until the previously open

one is closed before it opens the new one. I also can't get

it to wait for all the other buildings shrink down to get

out of the way before it opens the new one. I can't figure

out how to get Flash to "wait."

B)If one accidently double clicks on the button, the flash

it seems to screw up the sequence and the window opens in

the building's original position, not at the left where it

should. View file to understand.

Does anyone have any insight into this problem?

Thanks a lot,
Kevin
Artificer Design
kevin@footas.com

View Replies !    View Related
Windows Interface
hi,

I want to make a window with interface,like that of classic

Windows...Someone can help me????

Ricky.

View Replies !    View Related
Copyright © 2005-08 www.BigResource.com, All rights reserved