Weird problem... preloading stuff

I have written a class for my game to preload stuff given the url which is specified by an xml file.

During the first run in that site, I will encounter this error msg…

Error #2044: Unhandled IOErrorEvent:. text=Error #2035: URL Not Found.

However, if i were to refresh, the game runs normally.
Is it a setting problem during publish?