Set the fillGradient ....

Roger Guay irog at mac.com
Thu Sep 1 10:06:22 EDT 2016


Wow, Randy, that works! Is this a workaround to a bug or what??

Thanks, Randy.

Roger


> 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
>>>> _______________________________________________
>>>> use-livecode mailing list
>>>> use-livecode at lists.runrev.com
>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
>>>> http://lists.runrev.com/mailman/listinfo/use-livecode
>>> 
>>> 
>>> _______________________________________________
>>> use-livecode mailing list
>>> use-livecode at lists.runrev.com
>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
>>> http://lists.runrev.com/mailman/listinfo/use-livecode
>> 
>> _______________________________________________
>> use-livecode mailing list
>> use-livecode at lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
> 
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode




More information about the use-livecode mailing list