Re: visual effect not working to show stack

2014-12-24 Thread John Burtt

I use animation engine to slide an opaque group into view. You can slide it 
from anywhere, to anywhere. Works perfectly, just like a drawer.

John B

 
 No, I can't point to a version of LiveCode where this ever worked... I 
 was dreaming again (ha!)
 
 So... it can't be done, except by these messy methods you describe.
 
 I guess we will have to live without it. Too bad, as many modern UX 
 designs call for the cool appearance of content like this. And the 
 architecture would be best served by  keeping really disparate content 
 in different substacks. I will put in a feature request...
 
 I suppose we could also go for building a group and then hiding and 
 showing that... if all we are presenting to the user is a set of 
 controls  or info like a help window or big giant calendar/date picker. 
 Again, this tends to overload the main stack when substacks would be a 
 better way to manage the content.
 
 Or: use sheet and be content with the drop from the top default effect.
 
 BR
 
 Scott Rossi wrote:
 I don't know that it has ever been possible to use a visual effect when 
 launching a stack.  Can you point to a version of LiveCode where this works?
 
 The only stack-level effects I've been able to manage are a 
 dissolve-into-view effect by setting the stack's blendLevel from 100 to 0, 
 expand/contract effects by repeatedly changing the stack's rect, or a 
 morph-type effect by repeatedly chafing a stack's windowShape to a sequence 
 of images.
 
 There may be ways to fake the effect you're looking but they're a bit messy. 
  One way would be to capture the portion of the desktop where you intend to 
 display your stack in a decoration-less stack.  You could reveal a snapshot 
 of your real stack in the capture stack using whatever effect you want, 
 display your real stack above the capture stack, then remove the capture 
 stack from view using blendLevel of 100 and close.
 
 Perhaps one of the above would work for you.
 

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


RE: visual effect not working to show stack

2014-12-23 Thread John Dixon

Read the dictionary...

'The visual effect command affects only navigation within a window. If 
you want to create a transition effect when moving between stacks, use 
the go...in window form of the go command:'

 Date: Mon, 22 Dec 2014 20:58:40 -1000
 From: bra...@hindu.org
 To: use-livecode@lists.runrev.com
 Subject: visual effect not working to show stack
 
 I have a main stack and a substack
 
 this button on the main stack is meant to open the substack and show it 
 with a visual effect.
 
 It doesn't work... the substack just snaps open
 
 LC 6.6.2 OS X Mavericks
 
 on mouseUp
 
 go invisible stack  choose date
 show stack choose date with visual effect iris open very slowly
 
 end mouseUp
 
 what am I doing wrong?
 -- 
 Swasti Astu, Be Well!
 Brahmanathaswami
 
 Kauai's Hindu Monastery
 www.HimalayanAcademy.com
 
 
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your subscription 
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode
  
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: visual effect not working to show stack

2014-12-23 Thread Brahmanathaswami

John: right... I did read the dictionary.

but we don't want the substack being revealed to take over the window of 
the main stack.


and, this doesn't work:

on mouseUp
   visual effect reveal up very slowly
   go  stack Choose Date  in new window
end mouseUp

I presume, because,  new window does not qualify as within a window

this also does not work:

on mouseUp
  lock screen for visual effect
  go   stack Choose Date  in  new window
  unlock screen with visual effect reveal up very slowly
end mouseUp


Either I am still missing something really simple.

OR

what we want:

open a stack in a different window with a visual effect that emulates a 
slide effect of moving into view from the bottom into the rect of the 
current card of the background/parent stack... is not doable, which I 
find hard to believe


Sheet: only works from the top
Drawer: only pushes out from the rect of the stack

Goal: have the sub stack slide into the screen rect of the parent 
stack, i.e. behave like a drawer, but move into instead of out from, the 
parent stack.


I hope I am missing something really simple.

Swasti Astu, Be Well!
Brahmanathaswami

Kauai's Hindu Monastery
www.HimalayanAcademy.com



John Dixon wrote:

Read the dictionary...

'The visual effect command affects only navigation within a window. If
you want to create a transition effect when moving between stacks, use
the go...in window form of the go command:'


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


