I need portraits of my players showing up in my gui. These portraits need to be dynamically loaded from internet. When I develop my gui in Flash, I got dynamically loaded images to work perfectly by using the MovieClipLoader.
(where portraitMCL is a MovieClipLoader).
The image, which is located somewhere on internet, loads just fine when I run my swf in Flash Player.
Dumb and naive as I am, I developed it all before even confirming that this is supported in Scaleform. So when I export my swf and import it in UDK and run it, the images are not loaded. It just gets blank.
Is this not supported in Scaleform? Or am I just doing something wrong? If it's not supported, is there another way around the problem?
I have tried reading from a file on my disk instead. No go. I replaced my current system with the CLIK component UILoader. Since this is Scaleform stuff, I figured it would work better. No luck though. It works great in FlashPlayer. But after I have imported it to UDK, it fails to load the image. Is what I'm trying to do possible at all? Or is Scaleform totally unable to read anything from outside? I have managed to push a texture from a UDK package to Flash earlier, but then I knew exactly what picture it was going to be. Going this approach would require me to get UDK to read a file and convert it to a texture. This seems wrong, and I'm not sure if it would be possible either?