Visual effect behabior

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: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
Pistris
Posts: 148
Joined: Mon Jul 20, 2015 2:40 am

Visual effect behabior

Post by Pistris » Tue Sep 13, 2016 12:26 am

hi guys
when i use

hide image "123" with visual effect scroll up

instead of revealing whats underneath, it pulls what was suppose to be underneath
like if i was using effect push up.

i want it to behave like effect curl up on IOS

Dixie
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 1336
Joined: Sun Jul 12, 2009 10:53 am
Location: Bordeaux, France

Re: Visual effect behabior

Post by Dixie » Tue Sep 13, 2016 10:19 am

place an image and a button on a card, put the following into the script of the button...

Code: Select all

on mouseUp
   lock screen for visual effect
   set the visible of image 1 to not the visible of image 1
   unlock screen with dissolve
end mouseUp

Jeanne DeVoto
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 10
Joined: Wed Apr 12, 2006 12:23 am
Contact:

Re: Visual effect behabior

Post by Jeanne DeVoto » Tue Sep 13, 2016 5:24 pm

Try using wipe instead of scroll. I think that's what you need:

hide image "123" with visual effect wipe up

Pistris
Posts: 148
Joined: Mon Jul 20, 2015 2:40 am

Re: Visual effect behabior

Post by Pistris » Tue Sep 13, 2016 7:54 pm

Hi dixie
i do not want the dissolve effect, that one works fine

i do want to use the scroll but it has that odd behavior
if u use the scroll up effect then it works as i want it but i don't like the scroll effect

Pistris
Posts: 148
Joined: Mon Jul 20, 2015 2:40 am

Re: Visual effect behabior

Post by Pistris » Tue Sep 13, 2016 7:55 pm

jeanne thanks for your response

i forgot to say the platform is IOS
wipe up only works on web and desktop

thanks for your response

Post Reply

Return to “Getting Started with LiveCode - Complete Beginners”