Hello Lingo-Ls,
Can anyone help me? I have a slider that changes the images (from sprite 3
to 9). All the images are put outside the stage until called up.
This is attached on the slider pointer
global pointer
on beginSprite me
pointer=sprite(me.spriteNum)
end
on mouseDown
changeImage
repeat while the stillDown
pointer.locV = the mouseV
if pointer.locV >230 then
pointer.locV=230
else if pointer.locV<20 then
pointer.locV=20
end if
updateStage
end repeat
end
this is the handler "changeImage"
global pointer
on changeImage
if (20<pointer.locV<50) then
set the loc of sprite(3)=point(176,118)
else if (50<pointer.locV<80) then
set the loc of sprite(4)=point(176,118)
else if (80<pointer.locV<110) then
set the loc of sprite(5)=point(176,118)
else if (110<=pointer.locV<140) then
set the loc of sprite(6)=point(176,118)
else if (140<=pointer.locV<170) then
set the loc of sprite(7)=point(176,118)
else if (170<=pointer.locV<200) then
set the loc of sprite(8)=point(176,118)
else if (200<=pointer.locV<230) then
set the loc of sprite(9)=point(176,118)
end if
end
What did I do wrong? Am I making things more complicated than should be? I'm
so stuck so please help me! Any help greatly appreciated! Cheers.
Yo.
[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi To post messages to the list,
email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo. Thanks!]