Richmond,

First of all I never use lockscreens in preopencards. It's redundant unless
there are some conditions I'm unaware of.

I recently had this problem when I used "file==>Import control from==>image
file" and then subsequently set the filename property. It seemed like once
the image control was using an image imported to stack I could never set the
filename property and get anything other than the "horrible gray square". I
don't think it was always this way. What I did to fix it was to delete the
control and then added an empty image control from the IDE tools pallet.
After that I was able to set the filename property and see the images just
fine and dandy. Any chance this is also your problem?

Ralph DiMola
IT Director
Evergreen Information Services
rdim...@evergreeninfo.net

-----Original Message-----
From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf
Of Richmond Mathewson via use-livecode
Sent: Sunday, April 29, 2018 12:26 PM
To: How to use LiveCode
Cc: Richmond Mathewson
Subject: Re: Down a leafy lane or up queer street?

I am being extremely stupid, and am getting so desperate I don't mind
admitting it.

I have a stack containing a series of images that are 'empty' images with
their sources set to an external folder.

Now in my stackScript I have this:

|global route66 on preOpenStack put specialFolderPath("resources") &
"/Desktop/Obfuscated/May 2018/assets/img/" into route66 go to card "TITLE"
end preOpenStack|

and in my cardScript I have this:

|on preOpenCard set the lockScreen to true -------- set the filename of
img "p1" to empty ------- set the filename of img "p1" to (route66 &
"c1.png") set the blendlevel of img "p1" to 0 -------- wait 3 ticks set the
lockScreen to false end preOpenCard so, WHY cannot I see the target image,
merely a horrible grey square? Richmond. |


_______________________________________________
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

Reply via email to