Thank you Sruloart! I will take a look.
I get my code to work directly in haxeflixel with no layer above, no code in Main.hx. It's working well. But....
It only works in neko or os targets. The reason: I need to store the downloaded image somewhere to be read as an Asset.
I think that FlxSprite should have a method for loading images of the internet, like:
What do you think about?