ActionScript 3.0 :: Wrote Equation - Get Slow In Running When Function Reach Higher Degree?

Aug 23, 2010

I wrote it through the equation (n, k) = n!/(k!(n-k)!).But I found it will loose precision quickly after 12th row.So I change the way. I tried to use the properties of triangle(each row is the sum of previous row)Than I get slow in running when function reach higher degree.
I just keep changing a little and a little... try to make it run faster.

Quote:Function binCoef(70) :

1,70,2415,54740,916895,12103014,131115985,11987747 [code]..

View 0 Replies


Similar Posts:


Professional :: Exe Projector Running Slow While Swf Running Fine?

Mar 19, 2012

I have a strange problem. When I run an exe projector that I exported from flash cs5.5, and on few of my client's computers it running very slow in full screen.When I running an swf file (not exe projector), also in full screen, it running well!I checked my clients computer hardware, and it match the system requirements of flash player.

View 3 Replies

ActionScript 2.0 :: Adjusting Friction Higher When Object Slow Down

Jul 31, 2005

I wrote this 9ball game a while back (never really finished it), and was showing it to a friend today. When a pool ball is rolling fast, less of it's mass should be touching the felt, therefore, less friction. As it slows down, there should be more contact with the felt, and therefore, more friction. Any realistic algorithm to use to adjust the friction higher as the balls slow down? [URL]

View 11 Replies

ActionScript 2.0 :: SWF Running Very Slow

Apr 13, 2010

Well my SWF is running a bit jerky, and i was woundering if by putting a loader at the start of the animation if that would help things run?

View 3 Replies

Flash Movie Running To Slow On Web?

Jan 28, 2010

is there a way to speed up flash movies playing when put up on the web. I created a web banner and uploaded it, when I open the website on the browser the flash movie pauses for a few minutes and does not play straight away. Is there any actionscript that will ensure the flash movie will play instantly when on the web? Is it the file size that is causeing the swf to run slower? Is it anything to do with the publish settings in the fla file?

View 4 Replies

All Versions Of Flash Running Slow?

May 12, 2009

I'm using Vista 64 on a more then adequate laptop, I initially used Flash CS4 and it was great for the past week but a few days ago it started geting really slow, whenever I copy, change frame, select something, basicaly any change action I have to wait about 5 seconds or more for a reaction. I'm using it for simple animation, no symbols, just 3 layers. I have a deadline coming up for my final production and if I can't fix this fast I'm screwed. I've tried every solution I can find, including trying Flash CS3 and Flash 8, nothing seems to fix the slow speed

View 8 Replies

Flex :: FApplication Running Very Slow

Mar 19, 2010

I develop a application based on Advance data grid. In this grid every column add with help of item render and I have added check box in all the column header also.In the Grid i used xml data provider. I am creating xml as string and cast this string in to xml.When i click any cell it takes 10-13 sec and in the cell click handler i get value of System.totalMemory is 255205376.[code]

View 2 Replies

ActionScript 2.0 :: My Site Running Slow

Sep 12, 2004

[url]...

i am building this site for my friend roddy and would like input on why it might be running slow. i know i have a bunch of videos at the bottom, but if i drop them out it still seems to run slow. i was just wondering if anyone might catch something i might be missing.

View 5 Replies

IDE :: Animating In CS4 Running Very Slow Compared To CS3?

Oct 21, 2008

On Flash Kit there is a thread that is worrying me because I haven't used CS4 yet but by the sounds of things people are finding it run really slow when you use CS4 for animating or open a CS3 file that would normally run fast.

View 14 Replies

IDE :: MovieClip Running Very Slow On Stage

Apr 19, 2011

I am working with CS5 and I have bunch of movie clips on the stage and each movie clip contains a kinetic typography animation. When I click on each movie clip, the animation starts to play but the problem is that it runs really slow. I use a very detailed font (Sketch Rockwell) which might be the reason for this slowness. And the whole animation looks ugly because of this.

View 3 Replies

ActionScript 3.0 :: Game Running Slow In A Browser?

Oct 17, 2010

my game running very slow in all the browsers but its OK as a standalone application.

View 3 Replies

ActionScript 3.0 :: Erase Mask Running Slow On IOS

Jul 27, 2011

I'm trying to get this effect [url].. on a iPad app I'm working on in Flash. The thing is it is running very slow. Is their a way I can speed up this script?[code]...

View 1 Replies

ActionScript 3.0 :: External Swf Running Too Slow On Load?

Dec 9, 2009

