visual "wipe" curious behavior

LiveCode is the premier environment for creating multi-platform solutions for all major operating systems - Windows, Mac OS X, Linux, the Web, Server environments and Mobile platforms. Brand new to LiveCode? Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
jmburnod
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 2729
Joined: Sat Dec 22, 2007 5:35 pm
Contact:

visual "wipe" curious behavior

Post by jmburnod » Tue May 10, 2011 6:51 pm

Hi All,

Like klaus i have glasses. I need your eyes

It seem the visual effect "wipe down" used in this stack make a "wipe up" effect.
I see true ?
Is my script correct ?

Jean-Marc
Attachments
OpenCloseGroup.rev.zip
(1.43 KiB) Downloaded 200 times
https://alternatic.ch

bn
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 4172
Joined: Sun Jan 07, 2007 9:12 pm

Re: visual "wipe" curious behavior

Post by bn » Tue May 10, 2011 8:03 pm

Hi Jean-Marc,

for me it does exactly what you tell it to (Livecode 4.6)

(your code)

Code: Select all

  if tCurLab = "Open group" then
      put the bottom of grc "decFond" into item 4 of Lar
      put "Close group" into NewLab
      put "wipe down slowly" into bufEffect --•• why the "wipe down" make a "wipe up" look ? 
   end if
   if tCurLab = "Close group" then
      put (item 2 of Lar) +48 into item 4 of Lar
      put "Open group" into NewLab
      put "wipe up slowly" into bufEffect 
   end if
When the label is "Open group" it does a wipe down and when the label is "Close group" it does a wipe up

Maybe you either have to turn your glasses upside down or something else is going on.

Kind regards

Bernd

jmburnod
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 2729
Joined: Sat Dec 22, 2007 5:35 pm
Contact:

Re: visual "wipe" curious behavior

Post by jmburnod » Tue May 10, 2011 9:39 pm

Hi Bernd,
When the label is "Open group" it does a wipe down and when the label is "Close group" it does a wipe up
The "wipe up" work from down to up, it's correct.
I expect the "wipe down" work from top to down but it is not the case for me (runrev 4.0 and Livecode 4.5)
Maybe you either have to turn your glasses upside down or something else is going on.
:D

Kind regards

Jean-Marc
https://alternatic.ch

bn
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 4172
Joined: Sun Jan 07, 2007 9:12 pm

Re: visual "wipe" curious behavior

Post by bn » Tue May 10, 2011 9:44 pm

Hi Jean-Marc,

don't turn your glasses yet. :)

I tested in Livecode 4.5 and 4.5.3 and in fact it is as you describe.

So it seems fixed in 4.6.

Kind regards

Bernd

jmburnod
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 2729
Joined: Sat Dec 22, 2007 5:35 pm
Contact:

Re: visual "wipe" curious behavior

Post by jmburnod » Tue May 10, 2011 9:50 pm

Hi Bernd,

Thank for your fast reply but it is to late. I changed my eyes.

Best

Jean-Marc
https://alternatic.ch

Post Reply