PDA

View Full Version : URLLoader dispatch custom event??



cg219
July 24th, 2008, 10:37 PM
I have a Custom Event that I made to hold parameters and I want the URLLoader to dispatch that Event when its done loading instead of the COMPLETE event. Is there a way to modify this???

Thanks so much I really need this answered.

cg219
July 25th, 2008, 01:00 AM
Never mind I figured it out myself

All I had to do is create a subclass of Event Dispatcher and have it accept the URLLoader as a parameter then when the loader is complete I have the subclass dispatch my custom event. I'll go more into detail on how to do this one day on my blog

blog.kreativeking.com