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
-
Glenn Boyce
- Posts: 137
- Joined: Thu Jul 24, 2008 11:22 pm
Post
by Glenn Boyce » Sun Mar 29, 2009 8:40 pm
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]
-
gyroscope
- Livecode Opensource Backer

- Posts: 404
- Joined: Tue Jan 08, 2008 3:44 pm
-
Contact:
Post
by gyroscope » Sun Mar 29, 2009 9:16 pm
Hi Glenn
Would lockLocation in the preOpenCard script help here?

-
Glenn Boyce
- Posts: 137
- Joined: Thu Jul 24, 2008 11:22 pm
Post
by Glenn Boyce » Sun Mar 29, 2009 9:52 pm
Thats done it. Thanks very much. Time you went to bed now!
-
gyroscope
- Livecode Opensource Backer

- Posts: 404
- Joined: Tue Jan 08, 2008 3:44 pm
-
Contact:
Post
by gyroscope » Sun Mar 29, 2009 10:04 pm
Hee! You must know I'm a late-nighter with Rev! (As does my long-suffering wife

)