Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

How to load external image from url

New Here ,
Aug 28, 2018 Aug 28, 2018

Hi

I want to load an external image into my movie clip.

How can I do that with coding.

2.0K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

LEGEND , Aug 31, 2018 Aug 31, 2018
Translate
Community Expert ,
Aug 28, 2018 Aug 28, 2018

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);

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Aug 28, 2018 Aug 28, 2018

Hi

I am not using as3, I use javascript. So I want to know how to do it using javascript inside adobe animate

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Aug 31, 2018 Aug 31, 2018
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Aug 31, 2018 Aug 31, 2018
LATEST
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines