haXe Forum > Help! Loading Images at Runtime

  • Hello community,

    i have a little problem understanding how to load images at runtime.

    i want to load the image "example.png" and put it on a custom Sprite-class "MyClass" - but i can't find a way to get it working. The tutorials in the web don't help me, i want to have a image-folder in the swf folder, and force the swf to load the images from there...

    i don't want to add images and movieclips with swfmill etc. to the swf - just load it dynamic

    can someone help me with this?

  • Use Loader. You may refer to its AS3 ref. for usage.

< Prev | Page 1 / 1 | Next >