I've made the following changes on the flex-asjs develop branch:
Image control now uses "src" property instead of "url" property to match
tag.
ImageButton control now uses "src" property instead of "source" property to be
consistent with Image control.
I did not touch the ImageAndTextButton c
That's why I picked src to begin with. I think that is a better choice, if
Harbs and anyone else doesn't mind. Think about it and I'll start the work
tomorrow.
—peter
On 2/8/17, 2:53 PM, "omup...@gmail.com on behalf of OmPrakash Muppirala"
wrote:
>In HTML/JS world, src is used on the HTML img ta
In HTML/JS world, src is used on the HTML img tag. The same can be done in
CSS where you need to use url.
In our world, I prefer src as people might be more familiar with that.
Thanks,
Om
On Wed, Feb 8, 2017 at 11:48 AM, Peter Ent wrote:
> Would you prefer it to be url? I am not concerned tha
Would you prefer it to be url? I am not concerned that much, except I
think all of the Image-related components should have the same property.
—peter
On 2/8/17, 1:58 PM, "Harbs" wrote:
>We will have to change the code in our app, but I think that’s ok.
>
>> On Feb 8, 2017, at 8:25 PM, Peter Ent
We will have to change the code in our app, but I think that’s ok.
> On Feb 8, 2017, at 8:25 PM, Peter Ent wrote:
>
> I forgot about ImageAndTextButton. That uses "image" to specify the
> location. So there's yet another property.
>
> ‹peter
>
> On 2/8/17, 1:23 PM, "Peter Ent" wrote:
>
>> Hi
I forgot about ImageAndTextButton. That uses "image" to specify the
location. So there's yet another property.
‹peter
On 2/8/17, 1:23 PM, "Peter Ent" wrote:
>Hi,
>
>I'm working the TourJS and needed to make some changes to ImageButton. I
>see that Image uses url to specify the location of the i
Hi,
I'm working the TourJS and needed to make some changes to ImageButton. I see
that Image uses url to specify the location of the image while ImageButton uses
source. Meanwhile, HTML uses src. I find this to be confusing. I would like to
switch Image and ImageButton to src.
I recall a discus
This [1] works for me
[1] https://paste.apache.org/61AK
From: Peter Ent<mailto:p...@adobe.com>
Sent: Friday, December 16, 2016 11:19 PM
To: dev@flex.apache.org<mailto:dev@flex.apache.org>
Subject: Re: [FlexJS] Image on JS platform
I meant url. I did not use src.
On 12/16
I meant url. I did not use src.
On 12/16/16, 2:39 PM, "Yishay Weiss" wrote:
>Have you tried url instead of src?
>
>
>
>From: Peter Ent<mailto:p...@adobe.com>
>Sent: Friday, December 16, 2016 9:23 PM
>To: dev@flex.apache.org<mailto:dev@flex.apache.org&
Have you tried url instead of src?
From: Peter Ent<mailto:p...@adobe.com>
Sent: Friday, December 16, 2016 9:23 PM
To: dev@flex.apache.org<mailto:dev@flex.apache.org>
Subject: [FlexJS] Image on JS platform
I'm trying to use and no image is being loaded.
Looking at the Ima
I'm trying to use 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 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
On 12/7/16, 7:26 AM, "carlos.rov...@gmail.com on behalf of Carlos Rovira"
wrote:
>Hi, Right now MDL is JS only, but I think one day we could make a Flash
>version, for that reason I think we should develop with that in mind.
Well, in the rest of the code, we generally try to make the JS output
Flex PMC
> piotrzarzyck...@gmail.com
> --
> View this message in context: http://apache-flex-
> development.247.n4.nabble.com/FlexJS-Image-Missing-
> properties-in-created-Image-tp57045p57047.html
> Sent from the Apache Flex Development mailing list archive at Nabble.com.
Thanks Alex. I will use HTMLImageElement.
Piotr
-
Apache Flex PMC
piotrzarzyck...@gmail.com
--
View this message in context:
http://apache-flex-development.247.n4.nabble.com/FlexJS-Image-Missing-properties-in-created-Image-tp57045p57047.html
Sent from the Apache Flex Development
On 12/6/16, 9:53 PM, "piotrz" wrote:
>Hi,
>
>In one of the MDL component I've created org.apache.flex.html.Image. I see
>in code that this image has
>
>"imageElement" property and "applyImageData", but I don't see them in
>compiled swc. If I use them simply
>
>var image:Image = new Image();
>im
View this message in context:
http://apache-flex-development.247.n4.nabble.com/FlexJS-Image-Missing-properties-in-created-Image-tp57045.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.
suite including examples ... as soon
>as that passes, I'll commit my changes.
>
>
>Chris
>
>
>Von: Christofer Dutz
>Gesendet: Dienstag, 13. September 2016 10:19:38
>An: dev@flex.apache.org
>Betreff: AW: [FlexJS]Image
>
>I think
etreff: AW: [FlexJS]Image
I think those last changes broke the framework build:
https://builds.apache.org/view/E-G/view/Flex/job/FlexJS%20Framework%20(maven)/255/console
Chris
Von: Harbs
Gesendet: Montag, 12. September 2016 20:11:18
An: dev@flex.apache.org
Betreff: R
I think those last changes broke the framework build:
https://builds.apache.org/view/E-G/view/Flex/job/FlexJS%20Framework%20(maven)/255/console
Chris
Von: Harbs
Gesendet: Montag, 12. September 2016 20:11:18
An: dev@flex.apache.org
Betreff: Re: [FlexJS]Image
Thanks.
I’ll clean up BinaryImage as well when I have the opportunity.
On Sep 12, 2016, at 8:35 PM, Peter Ent wrote:
> I updated the defaults.css in the HTML project to include the Image's
> model and view for SWF and JS and removed this code fragment.
> ―peter
>
> On 9/12/16, 10:01 AM, "Peter
I updated the defaults.css in the HTML project to include the Image's
model and view for SWF and JS and removed this code fragment.
―peter
On 9/12/16, 10:01 AM, "Peter Ent" wrote:
>I had to go back and look into it all again. This code is necessary. The
>source property is actually stored in the
I had to go back and look into it all again. This code is necessary. The
source property is actually stored in the image's model. When this
property changes, the ImageView bead picks it up and sets it into the
element, so the ImageView bead is also necessary; the Image needs
the view in order to d
I'll have to see what happens when these lines are removed. The Flash side
nearly always has model and view beads to build the components but the JS
side may not have a view bead since the element (i.e., ) is the view.
Meaning, the Flash and JS versions aren't always symmetric. I'm not really
sure
The Image component has the following code which did not make a lot of sense to
me considering it’s JS-only:
model = new
ImageModel();
addBead(new
ImageView());
When trying to figure this out, we realized that this should be in
24 matches
Mail list logo