loapup utility
Hi,
I am having a small issue with the loadup utility. Everything works fine until I start throttling the bandwidth with Charles. When I set the throttle setting to 64 kb the loadup utility does not dispatch the LoadupMonitorEvent.LOADING_FINISHED_INCOMPLETE hance my application does not start. Any other setting higher than 64 and it works just fine.
Any thoughts on this?
Seb
Comments are currently closed for this discussion. You can start a new one.
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
1 Posted by seb on 09 Jul, 2010 09:59 AM
ANYONE?
2 Posted by Stray on 09 Jul, 2010 10:42 AM
Hi Seb,
It would probably help if you gave some more general information - like whether you're seeing this when you run it on a server, or whether you're running locally ... what you're trying to load up, how big it is etc.
I'm totally baffled as to why changing the speed of download would cause this, other than that it might be timing out somehow, or just dropping the connection and thus causing an IO_ERROR or similar.
Hopefully a bit more info might jog somebody's brain,
Thanks
Stray
Support Staff 3 Posted by Shaun Smith on 09 Jul, 2010 02:13 PM
Howdy,
I'm not familiar with the Loadup utility - as far as I know it's just a simple port of the PureMVC utility of the same name.
It sounds like a Garbage Collection issue to me: with throttling the call takes long enough for GC to kick in and the handlers don't execute. Without throttling the call is quick enough to return before GC runs. Are you sure that you've got strong references to all relevant handlers/objects?
Support Staff 4 Posted by Joel Hooks on 09 Jul, 2010 02:21 PM
http://github.com/Matan/AssetLoader
If it were me, I'd use this library instead of the Loadup thing. Loadup needed more work, and I've never readdressed it.
5 Posted by seb on 09 Jul, 2010 03:03 PM
Hi,
thx for taking the time to respond.
@Stray - i was running the app on my local webserver. The large file is a swf and is 300k
@shawn - yes I have strong reference to my handler and objects. That was the first thing I checked. However I am not sure what the code is like in the utility.
@joel - thx I will check this assetsLoader out.
Stray closed this discussion on 10 Feb, 2011 05:30 PM.