Page 1 of 1

image not resizing

Posted: Sun Mar 29, 2009 8:40 pm
by Glenn Boyce
I have an image which is meant to show in a specific position and size and when I access a card under certain circumstances. For some reason when the card opens the image shows at it"s original size> I've tried putting a script on the card itself but that still doesn't work. I've had the same problem before too.
Code I've used follows:

Code: Select all

lock screen
  
  set the width of image "artwork" to 122
  set the height of image "artwork" to 292
  set the location of image "artwork" to 911,157
  unlock screen
  show image "artwork"
[quote] Any assistance greatly appreciated[/quote]

Posted: Sun Mar 29, 2009 9:16 pm
by gyroscope
Hi Glenn

Would lockLocation in the preOpenCard script help here?

:)

Posted: Sun Mar 29, 2009 9:52 pm
by Glenn Boyce
Thats done it. Thanks very much. Time you went to bed now!

Posted: Sun Mar 29, 2009 10:04 pm
by gyroscope
Hee! You must know I'm a late-nighter with Rev! (As does my long-suffering wife :wink: )