ActionScript 2.0 :: Calculating The Future Cost?
Sep 7, 2010
I want to create one calculator which will calculate the future cost of education after certain years like 10 or 15 yr. If i take the inflation rate as 10%. How to calculate the future cost.I don't have any idea about it. I want to know the formula to get the output.
View 3 Replies
Similar Posts:
Dec 27, 2011
I am developing a game for mobile in AIR (as3). I have created some bots for this game that initially just wander around. But when a bonus enters the stage, they have to move to the bonus.The detection of a new bonus and moving of the bots works fine, but there is something wrong with the manipulation when a new bonus enters the stage.Basically, this is how it works (or I try to make it work):My bot moves along with his rotation as a parameter. (works fine)
private function moveToNextLocation():void
{
var angle:Number = _rotation * 0.0174532925; // 1 degree = 0.0174532925 radians
var speedX:Number = Math.sin(angle) * _speed;
[code]....
View 1 Replies
Oct 12, 2009
I am a web designer and have a client who is interested in having a game application created similar to farmville or mafiawars on facebook. This is outside of my realm of Flash for sure and would have to be handled by someone else.I realize there are many factors that affect this question but could anyone give me a ballpark cost of creating an application like that? My client is just curious as to the realistic possibility cost wise?
View 1 Replies
Aug 27, 2009
If we made a game in flash that has online, would it cost money to have the online server or something?
View 3 Replies
Nov 5, 2010
How much does a reference/pointer to an object cost in terms of memory and performance in Actionscript 3? Are weak references( using Dictionary object) less, the same or more overhead?
View 1 Replies
Apr 5, 2011
Has anyone tried using flash media server 4 on Amazon web service? I was wondering what your experience was and the costs of running it?
View 1 Replies
Sep 1, 2011
I'd just like to know whether I'm wasting my time bothering to contact some annoying sales people, if it is out of our price range. This is most likely for deployment of a Flex/Java app in a clustered environment. Community edition is not going to work here.
View 2 Replies
Apr 15, 2007
I build signs for a living and I want to create an form that will calculate the cost of materials based on an initial size of the sign. I am at step one with the scripting after having laid out some input text fields for width, height, and area. The catch is this. I need the area text field (named A_txt) to calculate the width input text field (named W_txt) and height input text field (H_txt) and auto update A_txt as the numbers are inputed on the user side. The area text field will be the initial number for other calculations later in the form for determining the price of the customers sign.
View 5 Replies
Feb 2, 2011
I've been developing Flash stuffs for almost a decade, i consider myself advanced in AS2 .. i am also very advanced in PHP..Throughout all my projects I've always used Flash, AS2, mySQL and PHP, and have made tons of applications , some mission critical, w/ that combo..
[Code]...
View 7 Replies
Apr 5, 2011
The code runs fine, but the problem I'm having is that the text box that is suppose to go onto of my answer buttons is behind the button itself... however, if I change two lines of code around, the answer validation code doesn't pick up the which answer was clicked (it returns undefined). This is infuriating!Look for the line "//INSERT HERE." If I take the line, "var answerField:TextField = createText(answer,answerFormat,answerSprite,0,0,450);" and put it there instead, it returns the right answers (doesn't return undefined), but I can no longer see the text. I've included the createText function as well.
private function askQuestion()
{
trace("asking question...");
[code]......
View 2 Replies
Feb 15, 2012
I am a Flex developer. I think Flash builder is a great development environment for developing rich internet applications , 3D games, etc.
Now I am worried about the latest news related to Flex. Some blogs and news wrote flex is going to die. Another one wrote flex has not died.
How can I know latest updates about Flex in Apache. I am visiting Apache incubator site about Flex daily
[Code]...
View 1 Replies
Aug 23, 2005
I was wondering if anybody could help me or knows where I can find help with the AS for Bert on Desktops of the Future.
View 4 Replies
Nov 20, 2009
I am using Flash 8 and would like to create an animation for my future website.What I would like to do is the following:
I want to create an animated menu looking similar to the attached flash animation. The menu buttons will be a variety of 11 images arranged in an oval circle with the website logo located in the center of this oval circle. The mentioned oval circle should spin either left or right depending on which side of the animation the mouse pointer is located and stop if the mouse pointer is in the center/middle of the animation.
As the images move to the front (during the circular but slightly tilted motion) they should have a similar zoom in effect like the one in the attached animation and zoom out again when moving back into the background.
I am sure that this kind of animation is very simple when using Action Script but I am not such an advanced user to know what code I would need to write.
View 2 Replies
Aug 16, 2009
As an experienced programmer in various environments (Linux,server side web development,etc), I was recently approached with an offer to do some Actionscript development.Somehow, it seems to me that unless one is artistically or visually creative or at least has some visual talent, one's Actionscript programming skills alone will not get you very far in flash development.Can one be a superb flash developer without having to make any artistic decisions, relying on graphic artists to tell you what to do? Or, should I stick to server side coding where I know I can add real value, even excel.
View 1 Replies
Apr 4, 2011
My wish for future versions of Flash is that it should have this option to print entered ActionScript code in the colors. The purpose it that if I would like to analyse the code e.g. on a plane, anyway away from my pc, then I would have it pretty colored on paper, unlike if I would print it black/white via copy/paste into some text editor in order to print.
View 1 Replies
Dec 18, 2009
I'm doing some research for a Maps project I'll be starting soon, and I'm trying to evaluate which of the Map APIs will be best-suited to this project. I've worked pretty extensively with the Google Maps Javascript API, but no others. My basic requirements are, in no particular order[code]...
Flexible: the Google Maps JS API is a good example of this. Basically this leads to lots of good things like numerous third-party plugins/extensions, and puts a lot of power in the devs' hands.
Well-documented and supported: again, the GMap JS API is a good example. If I'm going to start working with a new, rich API, I'm going to need to be able to find answers.
As of now, I'm inclined to use the Google Map Javascript API since I am familiar with it. However, the question of whether or not the Flash API might be able to handle many points more efficiently and gracefully prompted this SO question.
View 5 Replies
May 9, 2009
Just a general question about trace statements. As I'm building a project I put a lot of them in there so I can see where I'm at if (more accurately: when) something goes amiss. The questions is... when I finally consider the program done should I leave them in there for possible future bug tracking or wipe them out of of the finished product?
View 2 Replies
Nov 17, 2011
is flash going to be abandon? do we need to swap for html5 and jquery? where are the usages of flash now and in the web future?
View 3 Replies
Aug 26, 2009
If I recall correctly you needed a server-side language to do that job...but will it be possible in the future for flash to open and write stuff into a notepad or something?
View 5 Replies
Mar 24, 2010
I am using swfupload to upload files on a website, the problem that every time the user open the page which contains the upload button, the page loads completely then the flash file start loading from scratch every time the user visit the page with no cache. Is there a way to preload and cache .swf files in my asp.net page?
View 2 Replies
Jul 13, 2010
How do you display data on a LineChart that cuts off where there is no more data? For example, if I am showing a chart of company revenue for 2010, the chart should only show up to July now (with August and forward on showing no data). This would make the line in the line chart break and dissappear off at about midway through the year.
View 1 Replies
Apr 24, 2006
I am trying to write a function that I can pass a date to that will return the value of 5 working days in the future for a delivery. I am going about this by creating a bunch of arrays like this
[Code]....
I was wondering if I am going about this the right way or if there is a much simpler way of doing it. I'm not asking anyone to write the code for me (though feel free ) I'm just after a bit of direction as to how a more experienced Actionscripter would set about this. BTW- I am getting the intial date from a PHP file on my server through LoadVars() and I have written the code above on a text editor without Flash so there may be some punctuation errors.
View 2 Replies
Aug 13, 2009
I'm using Flex3 building my AS3 projects for some 3D effects. I am going to create 1000 polygons(or rectangles) on the scene, without texture mapping. It seems the native 3D api of AS3 needs quite a lot memory:
[Code]....
here i created 1000 sp on the scene, the runtime memory cost seems to be more than 60MB. if increase to 2000, memory goes to 120MB. It seems the FVM's native 3D api generates a bitmap texture for each sprite, it's pretty memory costing. The alternative way may be is to draw the projected vertices of the sprites frame by frame by using local3DToGlobal and drawTriangles() to render the scene, but that could be slower. So is there any way to render many instances using the native 3D feature with costing much memory?
View 3 Replies
Jul 4, 2010
So I was wondering does it cost extra memory when I import vector art stuff from Illustrator (CS5) to Flash (CS5) rather than making the shapes in Flash? Maybe Illustrator sends some meta data as well when importing so it may use more memory.
View 3 Replies
Feb 23, 2011
Why does this program always output the text for "future" from function year()? In this case, with b+c equaling 56, var year should fall under (b+c) > 0 && (b+c) < 1000) and return "roman", but it instead returns "future"...I got this to successfully work if I add this:
var period:String = (year(b,c));
and in my body function, make the conditionals check the period. For example
if (period == "future")
but I don't understand why I need to do this. I am returning a string, why do I have to set another variable? There is no compiler errors so clearly its not syntactical?
var a:String = "Tim";
var b:int = 50; //CHANGE TO ANY INT YOU WANT
var c:int = 6; //CHANGE TO ANY INT YOU WANT
var d:String = "Kyle";
var sum:int = b+c;
[code]....
View 2 Replies
Apr 21, 2009
I'm trying to determine the difference in time between todays date and a future date. I only need to determine how many months and days it is between todays date and this future date. Anyone know of any prebaked scripts anywhere for determining what todays date is and subtracting it from the end date would be? [code]So if today's date is less then the end date I'd like to determine how many months and days are left until the end date is reached and display the number of months and days until that end date.
View 1 Replies
Nov 5, 2007
I've used the countdown AS from Kiruba to list a value of days left until 2008.[code]I want to calculate 1580 - (this.digit * 4) and have a new this.digit value of 1364.
View 4 Replies
Jan 27, 2009
I have a math issue that I have some problems solving.
screen1
screen2
I need to calulate the pixels inside the squares and put them inside an array:
The main square rotates(see screen2) and i have the angle.
Something like attached code.
I have the following values:
- x/y of the main square. ( reference point )
- Width/height of the main square
- Width/height of all the squares
- Angle of main square..
View 8 Replies
Jan 12, 2011
trying to calculate the size of a progress bar.Here is the thing I have a movie with X scenes and I want the progress bar to fill up according to the porcentage of my timeline that has passed.here is the code I'm using
var parcialSeek var completeSeek
this.addEventListener(Event.ENTER_FRAME, tamanhoBarra) function [code]...
with this code every new scene the bar starts again and since I don't have exacts 100 frames on my movie the bar size dosen't match?
View 3 Replies
Mar 1, 2011
As the title says I am looking for a loop sequence to search through my array and find values that are even and then calculate them with a button click. I have this code which is completely wrong:
[Code]....
View 1 Replies