Set the fillGradient ....
Scott Morrow
scott at elementarysoftware.com
Thu Sep 1 21:35:45 EDT 2016
Ah, thanks Randy! I was familiar with this behavior but (slaps forehead) your straight forward solution never occurred to me.
Scott Morrow
Elementary Software
(Now with 20% less chalk dust!)
web http://elementarysoftware.com/
email scott at elementarysoftware.com
office 1-800-615-0867
------------------------------------------------------
> On Sep 1, 2016, at 5:41 AM, Randy Hengst <iowahengst at mac.com> wrote:
>
> To make this work via script, I’ve done two things… the easiest is to set the grc that I want to change to the size and position of the a grc master with the fill gradient I want to match… in this example, the script is in the grc to be changed:
>
> on mouseDown
> local tStartLoc
> put the loc of target into tStartLoc
> set the loc of target to the loc of grc "Blue MasterChip"
> set the fillGradient of target to the fillGradient of grc "Blue MasterChip"
> set the loc of target to tStartLoc
> end mouseDown
>
>
>
>> On Aug 31, 2016, at 9:10 PM, Roger Guay <irog at mac.com> wrote:
>>
>> Yes it is.
>>
>>
>>> On Aug 31, 2016, at 6:49 PM, Scott Rossi <scott at tactilemedia.com> wrote:
>>>
>>> Is the noGradientYet graphic opaque?
>>>
>>>
>>> Scott Rossi
>>> Creative Director
>>> Tactile Media UX/UI Design
>>>
>>>> On Aug 31, 2016, at 6:43 PM, Roger Guay <irog at mac.com> wrote:
>>>>
>>>> Why does this not work?
>>>>
>>>> Set the fillGradient of grc “noGradientYet" to the fillGradient of grc “NiceGradient”.
>>>>
>>>> Something happens . . . indeed the object browser seems to show that they have the same gradient, yet they don’t!
>>>>
>>>> Probably something simple, again.
>>>>
>>>> LC 8.0.2 and Mac
>>>>
>>>>
>>>> Thanks,
>>>>
>>>> Roger
More information about the use-livecode
mailing list