Message: 6 Date: Sun, 2 Nov 2003 13:47:33 -0500 From: "Russell" <[EMAIL PROTECTED]> Subject: Can cards in a stack be of different sizes To: <[EMAIL PROTECTED]> Message-ID: <[EMAIL PROTECTED]> Content-Type: text/plain; charset="iso-8859-1"

Hello people

Can cards in a stack be of different sizes

What is a substack and how do you use it

Thanks

Russ

Russ,


Not really, but you can effectively make every card in your stack a different size. You might do something like this in the card script:

Card 1

on preOpenStack
--Increase the width and height by 100
  put the rect of this stack into tRect
  add 100 to item 3 of tRect
  add 100 to item 4 of tRect
  set the rect of this stack to tRect
end preOpenStack

Card 2

on preOpenStack
--Decrease the width and height by 100
  put the rect of this stack into tRect
  add -100 to item 3 of tRect
  add -100 to item 4 of tRect
  set the rect of this stack to tRect
end preOpenStack

You can also "set the width of this stack to ..." & "set the height of this stack to..."

But you might want to use the rect of the stack to fix the upper left corner (put the rect of this stack into tRect; set the top of this stack to item 2 of tRect; set the left of this stack to item 1 of tRect)

Create cards of arbitrary size (within the bounds of the stack max and min heights and widths as well as arbitrary location.)

Jim
_______________________________________________
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to