PDA

View Full Version : Loader.close()??



nook
December 8th, 2008, 10:16 AM
Isn't the close() - method in the Loader supposed to cancel the load?

I call close() in the progress handler upon its first execution. But the event continues to dispatch and the bytesLoaded grows. From the second time the progress handler is called flash complains that there's no stream as it tries to call the close() method again and again. Even so, the content continues to load until it's completed.

:(

I just read about someone having this problem in the Flash IDE but not on a website, could that be it?

:: nook

Felixz
December 8th, 2008, 03:36 PM
This occurs only in IDE, no worries, It works as it should on the server.

nook
December 8th, 2008, 06:04 PM
This occurs only in IDE, no worries, It works as it should on the server.

Kinda weird isn't it?

Especially since I have to add special errorchecking just because it doesn't work as expected in the IDE..

well well, problem solved.. sort of anyway.

Thnx