Flex :: Get Extremely Slow Response Some Php Script

May 12, 2011

I am fixing up a php script to receive a byte64 encoded image and store it to database

Here is my problem the script takes very long time, sometimes up to 5 minutes, to respond when flash calls the script(via a post request)

(i test it with a very small image)

if i remove the byte64 encoded data from the request it loads fast, and if i call the script from the browser with no data it is fast

i tried removing all php script from the script file so no php is run, and with data it is still slow.

View 2 Replies


Similar Posts:


Professional :: Air For Android Extremely Slow?

Jun 4, 2010

some of you have been trying the prerelease of Air for Android like myself. Its all great and easy peasy to export the apps to my phone but it seems to be ridiculously slow even for seemingly simple scripts.
 
This is what i'm trying to run at the moment and the app times out before it gets running (All the apps do get running eventually but only after the time out timer could have run over multiple times).

import flash.display.Shape;
import flash.events.Event;
import flash.sensors.Accelerometer;
import flash.events.AccelerometerEvent;

[Code]...

From what I can see theres nothing actually wrong with the code from what I can see but it just takes so frickin' long to load. If I make an app with some equally simple animations it loads almost instantly. I am aware that this is only a prerelease version of the software and the documentation does say that hardware acceleration has not been added yet but whenever I watch the videos up on youtube of the Adobe team making amazing apps with obviously buckets of script running smoothly on their phone I get annoyed
 
P.S The processor on my phone isn't the problem either (Nexus One Eclair )

View 7 Replies

Flash :: IDE - Extremely Slow On Certain Documents

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

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 :: Vector Sort Suddenly Extremely Slow?

Oct 16, 2011

While playing around with as' vector.sort() I found out that it behaves normally in every case except where it needs to sort a vector with only 2 or 3 distinctive values. If this is the case, the sort() function runs extremely slowly.Here's my code:

