Why would you think defining imageLoaded within resizeListener would help at all? It would then not be available to use as a listener where you're already using it.
And since all it does is call addChild, calling it from resizeListener won't do anything useful either.

What are you trying to accomplish? If you are trying to resize your loader or loaded content when the window resizes, then write code that actually does that.