Before and After

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: Klaus, FourthWorld, heatherlaine, kevinmiller

Post Reply
richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 10430
Joined: Fri Feb 19, 2010 10:17 am

Before and After

Post by richmond62 »

I couldn't sleep last night,and my mind would just
not get this type of image out of my mind:
-
B&A.jpg
-
No, NOT the actress; the visual effect . . .

Presumably it can be done in LiveCode.
richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 10430
Joined: Fri Feb 19, 2010 10:17 am

Re: Before and After

Post by richmond62 »

slider.jpg
-
That's funny, I thought the thing would be far more complicated.

Stack removed as updated version available in next post.
Last edited by richmond62 on Mon Jun 13, 2022 6:29 pm, edited 1 time in total.
richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 10430
Joined: Fri Feb 19, 2010 10:17 am

Re: Before and After

Post by richmond62 »

I have uploaded an improved version as with the previous one
the monochrome image was NOT loading automatically into the graphic object.
-
slider.jpg
-
add this to the cardScript:

Code: Select all

on openCard
   set the backGroundPattern of grc "gFRAME" to the ID of img "oakBW"
end openCard
Attachments
OAK.livecode.zip
Stack.
(196.96 KiB) Downloaded 190 times
Post Reply