Sliders & Images

Eric Chatonet eric.chatonet at sosmartsoftware.com
Tue Aug 5 06:48:11 EDT 2008


Mark's idea sounds good because it does not reorganize layers but I  
would add a condition to not run the code if it's not needed:

on scrollbarDrag thePos
    if the icon of btn x <> the id of img ("blue" & thePos) then
     set the icon of btn x to the id of img ("blue" & thePos)
   end if
end scrollbarDrag

Le 5 août 08 à 12:45, H Baric a écrit :

> Excellent! Merci!
>
> ----- Original Message -----
> From: "Eric Chatonet" <eric.chatonet at sosmartsoftware.com>
> To: "How to use Revolution" <use-revolution at lists.runrev.com>
> Sent: Tuesday, August 05, 2008 7:37 PM
> Subject: Re: Sliders & Images
>
>
> on scrollbarDrag pPos
>    set the layer of img ("blue" & pPos) to top
> end scrollbarDrag



Best regards from Paris,
Eric Chatonet.
----------------------------------------------------------------
Plugins and tutorials for Revolution: http://www.sosmartsoftware.com/
Email: eric.chatonet at sosmartsoftware.com/
----------------------------------------------------------------





More information about the use-livecode mailing list