virtual Image* LoadProtocolImage(const ImageCreateInfo& info, const String& url);
LoadProtocolImage loads an image based on the url protocol string. The protocol string will usually begin with either img:// or imgps:// prefix, depending on what argument was passed to loadMovie in ActionScript.
Parameters |
Description |
const ImageCreateInfo& info |
Image initialization information for loading the image. |
const String& url |
A url for the image. Developers can parse this string in any manner suitable for their game. Note that the url should be encoded as UTF-8 to support international file names. |
The loaded image.