Copy link to clipboard
Copied
Hi
I want to load an external image into my movie clip.
How can I do that with coding.
Copy link to clipboard
Copied
with as3 you use a loader to load an image. eg,
var l:Loader=new Loader();
var urlR:URLRequest=new URLRequest('img.png');
l.load(urlR);
addChild(l);
Copy link to clipboard
Copied
Hi
I am not using as3, I use javascript. So I want to know how to do it using javascript inside adobe animate
Copy link to clipboard
Copied
Not the expert here, but have a look at the links below to see if they offer any insights
http://blog.teamtreehouse.com/learn-asynchronous-image-loading-javascript
javascript - Load image from url and draw to HTML5 Canvas - Stack Overflow
Copy link to clipboard
Copied