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 2017/02/08 18:23:05 UTC
[FlexJS] Image source vs src vs url
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 discussion about this months ago. Does anyone mind if I go ahead and make this change tomorrow (24 hours from now)?
Thanks,
Peter Ent
Adobe Systems/Apache Flex Project
Re: [FlexJS] Image source vs src vs url
Posted by Peter Ent <pe...@adobe.com>.
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, "omuppi1@gmail.com on behalf of OmPrakash Muppirala"
<omuppi1@gmail.com on behalf of bigosmallm@gmail.com> wrote:
>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 <pe...@adobe.com> wrote:
>
>> 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" <ha...@gmail.com> 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 <pe...@adobe.com> 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" <pe...@adobe.com> 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 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 discussion about this months ago. Does anyone mind if I
>>go
>> >>> ahead and make this change tomorrow (24 hours from now)?
>> >>>
>> >>> Thanks,
>> >>> Peter Ent
>> >>> Adobe Systems/Apache Flex Project
>> >>>
>> >>
>> >
>>
>>
Re: [FlexJS] Image source vs src vs url
Posted by OmPrakash Muppirala <bi...@gmail.com>.
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 <pe...@adobe.com> wrote:
> 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" <ha...@gmail.com> 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 <pe...@adobe.com> 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" <pe...@adobe.com> 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 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 discussion about this months ago. Does anyone mind if I go
> >>> ahead and make this change tomorrow (24 hours from now)?
> >>>
> >>> Thanks,
> >>> Peter Ent
> >>> Adobe Systems/Apache Flex Project
> >>>
> >>
> >
>
>
Re: [FlexJS] Image source vs src vs url
Posted by Peter Ent <pe...@adobe.com>.
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" <ha...@gmail.com> 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 <pe...@adobe.com> 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" <pe...@adobe.com> 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 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 discussion about this months ago. Does anyone mind if I go
>>> ahead and make this change tomorrow (24 hours from now)?
>>>
>>> Thanks,
>>> Peter Ent
>>> Adobe Systems/Apache Flex Project
>>>
>>
>
Re: [FlexJS] Image source vs src vs url
Posted by Harbs <ha...@gmail.com>.
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 <pe...@adobe.com> 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" <pe...@adobe.com> 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 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 discussion about this months ago. Does anyone mind if I go
>> ahead and make this change tomorrow (24 hours from now)?
>>
>> Thanks,
>> Peter Ent
>> Adobe Systems/Apache Flex Project
>>
>
Re: [FlexJS] Image source vs src vs url
Posted by Peter Ent <pe...@adobe.com>.
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" <pe...@adobe.com> 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 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 discussion about this months ago. Does anyone mind if I go
>ahead and make this change tomorrow (24 hours from now)?
>
>Thanks,
>Peter Ent
>Adobe Systems/Apache Flex Project
>