You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flex.apache.org by Peter Ent <pe...@adobe.com> on 2016/12/16 19:23:22 UTC
[FlexJS] Image on JS platform
I'm trying to use <js:Image src="image.jpg" /> and no image is being loaded. Looking at the ImageBase.as code, I don't see how the image src is making it to the <img> element that has been created. Is there a part I'm missing or is something disconnected? I'm happy to fix it, I just didn't want to undo something that should be working.
-peter
RE: [FlexJS] Image on JS platform
Posted by Yishay Weiss <yi...@hotmail.com>.
This [1] works for me
[1] https://paste.apache.org/61AK
From: Peter Ent<ma...@adobe.com>
Sent: Friday, December 16, 2016 11:19 PM
To: dev@flex.apache.org<ma...@flex.apache.org>
Subject: Re: [FlexJS] Image on JS platform
I meant url. I did not use src.
On 12/16/16, 2:39 PM, "Yishay Weiss" <yi...@hotmail.com> wrote:
>Have you tried url instead of src?
>
>
>
>From: Peter Ent<ma...@adobe.com>
>Sent: Friday, December 16, 2016 9:23 PM
>To: dev@flex.apache.org<ma...@flex.apache.org>
>Subject: [FlexJS] Image on JS platform
>
>
>
>I'm trying to use <js:Image src="image.jpg" /> and no image is being
>loaded. Looking at the ImageBase.as code, I don't see how the image src
>is making it to the <img> element that has been created. Is there a part
>I'm missing or is something disconnected? I'm happy to fix it, I just
>didn't want to undo something that should be working.
>
>-peter
Re: [FlexJS] Image on JS platform
Posted by Peter Ent <pe...@adobe.com>.
I meant url. I did not use src.
On 12/16/16, 2:39 PM, "Yishay Weiss" <yi...@hotmail.com> wrote:
>Have you tried url instead of src?
>
>
>
>From: Peter Ent<ma...@adobe.com>
>Sent: Friday, December 16, 2016 9:23 PM
>To: dev@flex.apache.org<ma...@flex.apache.org>
>Subject: [FlexJS] Image on JS platform
>
>
>
>I'm trying to use <js:Image src="image.jpg" /> and no image is being
>loaded. Looking at the ImageBase.as code, I don't see how the image src
>is making it to the <img> element that has been created. Is there a part
>I'm missing or is something disconnected? I'm happy to fix it, I just
>didn't want to undo something that should be working.
>
>-peter
RE: [FlexJS] Image on JS platform
Posted by Yishay Weiss <yi...@hotmail.com>.
Have you tried url instead of src?
From: Peter Ent<ma...@adobe.com>
Sent: Friday, December 16, 2016 9:23 PM
To: dev@flex.apache.org<ma...@flex.apache.org>
Subject: [FlexJS] Image on JS platform
I'm trying to use <js:Image src="image.jpg" /> and no image is being loaded. Looking at the ImageBase.as code, I don't see how the image src is making it to the <img> element that has been created. Is there a part I'm missing or is something disconnected? I'm happy to fix it, I just didn't want to undo something that should be working.
-peter