Home > categories > Machinery & Equipment > Loaders > Loader Flash Component Problem.....urgent help neeeded!?
Question:

Loader Flash Component Problem.....urgent help neeeded!?

I created a flash app that frequently uses the loader component to load image files. Here's the problem : in case one of those images fail to load, I want to write a function so that the Loader component loads another image instead. How do I do that?

Answer:

I'm not on my computer with flex so I can't say the specific script code, but you should be able to add an event handler for the failed load. loader.EventHandler(faultevent, <name of function to fire on a fault) don't try that word for word, but you should get the general idea. Cheers ~K

Share to: