Sliders & Images

H Baric hbaric at gmail.com
Tue Aug 5 06:48:21 EDT 2008


Thanks Mark I'll try it out now, cheers!

----- Original Message ----- 
From: "Mark Schonewille" <m.schonewille at economy-x-talk.com>
To: "How to use Revolution" <use-revolution at lists.runrev.com>
Sent: Tuesday, August 05, 2008 8:30 PM
Subject: Re: Sliders & Images


Hi Heather,

A better way to do this might be to use a button with an icon. Set the
icon of the button to the ID of the first image. Then use this script:

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

--
Best regards,

Mark Schonewille

Economy-x-Talk Consulting and Software Engineering
http://economy-x-talk.com
http://www.salery.biz

Benefit from our inexpensive hosting services. See 
http://economy-x-talk.com/server.html
  for more info.

On 5 aug 2008, at 11:37, Eric Chatonet wrote:

> on scrollbarDrag pPos
>  set the layer of img ("blue" & pPos) to top
> end scrollbarDrag
>
> Le 5 août 08 à 11:39, H Baric a écrit :
>
>> And so onto a new headscratcher for today:
>>
>> I was just wondering how to do this:
>>
>> I have a slider with 1 - 3 start/end.
>> There are 3 images in a pile so only the top one is viewable at a
>> time.
>>
>> When user slides slider, show an image (bring to top?) that
>> corresponds to the slider position:
>> The images are named blue1, blue2, blue3.
>>
>> What I tried only confused the heck outta Rev and I had to suspend
>> dev to escape the stuckedness  :-o
>>
>> on scrollbarDrag
>>
>> ?!!!!
>>
>>
>> end scrollbarDrag

_______________________________________________
use-revolution mailing list
use-revolution at lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution 




More information about the use-livecode mailing list