Correction! On second and subsequent loads I could see what you exeperience.
Here's what I first saw:
When the application first loaded, I saw all the UI components on the
form. Didn't take long to load the application.
I then started playing around by clicking on checkboxes and noticed that
you have the wait cursor enabled, indicating that you are communicating
with AMFPHP. From that point on subsequent application loads (i.e. page
refresh) would cause the delay you indicated.
I haven't looked at your code, but I would start checking into what you
are doing when the application communicates with the server. Are you
loading any large datasets?
Using AMFPHP you should be able to use the service browser to check how
your classes return data.
All this is of course stab in the dark, but I thought it was a bit
strange that none of the delay issues started happening until after I
had checked one of the checkboxes.
Jurgen
alex steel wrote:
I have a little problem with Flex
compiled file is running slow, freezing computer for about 2 sec
basiclly I use amfphp2 to get information for dynamiclly creating Lists
you can see it at
http://www.pleasures.co.yu/_gvozden/RHS/RHS.html
<http://www.pleasures.co.yu/_gvozden/RHS/RHS.html>
and code which is doing that is at
http://www.pleasures.co.yu/_gvozden/RHS/RHS_code.txt
<http://www.pleasures.co.yu/_gvozden/RHS/RHS_code.txt>
as far as I see it there is nothing tricky there except if creating
300 UI items freeze it, and it is obviously
being that I am new to Flex but expert for Flash I find this really
weird and bad
how can I resolve this issue (without making it static)?
AMFPHP 2 browser returns query for about 2 sec, one's that clock is
showing , then there is freeze :(
thnx
Alex