I was just wondering if anyone could help me to figure this out - I'm afraid I'm really not sure what the problem is so I'll try to be as specific as I can, if you need me to provide any extra info then just ask.Basically I have a fla file -the menu of my game- that loads external swf files (the various game modes) when the user clicks a button. I can get everything loaded in fine, but it runs at a snails pace and occassionally generates errors (mainly caused by the game mode calling removeChild()) that don't happen when the 'game modes' are run as stand-alone swf files.

Does anyone have any idea what could be causing this? I remove almost all listeners from the menu before I run the game modes, so there's almost nothing that could be using up processor power that's needed for the game - it's a pretty basic game anyway so it shouldn't be processor-intensive to my computer anyway. I've spotted a few other topics similar to this, but they're either not answered or the solution doesn't fit what I'm trying to do.

View 2 Replies

Ruby On Rails :: Why Is My First RoR App On Dreamhost Running So Slow

Aug 26, 2009

I've got my first RoR app deployed to Dreamhost and it's using Passenger. The one note on Dreamhost's wiki about slow response mentioned changing a RewriteRules line in the public/.htaccess file to use FastCGI. But I assume this will have no effect if I'm using Passenger, is that right? I've looked at the logs and compared them to my local logs, and it looks like there is a wider range on Dreamhost. Some responses are comparable to the quick local ones, others can take a few seconds. I'm using a Flex front end with HTTPServices to the rails backend, and I think I also need to add logging around my services to see what kind of network delay I'm getting and try to isolate where the delays are. I should also add that there is probably plenty of room for improvement in the area of eager loading associations. I think I did that a little early on, but haven't done it thoroughly through all the associations. I have the local logs set to the default where I can see all the queries, and there are a lot of them.

View 2 Replies

Actionscript :: Tween Running Extremely Slow?

May 16, 2011

I am using the following code to tween an movieclip once _global.choiceMade equals 1...

onClipEvent (load) {
import mx.transitions.Tween;
import mx.transitions.easing.*;
}

[code]....

The script at the top is on a movieclip these buttons are contained in called buttonHolder which does what it says, and tweens the buttons across the screen to reveal a next button once an answer is chosen.

View 2 Replies

ActionScript 3.0 :: Flash 3D Running Slow In Safari On Mac?

Apr 21, 2010

I am having a problem in Safari 4 on Mac running Flash Player 10. Really slow! I'm using some 3D features of Flash (3d rotation). The animation plays smoothly in all other browsers.

I've installed the latest updates to Flash player, and all the same.

View 5 Replies

ActionScript 3.0 :: AIR Erase Mask - Running Slow On IOS

Jul 27, 2011

I'm using the script below to erase an image from the screen. On an iPad. On my computer it's running fine. On the iPad it's very slow.

[Code]...

View 1 Replies

Flash :: Professional - CS4 Running Slow - Computer Or The Program?

Jun 21, 2010

Ever since I installed Flash CS4 on my computer, it runs fine for a while before becoming really slow to respond and a pain to use, so I have gone back to using Flash 8 which runs fine. Is this a problem with my computer or the program?

View 3 Replies

ActionScript 2.0 :: Making Flash 9 Running Slow Error

May 23, 2008

I have a site that manage uploads for our content providers, but when you run the flash movie and you start uploading a file, somewhere is the middle of the upload, a message pops saying that a script in the movie is making the flash player to run slow, and thta you computer may turn unresponive, after googling for this error i find out that my script may have a infinitive loop or function, i've been tryint to find the error on my scrip[code]....

View 3 Replies

ActionScript 2.0 :: CS3 Sliding - When Running And Not Holding Keys Down Then The Friction Should Slow Me Down

Nov 12, 2009

when I'm running and not holding my keys down then the friction should slow me down. That works but the speed never stops at zero. I can't see him moving but I've put a text that draws his speed, because if the speed isn't zero and I'm not pressing any button then he will slide and that doesn't work look here: [URL]
The code in the player I use is:

[Code]....

View 1 Replies

Actionscript :: Flash - Continue Script Despite Running Slow Warning

Aug 25, 2009

My program requires multiple random recursions, and I have to manually let the script continue past a warning that keeps popping up:

"A script in this movie is causing flash player to run slowly."

Is it possible to automatically continue past this warning?

View 1 Replies

Professional :: Animation Optimization For Mobile (Running In Slow Motion In The Beginning)

Mar 29, 2012

I have a project for mobile where some of my animations scenes look as though they are winding up or playing in slow motion (from the start). They start out slow for about three seconds, as if they are winding up or in slow motion, and then they run at a normal pace. It only happens on specific animations and is consistent on different devices. Also, once I come back to the scene (revisit), the animations run normally from start to finish.

