Flash :: Php Become Very Slow, Same Code?
Oct 29, 2009
I did a flash application that has a login form in flash, and authenticates in php. That was 3 months ago, and the sending requests and response is very fast -- that is, when i click submit button, within 3 - 5 seconds it will have a response from php.
Recently, I did another login in flash, using similar code as I previously have done. Now, the sending request and respond is very long, each time the server may take up to 10 seconds to respond. Why is it taking so long yet the previous one is fast?
Same host, same php files, similar swf (not much changes in swf).
View 1 Replies
Similar Posts:
Aug 1, 2011
I'm making a game, and while loading and saving levels the code can be quite slow, and at the moment that means the game just hangs while waiting for it. I was wondering if it's at all possible to set up some kind of way to track the progress of the code and display it visually as it happens. For example, to test this I set up a quick bit of dummy code that just fills an array with random numbers:
ActionScript Code:
public function init(e:Event):void {
var storageArray:Array = new Array();
[code]........
View 6 Replies
Jan 12, 2011
As stupid as my question might sound, i have spent the last 2 weeks reading oop books; but could use some guidance. I have a flash project that is basically a supped up slide show. On the stage i have the following: main_mc (instance name = images_mc) = movieclip which holds "pictures" ui1 (instance name = ui1_mc) = user interface that allows user to draw on picture (when drawing is enabled) ui2 (instance name = ui2_mc) = activates invisible hit areas (buttons) on select pics, when hit area is clicked, we jump to another pic in the main_mc.
I accomplished all of this on the timeline, but am updating the code to OOP. I am having A HELL OF A TIME trying to figure out how to store references to the instances (images_mc etc..), so i can control them from varying class files. I have found it is easy to control the instances from the documentclass, but not from unrelated class files. Example: images_mc.stop(); works in document class; but ovieclip(Parent).images_mc.stop() doesn't seem to work from any class file.(ui2 class file for example);
[Code]...
View 2 Replies
Jan 22, 2011
I'm looking for a workaround to the "AdSense does not let you choose only images but no flash" issue. I'm rather a newbie to JS, but is there any way for one script to prevent other scripts embedded in a site from detecting the presence of the flash plugin? Even if it doesn't work with AdSense, it would be nice to know if there's a hack to do this that might work in other settings.By the way, I suppose I wouldn't care if it failed to work on IE or obsolete browser versions.
View 1 Replies
Oct 20, 2008
Some stuff is as fast as before, like scrubbing and playing and applying a tween.But other, simple stuff, like selecting frames, adding frames - regular or key - takes 2-5 seconds each. Really anything with the timeline is slow. This happens especially with long movies (1.5 minutes - 2500 frames). Which shouldn't matter. I had movies 5 minutes long working fine.
View 21 Replies
Feb 12, 2009
I have Flash CS3 installed (windows) I have two images, I shape tween from one to the other.
The .fla file is 15MB in size, and the .swf is 800kb,
My problem is that, even though I've set the animation to run at 30fps, I barley manage more than 1.4fps a second, it should take 5seconds to complete, yet its taking 140seconds.
I have a 2GHZ dual core PC, with 2GB RAM,
I want it to be a smooth transition.
View 2 Replies
Jun 9, 2011
I found this, but got no idea how to slow it down:
var myTextLoader:URLLoader = new URLLoader();
myTextLoader.addEventListener (Event.COMPLETE,onLoaded);
function onLoaded (e:Event):void {
tekstbx.text = e.target.data;
tekstbx.addEventListener (Event.ENTER_FRAME,efh);
View 2 Replies
Nov 21, 2011
I have a Wordpress website located here: http:[url]....I'm trying to figure out why the page loads slow - I'm almost sure it has to do with Flash and size of images, plus rotating banner. I don't know how to edit or fix the problem though. So the question is: What is causing my website to load slow, and what EXACT steps can I take to fix the problem.I've already tried adjusting some of the browser ActiveX filters and other temp fixes, but that is not the proper solution. If this is a flash or image loading issue, can you tell me the EXACT step in how to edit these issues?
View 1 Replies
Oct 27, 2007
I'm running web browser over RDP (Terminal Server). However, the flash animation is slow over RDP. Is there anything can be done or perhaps anything to tell flash player to drop frames during animation?
View 0 Replies
Feb 10, 2009
I am testing a swf on my MAC Intel 2.6ghz duo-core with Firefox and am averaging 20 - 25 FPS. When i test the same swf on Firefox via VMware running Windows XP it is averaging 10 - 15 FPS. Does anyone know if it's VMWare that's causing the slowdown or is it Firefox on Windows that could be the problem?
View 2 Replies
Sep 11, 2010
I've been working on a game for a while now, just to realize now that flash is too damn slow to handle it. Wtf...
It relies heavily on particle emitters. I have an array of about 20 objects at any point in time on screen. And another with around 5-600. I'm using BitmapData.hitTest on each of the 20 against each of the 5-600 every frame. If it's only a few hundred it's fine, but upwards it just slows down. A lot. There has to be a way to optimize this. I don't understand how flash can handle something like away3D or all of the great 2d physics engines out there just fine, but not this..
View 14 Replies
Mar 27, 2011
Got to the point where the hole in my AS3 knowledge is getting large!Realising I have confusion about the relationship of:Body of code on first frame of AS3 file.(Which I have so far used to create instances of library objects using addchild and make calls to class code).Is this code called the document code? What do people call it?Numerous classes linked together by extending each other etc.Library objects (usually graphical objects)Should it be done differently? have the following problems due to lack of understanding:Addchild complicated from a class but straight forward in main body code.Cant call functions on the main body code from classes, because class code does not know the main body code exists?
View 1 Replies
Aug 25, 2004
What library/API or even a program for converting flash code into html 5 code automatically do you recommend me?
View 2 Replies
Jul 9, 2010
I'm looking for some help converting as3 code to pixelbender code in an attempt to improve the performance of my application. This as3 code goes as follows. I scan through the Number values of a bytearray in chunks. Lets say this chunk lenght was 100 numbers I read 2 numbers (left and right) and try find the maximum values. The numbers in my bytearray are PCM data so there is millions of them and this code can often take a long time to execute, especially on a low spec machine.
The whole aim of this is to render a waveform as quickly as possible. I know very little about pixel bender. I can basically make a new file and create a shaderJob of it in flash but I'm really uncertain how to approach this...
[Code]...
View 1 Replies
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
Nov 3, 2008
2k3 terminal server XP thin clients accross T1 links.My users need to access this sitopening page has a huge revolving flash header. When users openthis site, it brings their session to a halt. Since the header isrevolving, it never relases access back to the users. Since thisweb site is a big part of their daily activities I can't turn offFlash. Is there a way to throttle flash or is there a way to atleast stop moving pictures so the users can get control of their
View 1 Replies
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
Mar 3, 2010
Flash is just unusable, because of extremely slow performance. Selecting a tool or typing in actionscript takes forever. I've also noticed that sometimes (yes only sometimes), flash.exe takes alot of CPU usage, even when doing simple things like mentioned above.
At the same machine, 2 days ago, before upgrading from Vista Ultimate x64 to Windows 7 Ultimate x64, everything was working perfect.
View 1 Replies
Aug 11, 2010
I use Flash mainly for Slideshow Pro content and before CS5 I have used CS3 and CS4. I have never noticed issues with speed before, but since upgrading to CS5, my work has slowed to a crawl.
I am on a 64 bit machine Windows 7 machine very fast machine with 12 GB of memory, and while I realise that Flash is not a 64 bit program and can therefore not use all of that, I am wondering why it is so much slower than was CS4.
View 4 Replies
Sep 1, 2010
I use the facebook class [URL] in my project. When I compile my project (Air 2.0) with the facebook class it takes longer than one minute to compile.What would I do to make compiling faster? Compiling in Flash Builder seems much faster than in Flash CS5.
View 6 Replies
Apr 3, 2011
I´ve done an iPhone app with flash, just a simple rss feeder but it is extremely slow, is it suppose to be so or can I do it faster?
View 1 Replies
Apr 4, 2011
I animate flourish using adobe flash then export it as swf to use it again in another flash movie
when i import it i use these steps:
1- I make a symbol(movie clip)
2- I import the swf to the stage
3-then I back to Scene1 to control its size and position in my movie
BUT when I finish all these steps and play my movie the flurish too slow and not soft as original its cracks!
View 5 Replies
Jun 9, 2011
My version of Flash CS5 has recently become very slow to start up, taking well over a minute sometimes.It appears to stall for the longest time during a loading process called "Loading Accelerators" (yes, very ironic).Mac Pro running Mac OSX 10.6.7 (Snow Leopard) and 14Gb RAM.
View 4 Replies
Apr 26, 2010
Basically the objective is to click on certain targets, which upon doing so would destroy the target and garner you points. I've written a macro to help me until the point where its impossible to even see the target more than a mere flicker, (maybe even less than that, i cant see it with my eyes). But its possible because i believe others have done so. (Maybe on slower comps?)
Anyway the question is, how would it be possible to slow down the flash game?
I've thought of a couple of ways that could work but i'm not sure how to implement them.
1. Slow down the cpu speed? (smth like that? how?)
2. As the game progress the time the targets appear and stay up is reduced. Maybe theres a variable controlling all of this, isit possible to modify the address of this variable? freeze it or smth?
View 2 Replies
Apr 20, 2011
Has anyone else found that flash is VERY slow when using Firefox 4 on Mac OS X?This happens when the .swf gets larger than ~1000px, the whole .swf is slow to scroll, respond, etc.
View 3 Replies
Mar 7, 2012
I'm always checking this nice forum since I started to learn AS3 2 months ago It was always helpful and I learned a lot I'm making a simple game but I'm stuck I finished the game but at certain stage the SWF file become slow I don't know why
View 6 Replies
Jan 7, 2007
xml is loaded awfully slow into flash...so if you run a cursor faster over the menu for example, it dazzles it and doesn't run the comands as it should. if I run over it slow it works fine.
View 4 Replies
Oct 28, 2009
For some reason whenever I try to access a any of the files within a project that I'm working on it goes extremely slow. I'll click something, or type something and it'll take like 30 seconds before I actually see it do anything. I never had this problem with this project before, seems like it came out of no where. If I just make a new document, or goto another project it's fine.
View 7 Replies
Oct 23, 2008
I have created a Flash application running in a browser (Firefox 3 on Windows XP). When I move this application from foreground to background and (after some time) viceversa, I notice a considerable slowdown, i.e. for about thirty seconds the application becomes unusable.
My swf is very small (~200 KB), but this swf creates *many* buttons and *many* other graphical widget (with statical images), so the RAM occupied is considerable (~150 MB).
I initially assumed that was caused by the swap mechanism of the operating system or of the browser. This was *not* true, and it was confirmed by the fact that, by default, Mozilla Firefox prevent Windows from swapping out memory when the program is minimized (see config.trim_on_minimize option). Nothing has changed even disabling the paging system of Windows.[code]...
View 0 Replies
Dec 14, 2010
I downloaded a free flash banner from [url]......,I tried contacting the site's owner in Germany but no answer from him therefore I am seeking help elsewhere. I would like to adjust the banner in 2 ways, first, create rounded edges so the left and right ends look oval in shape and if possible I would like to slow down the speed at which the text changes,
View 2 Replies