Hi Scott,
This works in Rev 2.6, OS X 10.4.1 without a flicker or reappearance
of the stack.
on showWindow
--set topLeft of stack progind to 10000,10000
--palette stack progind
go invisible stack progind
go back
set topLeft of stack progind to 10000,10000
set the visible of stack progind to true
put windowID of stack progind into tID
import snapshot from rect (rect of grc 1 of stack progind) of
window tID
close stack progind
choose browse tool
end showWindow
Better not set the style of stack "Submarine" to palette or the
import is done in the palette stack.
Changing window style or window shape on hidden or offscreen stacks
will make the system redraw the window within the screen rect, hence
the flicker or reappearance.
But why it is doing this every second time with your script, I don't
know.
So if it is a bug or a coding problem is for others to decide.
Greetings,
Wouter
On 13 Jul 2005, at 00:13, Scott Rossi wrote:
When I run the following script, I actually see the offscreen-intended
window appear every *other* time, in other words a reliable failure
that
occurs 50% of the time:
on showWindow
set topLeft of stack progind to 10000,10000
palette stack progind
put windowID of stack progind into tID
import snapshot from rect (rect of grc pie of stack progind) of
window tID
close stack progind
choose browse tool
end showWindow
(MacOSX 10.3.9)
The results are the same even if the position is set to negative
numbers.
I've noticed this failure in other stacks but wasn't sure if this
was a
result of my code. Now it seems very repeatable, and I believe
other folks
have mentioned window positioning problems as well.
Can anyone else verify this? Is this a coding problem or bug?
Thanks & Regards,
Scott Rossi
Creative Director
Tactile Media, Multimedia & Design
-----
E: [EMAIL PROTECTED]
W: http://www.tactilemedia.com
_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your
subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution
_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution