lundi 19 décembre 2016

How can I get an image from url link and use it in HTML5 game, created in Flash?

I have my HTML5 game created in Flash and I am trying to get image from link. Let's say the image I want is at

http://ift.tt/2h26zBY.

In my game I already have a MovieClip with instance name pictureFromUrl. So how do I set its image source the image found at the mentioned example page?

this.parent.pictureFromUrl = ??

Aucun commentaire:

Enregistrer un commentaire