Re: visual effect not working to show stack

2014-12-23 Thread Scott Rossi
I don't know that it has ever been possible to use a visual effect when 
launching a stack.  Can you point to a version of LiveCode where this works?

The only stack-level effects I've been able to manage are a 
dissolve-into-view effect by setting the stack's blendLevel from 100 to 0, 
expand/contract effects by repeatedly changing the stack's rect, or a 
morph-type effect by repeatedly chafing a stack's windowShape to a sequence of 
images.

There may be ways to fake the effect you're looking but they're a bit messy.  
One way would be to capture the portion of the desktop where you intend to 
display your stack in a decoration-less stack.  You could reveal a snapshot of 
your real stack in the capture stack using whatever effect you want, display 
your real stack above the capture stack, then remove the capture stack from 
view using blendLevel of 100 and close.

Perhaps one of the above would work for you.

Happy Holidays,

Scott Rossi
Creative Director
Tactile Media UX/UI Design

 On Dec 23, 2014, at 12:04 PM, Brahmanathaswami bra...@hindu.org wrote:
 
 John: right... I did read the dictionary.
 
 but we don't want the substack being revealed to take over the window of the 
 main stack.
 
 and, this doesn't work:
 
 on mouseUp
   visual effect reveal up very slowly
   go  stack Choose Date  in new window
 end mouseUp
 
 I presume, because,  new window does not qualify as within a window
 
 this also does not work:
 
 on mouseUp
  lock screen for visual effect
  go   stack Choose Date  in  new window
  unlock screen with visual effect reveal up very slowly
 end mouseUp
 
 
 Either I am still missing something really simple.
 
 OR
 
 what we want:
 
 open a stack in a different window with a visual effect that emulates a slide 
 effect of moving into view from the bottom into the rect of the current card 
 of the background/parent stack... is not doable, which I find hard to 
 believe
 
 Sheet: only works from the top
 Drawer: only pushes out from the rect of the stack
 
 Goal: have the sub stack slide into the screen rect of the parent stack, 
 i.e. behave like a drawer, but move into instead of out from, the parent 
 stack.
 
 I hope I am missing something really simple.
 
 Swasti Astu, Be Well!
 Brahmanathaswami
 
 Kauai's Hindu Monastery
 www.HimalayanAcademy.com
 
 
 
 John Dixon wrote:
 Read the dictionary...
 
 'The visual effect command affects only navigation within a window. If
 you want to create a transition effect when moving between stacks, use
 the go...in window form of the go command:'
 
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your subscription 
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode

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


Re: visual effect not working to show stack

2014-12-23 Thread Brahmanathaswami
No, I can't point to a version of LiveCode where this ever worked... I 
was dreaming again (ha!)


So... it can't be done, except by these messy methods you describe.

I guess we will have to live without it. Too bad, as many modern UX 
designs call for the cool appearance of content like this. And the 
architecture would be best served by  keeping really disparate content 
in different substacks. I will put in a feature request...


I suppose we could also go for building a group and then hiding and 
showing that... if all we are presenting to the user is a set of 
controls  or info like a help window or big giant calendar/date picker. 
Again, this tends to overload the main stack when substacks would be a 
better way to manage the content.


Or: use sheet and be content with the drop from the top default effect.

BR

Scott Rossi wrote:

I don't know that it has ever been possible to use a visual effect when 
launching a stack.  Can you point to a version of LiveCode where this works?

The only stack-level effects I've been able to manage are a 
dissolve-into-view effect by setting the stack's blendLevel from 100 to 0, 
expand/contract effects by repeatedly changing the stack's rect, or a morph-type effect 
by repeatedly chafing a stack's windowShape to a sequence of images.

There may be ways to fake the effect you're looking but they're a bit messy.  
One way would be to capture the portion of the desktop where you intend to 
display your stack in a decoration-less stack.  You could reveal a snapshot of 
your real stack in the capture stack using whatever effect you want, display 
your real stack above the capture stack, then remove the capture stack from 
view using blendLevel of 100 and close.

Perhaps one of the above would work for you.



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