actionscript 3 - Flex slow first Http request -
When I use loader.load (request); For the first time, freeze my flex for 10 seconds before posting the data (I can see the result of the web server in real time), though the same request with other data is repeated again but the same request.url, it is instantaneous .
// Multi form encoded data variable = new URLVariables (); Variables.user = "aaa"; Variables.boardjpg = new URLFileVariable (data.boardBytes, "foo.jpg"); Request = New URLRequestBuilder (variable) .build (); Request.url = "http: // localhost: 8000 / upload /"; Loader.load (request); How can I see what's happening so late?
Thank you!
OK, this is an old question, anyways I'm searching for it for other things Adding the URL filevalleys and URLRequestBuilder are the core classes in AS3 as soon as possible, so I think that you are creating some custom libraries in your request. I do not know which library you use, but it seems that the objective is to sort some binary data to create a post. Serialing usually takes the first time (Lookup Initialization and Preferences) for the first time and moves forward, a well-known example is remoting them in different flavors
Comments
Post a Comment