var test:Vector.<int>=new Vector.<int> ;
for (var i:int=0; i<6000; i++) {[code]....

View 1 Replies

ActionScript 3.0 :: Base64 Encoding Large ByteArray (AlivePDF) Extremely Slow?

May 3, 2010

So I'm using AlivePDF to generate a 6 page PDF with a range of text and graphics. It's a fairly large PDF, prob 4mb when saved. I need to be able to pass the PDF along with a few other variables to a PHP script that uploads the PDF and then sends an email.

Because I need to pass the PDF data along with other information, I've been using a standard POST request with URLVariables, only I Base64 encode the PDF ByteArray before sending to avoid any sort of corrupt data. This works fine, except the Base64 encode operation takes ~8 seconds, and sometimes longer on a slower machine, causing a timeout.

View 8 Replies

ActionScript 3.0 :: Slow Response In Game

May 13, 2011

I have created a Mahjong solitaire game in which 144 tiles are laid out on the stage, variably stacked up to four levels. You find two matching tiles that have free sides and have no tile sitting on top of them, click them both, and they are removed. Object is to remove all of them.

My problem is that I'm getting about a one second lag when I click the second of two matching tiles. I'm pretty certain that the bottleneck is in the functions that get called when any tile is clicked, that determine if it's free on one side and above. I have never "stepped through" or otherwise debugged before. Is there a way for me to step through my code and get some indication of what the specific problem is?

View 1 Replies

Flash :: Extremely Slow To Render Any Flash Motion In CS4

Nov 24, 2009

It's extremely slow to render any flash motion in CS4. I import to the stage some material and when I try to change and create any motion the processor usage raise up to 50% and the program freezing. It will be completly useless... Is there any solution to this problem?

View 2 Replies

ActionScript 3.0 :: RemoteObject Slow Response Time On Sub-sequent Calls

Jul 20, 2011

Calling RemoteObject service for creating new record. On success of method I am adding new record in existing list collection. Functionality is working fine however for subsequent calls of adding new record response time of the services is increasing. For first call it takes 3-4 seconds while for 5 on words it takes 10 secs and so on. If I remove addItem(obj) line in below code in green, response time is quiet stable 4-5 seconds.

My code is as below

for each (var item:Hierattrmetadatanode in arrHierarchyData)
{
//Add new Item
if(item.hierattrmetadatanodeid ==

[Code].....

View 0 Replies

Flex3 - Flex HTTPService SOAP Response Cannot Be Decoded Raw Response?

Feb 6, 2010

I am trying to connect my flex app to a CFC I have which calls a method. It's to test a login control, and when i put the correct credentials in, it comes back with the error: "SOAP Response cannot be decoded. Raw response: ".

[Code]...

View 1 Replies

ActionScript :: Flex - RemoteObject Response Headers?

Jun 16, 2009

I am in the process of writing an application in Flex 3.3, using the Cairngorm framework, for deployment as an AIR application. The application heavily utilizes RemoteObject services to get data from a web server.Each of my service delegates extends a common class which provides a method for calling service methods on the RemoteObject.So, where I previously usedServiceLocator.getInstance().getRemoteObject('myService').myOperation.send();I instead usethis.send('myOperation', 'myService');I use this method instead of calling the RemoteObject operations directly because this method adds another, global, responder to the operation call. This extra responder analyses data in the headers of reponse from the server.

Or at least it should -- this is where the problem is. In the result data (event as mx.rpc.events.ResultEvent) the headers property is always null despite the headers definitely being sent from the server.

View 1 Replies

Flex :: Localization For Web Service Response Result?

Aug 22, 2009

In my Flex Application I am receiving Unicode result from back end ( web service) an displaying it in Flex Label component Eg. Response string = [u8868u7af9uff5eFulfillment

I am binding response to label component When I am displaying it in label its not showing me Japanese character .Storing this information in properties file works

View 1 Replies

Flex :: Web Services - How To Handle SOAP Response In 3

May 29, 2010

[Code]...

I want to read SOAP response in flex,am some what new to FLEX

View 1 Replies

Flex :: Get The Response From An HTTP Request On Error?

Jun 2, 2009

I tried using both HTTPService and URLRequest/URLLoader. But I can't figure out how to get either the response output or the response headers in case of a server error(like 500).

View 1 Replies

Actionscript :: Making HTTPRequest And Getting Response (Adobe Flex)

Mar 29, 2011

Im trying to make a HTTP Request in Adobe Flex (Actionscript) as follows:

var p:PersonSearchController = new PersonSearchController();
showAlertDialog();
p.search(sc);
alert.cancel();
navigator.pushView(views.PersonSearchResults, +p.getResp());

So basically, before the search we get a "Searching..." AlertDialog box, once the search is complete, the dialog box disappears and the results screen is pushed onto the screen...

Here is the search method:

function search{
var requestSender:URLLoader= new URLLoader();
dispatcher.addEventListener(Event.COMPLETE, completeHandler);

[Code].....

p.getResp() is nothing as the response hasn't came back yet. I want the program to basically block until the HTTPResponse is received so I can process the results. At the moment the Popup appear and disappears quickly, and in the background the search goes off and makes the request... I get the response but only after the results screen has been pushed out. How can I make the popup block until we have a HTTPresponse?

View 2 Replies

Flex :: Synchronous - Action Wait For Network Response?

Jun 22, 2011

I have small Flex web based util with single button. On this button click a request is sent to server and the response must be read in the same call.This is important not to wait for response with event handler (which is trivial).Basically this is synchronous call.I am ok with blocking ui and so on.

View 1 Replies

Flex :: Unable To Retrieve Value From Java Web Service Response In It

Sep 21, 2011

I am trying to read data from the java web service from flex mxml/action script, seems like the call i.e request/response is successfully but when unable to read the value from the response[code]...

View 2 Replies

Php :: Casting From FLEX - Network Monitor Response Is NULL

Jan 31, 2012

[Code]...

so the problem is I can print the array but how to cast tht array to a known php type? After 5 days I finnaly figured out flex and mysql using amfphp

View 1 Replies

Java :: Object Via The Response Writer To The Flex Builder 4.5?

Mar 8, 2012

the problem is as so: I have a java server running on tomcat 7.0 and having the library Gson 2.1 on it.
I have and object to be encoded into json that got an attribute which is an array and might be an empty one.

when I send my json object via the response writer to the Flex Builder 4.5 in the Network Monitor view in the response type I get unknown. well, I have done my research, and discover that this is a known issue.[URL]..

adobe said that with Flex Builder 4.5 this issue will be fixed. but apparently it ain't so.

[Code]...

View 1 Replies

Flex :: HTTPService Going For Timeout Error As Web Service Take More Time To Get Response

Sep 29, 2009

Flex HTTPService giving timeout error as web service take more time to response. Due to large voueme Is there any work around to handle overcome the error

View 2 Replies

Flex :: Webservice Response Received But Not Bound To Event.result?

Apr 2, 2011

I get the webservice(spring WebService) response properly ,but the event.result object is null.I can see the SOAP response body in the event.message.body variable.

## Soap Response ##
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP-ENV:Header/><SOAP-ENV:Body><getUserUserTasksResponse xmlns="http://ws.burr.com/BurWS/9_0">
<foundTasks>

[code]...

View 1 Replies

Performance :: Measure Flex/Java App Response And Rendering Time?

Sep 19, 2011

We have Flex/Java app with a typical scenario:

Clicking the button
Preparing request
Sending request to the backend
Receiving a response from the backend
Rendering the response

How can I measure time from the start of step 1 to end of step 5?

View 1 Replies

Alert Boxes Adobe Flex Mobile - Searching - Block Until Get Response?

Mar 29, 2011

Im creating an application on Adobe Flex mobile (Blackberry playbook to be exact). Im designing an app that has a search function that makes a simple HTTP request to a server and waits for a response...

When the user clicks on search, how do I create an alert box that says "Searching..." and doesn't disappear until we get an HTTP response?

View 1 Replies

Flex - Delay A Screen Component To Be Drawn Until HttpService Response Callback Returns?

Jun 4, 2011

I have a Group screen component with some Path elements inside. The Group has a (default) style, and the Path has a (default) stroke. When the program starts, (on initialize) loads from a server (via HTTPService) some data that includes different styles for the Group, and it may also include different color/width for the Path stroke. If the styles/stroke attributes are not included in the server response, then the component will be shown with the defaults.

[Code]...

View 1 Replies

Actionscript 3 :: Flash Timer Extremely Off

Oct 21, 2010

I'm using Flash CS4 with AS3. I want a timer to call a function at 50 ms intervals for 100 times. however the timer takes much longer than it should, which adds up to 1677 ms (1.677 seconds!) too much after 100 repeats. Am I missing something here or is the timer THAT inaccurate?

[Code]...

View 4 Replies

ActionScript 3.0 :: MovieClips Playing Extremely Fast?

Dec 3, 2010

On my simple website, everytime i navigate to another page, the movie clip plays extremely fast and is out of sync with the sound.

View 1 Replies

ActionScript 2.0 :: Extremely Accurate Sound / Beats?

Apr 2, 2007

method where you play a blank file, with a specific time length, and that will loop, and using that sound file, it will dispatch a event when it finishes, hence you get a very accurate loop.

View 4 Replies

ActionScript 2.0 :: Extremely Odd Rollover Behavior After Clicking

Aug 30, 2008

I have a VERY odd problem, here it is: Description: I have a USA map, some states are clickable and have a rollover effect made via MCs. When you rollover a state, it changes color, and when you roll out it goes back to normal. If you click on a state a 'drop-down' layer rolls down with some text in it. You can close this layer by clicking again on the state or by clicking on a button of an 'X' at the top right of the layer.

My problem: When the map is first loaded, ALL the states' rollovers work properly, but once you click on a state the drop-down layers comes out fine but the rollover of that state and of **ALL the other states just stop working. In other words, when you put your mouse over any state after clicking on any of the other states, the rollover effect doesn't work anymore. Methods: The text inside the drop-down layer is being called from a text file with this code:

[Code]...

View 2 Replies

Professional :: Viewing Exported .mov File Extremely Laggy?

Mar 26, 2011

I'm using Flash CS5 and am currently working on an animation/advertisement as part of my final exam in Applied Art. This is a relatively large file consisting of internally animated Graphics and Movie Clips. When playing it in the .SWF player it seems to play fine with no extreme lag accept for a single second at the beginning but when exported to a .mov file it plays extremely slowly causing the frame rate to decrease considerably.I need to upload this onto my youtube channel when it is done as the link needs to be sent to the examiner. All this may have something to do with the fact the .mov file, although unfinished, already weighs 75.6MB at 30 seconds of work.

View 3 Replies

ActionScript 2.0 :: Create An Extremely Chat Where Any Client Can Log Into Webpage

Mar 29, 2004

I want to create an extremely simple chat where any client can log into this webpage, two windows, one to enter text and the other to see messages. Very irc-like. How do I resolve the communication? In Director there was the multiuser server that let you talk among swfs, is there something similar in Flash MX? Or should I resort to php/mysql as the only way to go?

View 1 Replies







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