PDA

View Full Version : URLStream errors... um, yeah but where IS IT?


bowser1111
10-12-2008, 12:02 AM
Flash just kills me sometimes... I keep getting an error saying "this URLStream object does not have a stream open" when I use .close() on a loader object.

So okay, sure. The stream is closed, but hey, how about a way to CHECK IF IT'S CLOSED INSTEAD OF THROWING ERRORS ALL THE TIME?

When I debug, URLStream is simply nowhere to be found. How is flash even throwing an error on an object that doesn't exist (as far as the debug is concerned). Come on Flash... don't you think whether or not a stream is opened is something important for a loader object to know???

gnomeontherun
10-13-2008, 08:29 PM
Is this a question or a rant?

If its a rant...I feel you about debugging in Flash sometimes. If its a question...got code?

bowser1111
10-18-2008, 01:52 PM
Ahahaha... that was the perfect response... it was basically a rant.
I WAS kind of curious if there is a way to access URLStream from a loader object, but making me feel better was all I needed hahahaha.




While I'm ranting though... "1119: Access of possibly undefined property through a reference with static type"...

Yeah, well just *possibly* it's perfectly defined!
Anyone feel me? Anyone???