I have had some success in speeding up some animation by doing the following: In some scenes, the following would occurr: 1) a character was walking 2) the character grew in size though tweening 3) the background was animated as well ect. In other words, there were several things happening in the animation. In this example, I made it less complex by keeping the character the same size and making the background static. This helped alot. However, for the aforemation animations, I have tried everything (I am aware of) and nothing has helped. I'm not sure what to do next.

View 1 Replies

Actionscript 3 :: Function Won't Accept Any Number Higher Than 4?

Nov 16, 2010

you know any reason why a function won't accept any number higher than 4? This is all I'm doing. Works for 0-4, but once I hit 5 or higher, I get "A term is undefined and has no properties." But if I just put the number 5 in there, it all works just fine, so it's not an issue with the xml.. for some reason the function just won't accept anything higher than 4. weirding me out..... I can't see an explanation for it.

[Code].....

View 1 Replies

Chat Swf File Running Slow And Giving Abort Script Warning With More Users Online - Many Warnings

Sep 30, 2009

I have bought a chat package, and over 9 months i am running into the problem hat it is gooing slow with more users online. So i decided to install the "flash debug player 10" and check what exacly is happening. Within 2 minutes the flashlog.txt (error log of debug player) was 195KB I will now paste the error messages that are dumped into flashlog.txt tha occur the most and i think it seems as if the error message comes from a loop, because there are so many of these warnings:

[Code]...

View 2 Replies

ActionScript 2.0 :: Wrote The _root.clip Part?

Sep 19, 2003

i know its something to do with how i wrote the _root.clip part.. im sure its a quick fix:this is on one:

onClipEvent (load) {
highMax = 100;
lowMax = 30;[code]....

and on the button that calls the function:

on (rollOver) {
_root.test = function() {
_root.test._alpha += speed;[code].....

View 14 Replies

ActionScript 3.0 :: Wrote To Have A Bunch Of Buttons Load Some MoveClips?

Jan 13, 2010

here is some AS3 code I wrote to have a bunch of buttons load some MoveClips. I am using a label to tell the button where to go to play the appropriate movie clip.
 
It all works fine, but it seems so repetitive and I keep reading about making the code more streamline, but I am having trouble doing just that.

[Code]...

View 4 Replies

ActionScript 3.0 :: Wrote The Script And Tested The Movie, Come Up With The 1120 Error?

Apr 6, 2010

i've been trying to make a scrollbar and everything works fine, until i have to connect it with the text. theres an image and a title that i want to scroll with the (static) text so i created a movie clip (instance name cafe_txt), and when i wrote the script and tested the movie, i come up with the 1120 error that cafe_txt is not defined.So i changed the clip(thinking that the problem was the scrollbar had to be in the same instance as the text) so that the scrollbar was inside, and i come up with error 1067(1067: Implicit coercion of a value of type flash.display:MovieClip to an unrelated type flash.text:TextField.)
 
I've tried changing names, double checking that instance names are correct,moving things, changing the text so that its dynamic not static(if the scrollbar is connected to just the dynamic text it works,it just doesnt scroll the full length of the text) here's the code in my stage:
 
scrollbar_mc.textField = cafe_txt
 
and my code from the scrollbar.as file:
 
package com.lynda.ui{ import flash.display.*; import flash.events.*; [code].....

View 1 Replies

ActionScript 2.0 :: Slow Reaction On Function?

Aug 21, 2002

it's quite hard to explain, especially cause i'm not a native english speaker.. i've uploaded my >fla< and the >swf< as wellplease have a look at it. when handle 1 is being dragged, handle 2 swings elastically on one axis around handle 1.in case of dragging handle 1 (upper) everything is just perfect. but when i drag handle 2 (lower), the movement of the line, which connects the two handles all the time, is slower than the movement of handle 1.why? both handles have got (basically) the same code.

View 6 Replies

ActionScript 3.0 :: SetInterval Function Runs Very Slow In IE8

Sep 9, 2010

I am doing some animation using setInterval. It runs ok on all browser(firefox, sarfari, and opera..), but not in IE8. I just check ie7, it works fine also.

View 4 Replies

ActionScript 3.0 :: Passing A Function As Data In A ComboBox And Slow Export

Nov 14, 2009

I want a comboBox that will allow the user to select what colour palette they want the application to have.  I am using a comboBox to do this and want to have a function with arguments as the data in the comboBox item.  I've managed to do it and pass arguments but these are running when the comboBox is set up.  I only want the function to run when the user presses the submit button.  How can I prevent the function from running on set up?  Here is my code:
 
package
{
import flash.display.*;
import flash.events.*;

[Code]....
 
Plus, my movie is taking ages to submit, even though there is nothing on the stage. There are components in the library though.  Would this cause it to take about 5 seconds to export to swf?

View 4 Replies







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